pyunpack
pyunpack copied to clipboard
Bug with Chinese character on windows 10
PS E:\Project*\test> & E:/Installed/Python/Python37-32/python.exe e:/Project//test/unzipfile1.py
Traceback (most recent call last):
File "e:/Project/***/test/unzipfile1.py", line 7, in
self.extractall_patool(directory, patool_path)
File "E:\Installed\Python\Python37-32\lib\site-packages\pyunpack_init_.py", line 74, in extractall_patool
raise PatoolError("patool can not unpack\n" + str(p.stderr))
pyunpack.PatoolError: patool can not unpack
********** Oops, I did it again. *************
You have found an internal error in patool. Please write a bug report at https://github.com/wummel/patool/issues/ and include at least the information below:
Not disclosing some of the information below due to privacy reasons is ok. I will try to help you nonetheless, but you have to give me something I can work with ;) .
<class 'UnicodeEncodeError'> 'charmap' codec can't encode characters in position 63-64: character maps to
sys.argv ['E:\Installed\Python\Python37-32\Scripts\patool', '--non-interactive', 'extract', 'E:\Project\**\test\\u8f6f\u4ef6 \u5b89\u6392 \u7f16\u8f91.rar', '--outdir=E:\Project\****\test\module\temp'] LANG = 'en_US.UTF-8'
******** patool internal error, over and out ********