Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError #28

Open
lol-1-afk opened this issue Apr 28, 2023 · 2 comments
Open

UnicodeDecodeError #28

lol-1-afk opened this issue Apr 28, 2023 · 2 comments

Comments

@lol-1-afk
Copy link

Traceback (most recent call last):
File "C:\main\soft\protobuf\pbtk-master\gui.py", line 462, in run
for name, contents in self.extractor'func':
File "C:\main\soft\protobuf\pbtk-master\extractors\jar_extract.py", line 51, in handle_jar
with JarWrapper(path) as jar:
File "C:\main\soft\protobuf\pbtk-master\utils\java_wrapper.py", line 25, in init
self.handle_file(fname)
File "C:\main\soft\protobuf\pbtk-master\utils\java_wrapper.py", line 46, in handle_file
self.bonus_protos[cls] = jar.read(cls).decode('utf8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x86 in position 5: invalid start byte

APK: com.google.android.gm_2023.04.02.523594694.release_63820521.apk (https://trashbox.ru/files30/1792705/com.google.android.gm_2023.04.02.523594694.release_63820521.apk/)

@rom4ster
Copy link

Im having the same error. Is there any word on this?

@bulutg
Copy link

bulutg commented Aug 8, 2023

Traceback (most recent call last):
File "/home/bulut/pbtk/extractors/./jar_extract.py", line 962, in
extractor_main('jar_extract')
File "/home/bulut/pbtk/extractors/../utils/common.py", line 261, in extractor_main
nb_written, wrote_endpoints = extractor_save(args.output_dir, '', extractor'func')
File "/home/bulut/pbtk/extractors/../utils/common.py", line 217, in extractor_save
for name, contents in outputs:
File "/home/bulut/pbtk/extractors/./jar_extract.py", line 51, in handle_jar
with JarWrapper(path) as jar:
File "/home/bulut/pbtk/extractors/../utils/java_wrapper.py", line 25, in init
self.handle_file(fname)
File "/home/bulut/pbtk/extractors/../utils/java_wrapper.py", line 46, in handle_file
self.bonus_protos[cls] = jar.read(cls).decode('utf8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf7 in position 5: invalid start byte

Same...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants