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

不相容中文路径 #2

Open
brlin-tw opened this issue Apr 7, 2018 · 0 comments
Open

不相容中文路径 #2

brlin-tw opened this issue Apr 7, 2018 · 0 comments

Comments

@brlin-tw
Copy link

brlin-tw commented Apr 7, 2018

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1540, in __call__
    return self.func(*args)
  File "./ui/main.py", line 105, in onClick
    bootimg.unpack(bootfile, output)
  File "/home/buo-ren/工作空間/bootimgpack - unpack or pack boot.img of Android/internal/bootimg.py", line 212, in unpack
    boot_type = tool_kit.parse_boot_img_type(boot_img)
  File "/home/buo-ren/工作空間/bootimgpack - unpack or pack boot.img of Android/internal/bootimg.py", line 84, in parse_boot_img_type
    if Utils.try_unpack(unpack_tool, boot_img):
  File "/home/buo-ren/工作空間/bootimgpack - unpack or pack boot.img of Android/internal/bootimg.py", line 123, in try_unpack
    cmd = "%s %s %s" % (unpack_tool, boot_img, tmp_dir)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 14: ordinal not in range(128)
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

1 participant