sabnzbd / sabnzbd

SABnzbd - The automated Usenet download tool
http://sabnzbd.org
Other
2.33k stars 340 forks source link

py3 unpacking not working... #1224

Closed OutOfGears closed 5 years ago

OutOfGears commented 5 years ago

2019-01-21 14:36:28,313::ERROR::[newsunpack:534] Error "startswith first arg must be bytes or a tuple of bytes, not str" while running rar_unpack on removed.720p.HEVC.x265-MeGusta

OutOfGears commented 5 years ago

I can confirm setting Popen(encodig="utf-8") fixed alot of the bytes not str issues how ever it might break something further down the line

Safihre commented 5 years ago

It took me a day of tinkering, but now both Direct Unpack, regular Unrar and Par2 seem to work. Even managed to test some unicode-downloads.

For future reference: