Still problems with special chars

Get help with all aspects of 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.
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Still problems with special chars

Post by weisswurst »

Hi!

I like using sabnzbd very much. But from time to time I have problems with special chars. I get following messages:

19:19:58,283 ERROR [assembler] Disk error on creating file /media/F/TEMP/temp/Das Böse

The problematic character is ö in this case... Dec 246 in Latin I Ascii.

I don't know if this problem is seen on windows too, but I am using Ubuntu 8.10.

Is there a setting which I can change that makes all run smoothly?

Thx
Bye
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

Linux systems are quite unpredictable.
Some use UTF-8 file systems and are usually OK, but some use 8bit ASCII.
One issue is that the file name encoding in the yEnc protocol does not specify
which codepage the poster used. So changes are that it doesn't match your codepage.

Can you email the NZB file to [email protected] ?
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

Just mailed it to bugs@subnzbd
thx again ;)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

Downloads fine on my Ubuntu system, but I have set the file system to UTF-8.
What are your LC_ALL and LC_CTYPE settings?
In a shell type:

Code: Select all

echo $LC_ALL
echo $LC_CTYPE
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

I have no output.
$LC_ALL and $LC_CTYPE are not set to any value.

Running "locale" in shell gives me this output:

Code: Select all

desktop:~$ locale
LANG=de_DE.UTF-8
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=

Last edited by weisswurst on April 8th, 2009, 12:19 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

Weird.
I'll run my test again with your locale settings.
The odd thing is that it looks like the file name in the yEnc records is in UTF-8,
which is very unusual.
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

My settings are as far as I know the default settings for the german ubuntu distribution.
I can not remember that I have changed anything in locale ever.
So I suppose, that every user which uses ubuntu in the 8.10 version and sabnzbd in 0.4.8 has this problem.
I will ask a friend with a similar setup if he would test the nzb for us too.

Thx for your work!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

weisswurst wrote: So I suppose, that every user which uses ubuntu in the 8.10 version and sabnzbd in 0.4.8 has this problem.
Mine has not!
But then I don't run a German one.
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

Aehm yes, forgot the word german in my sentence  ;D
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

My friend runs a german 9.04 Beta, has the same locale settings and has the same problem :(
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

Could you implement function with which one can override some characters by any character.
So that ä ö ü would be replaced by - or + oder a or something else...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

That will only make matters worse.
The par2 repair process expects the correct file names.

Which file system are you using? (I use ext3).

When I set my system to your locale settings, it still downloads the job properly.

What I do not understand is the error message
19:19:58,283 ERROR [assembler] Disk error on creating file /media/F/TEMP/temp/Das Böse
Is this literally the error message? Where is the "Vlad" part?
Which folder do you use as "Temporary Download Folder"?
I'm beginning to suspect that the problem is in the NZB filename and not in the content.
I downloaded after renaming the NZB file.
Now that I look closer I see that the NZB filename starts with a space character!
What happens if you remove the leading space and download again?

I assume you have no problems with other downloads?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

Can you ZIP the NZB on Ubuntu first before you email it again to me?

Attaching it without zipping to an email will distort the filename,
so that I cannot reproduce your situation exactly.
weisswurst
Newbie
Newbie
Posts: 10
Joined: April 7th, 2009, 12:33 pm

Re: Still problems with special chars

Post by weisswurst »

I have no leading spaces in the nzb filename.
Correct errors are:

Code: Select all

2009-04-08 21:17:18,684 ERROR [assembler] Disk error on creating file /media/F/TEMP/temp/_Vlad - Das Bse stirbt nie XViD/Vlad - Das Böse stirbt nie XViD.vol000+01.par2
2009-04-08 21:17:19,103 ERROR [assembler] Disk error on creating file /media/F/TEMP/temp/_Vlad - Das Bse stirbt nie XViD/Vlad - Das Böse stirbt nie XViD.par2
2009-04-08 21:17:20,840 ERROR [assembler] Disk error on creating file /media/F/TEMP/temp/_Vlad - Das Bse stirbt nie XViD/Vlad - Das Böse stirbt nie XViD.nzb
I use ext3 as you do. My friend uses ext4.
Will send you the file zipped in a few seconds.
Btw. tried to rename the nzb without the evil character. Doesn't do anything good...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Still problems with special chars

Post by shypike »

weisswurst, I give up.

I just installed Ubuntu 8.10 in German in VMware.
It has just happily downloaded the Vlad job, no issues whatsoever!

Final message:

Code: Select all

Par verify finished ok on /home/user/downloads/incomplete/_Vlad - Das B�se stirbt nie XViD/Vlad - Das Böse stirbt nie XViD.vol000+01.par2
As you see the folder name is slightly different from yours, I used your ZIP file.
Shouldn't make a difference, because it didn't help when you used another NZB name.

I have absolutely no idea what can be wrong,
but I am starting to suspect your specific system setup.
What kind of drive and filesystem is /media/F/TEMP/ etc. ?
Is it an attached USB-drive and/or a FAT volume?
Post Reply