不相容中文路径
Opened this issue · 0 comments
brlin-tw commented
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)