Re: Bugs: UnicodeDecodeError: invalid continuation byte
Posted: April 11th, 2016, 2:41 pm
Set the system to UTF-8, restarted the processes, even rebooted the whole system but had still no luck:
Postprocessing still gives the same error:
touch is working as expected:
BTW, thanks for your help and quick replies!
Code: Select all
# locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_ALL=
Code: Select all
2016-04-11 21:32:50,362::INFO::[postproc:520] Traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/sabnzbd/postproc.py", line 354, in process_job
unpack_error, newfiles = unpack_magic(nzo, short_path(workdir), short_complete, flag_delete, one_folder, (), (), (), (), ())
File "/usr/local/lib/python2.7/site-packages/sabnzbd/newsunpack.py", line 270, in unpack_magic
xjoinables, xzips, xrars, xsevens, xts, depth)
File "/usr/local/lib/python2.7/site-packages/sabnzbd/newsunpack.py", line 208, in unpack_magic
xjoinables, xzips, xrars, xsevens, xts = build_filelists(workdir, workdir_complete)
File "/usr/local/lib/python2.7/site-packages/sabnzbd/newsunpack.py", line 1616, in build_filelists
for root, dirs, files in os.walk(workdir_complete):
File "/usr/local/lib/python2.7/os.py", line 286, in walk
if isdir(join(top, name)):
File "/usr/local/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 36: invalid continuation byte
Code: Select all
# touch "⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ "
# ls
⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁