0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
evster666
Newbie
Newbie
Posts: 12
Joined: March 26th, 2013, 1:56 pm

0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Post by evster666 »

Hi sabnzbd'ler

just what the topic says...

some sys specs:
xubuntu 13.x, tmux inside xfce terminal, 4gb ram

language config:

Code: Select all

LANG=de_DE.UTF-8
LANGUAGE=de_DE:en
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
command called:

sudo service sabnzbdplus stop
sabnzbdplus --repair-all

breaks with nzbqueue.py and encoding.py if you got a file with an "umlaut" for example "ä" "ö" or "ü".
fix would be defining utf8 or unicode and escape the title and path strings (i.e. using urlencode)

fastfix for noncoders:
sudo service sabnzbdplus stop
remove all folders with weird chars from ~/.sabnzbd/incomplete or ~/.sabnzbd/incoming
sabnzbdplus --repair-all
ctrl+c
sudo service sabnzbdplus start
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: 0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Post by sander »

Can you describe what happens?

I can't reproduce any problem with a NZB "Sehet ungekürzt":

Code: Select all

sander@flappie:~/Downloads$ ll incomplete/
total 32
drwxrwxr-x  3 sander sander  4096 nov 30 17:20 ./
drwxr-xr-x 21 sander sander 20480 nov 30 17:19 ../
drwxrwxr-x  3 sander sander  4096 nov 30 17:20 Sehet ungekürzt/
sander@flappie:~/Downloads$ 
sander@flappie:~/Downloads$ sabnzbdplus --repair-all
... has no problems.
evster666
Newbie
Newbie
Posts: 12
Joined: March 26th, 2013, 1:56 pm

Re: 0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Post by evster666 »

what ive got as an error:

Image
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: 0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Post by sander »

As said, I can't reproducte it with "Sehet ungekürzt" (see binsearch).

My locale:

Code: Select all

$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=nl_NL.UTF-8
LC_TIME=nl_NL.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=nl_NL.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_TELEPHONE=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_ALL=
evster666
Newbie
Newbie
Posts: 12
Joined: March 26th, 2013, 1:56 pm

Re: 0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Post by evster666 »

well, maybe one of the devs has an idea whats been happening there.

i did the repair for a reason, the queue broke (after a crash of the system (power supply problems) and the fail of the autoremount of the partition holding the queue).
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: 0.7.3 - 0.7.16 + python2.7 + --repair-all unicode broken

Post by sander »

If you can reproduce the problem, maybe you can try SAB 0.8.x pre-alpha. I believe 0.8.x has a lot of Unicode improvements.

See https://forums.sabnzbd.org/viewtopic.php?f=11&t=13857
Post Reply