[BUG] Disk error on creating file - yenc decode

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
FrankSpierings
Newbie
Newbie
Posts: 6
Joined: May 5th, 2009, 2:25 am

[BUG] Disk error on creating file - yenc decode

Post by FrankSpierings »

Symptoms:
- Sabnzbd is paused and stays paused.
- The log shows errors like 'Disk error on creating file <path>/<time>.r00'
- There are only files in the incomplete/<name>/__ADMIN__ dir.
- The nzb contains time with ':' in the file names.

Setup:
Version: 0.6.14
OS: Ubuntu 10.04.3 LTS x64
Install type: http://ppa.launchpad.net/jcfp/ppa/ubuntu
FS: Cifs->EXT4
IPv6: No
Reproducable: Yes --> NZBMatrix --> 'Constantine 2005 720p BluRay DTS x264 HiDt'

I currently have no workaround except for deleting the entry.

Hope someone can help.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by shypike »

It's not the NZB, but the downloaded RAR files that contain colons.
File names containing colons would cause problems on Windows, but not on Linux.
(Actually SABnzbd for Windows has a work-around for this.)

Are you using a Windows-formatted share or external drive as "temporary download folder"?
Not a good idea, because it's vulnerable to cross-platform differences that SABnzbd cannot detect.
It downloads fine on a local Linux disk (ext3).
FrankSpierings
Newbie
Newbie
Posts: 6
Joined: May 5th, 2009, 2:25 am

Re: [BUG] Disk error on creating file - yenc decode

Post by FrankSpierings »

shypike,

Very true, its the rars to blame. I meant to say that the nzb contains the <file></file> entries which contain those 'wrong' filenames.
I'm currently downloading to a cifs share, which has EXT4 underneath. So I guess cifs doesn't like that character either. I might change the share to nfs in that case, but I'm also quite interested in the workaround. Also, what sort of cross-platform differences (fs related) should I know about? (Always good to learn).

Thanks for the quick response.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by shypike »

The work-around is no use to you.
It anticipates the strange way par2 handles the colon when running on Windows.
SABnzbd, par2 and unrar all are unaware that your system
doesn't follow the normal Linux name space.
FrankSpierings
Newbie
Newbie
Posts: 6
Joined: May 5th, 2009, 2:25 am

Re: [BUG] Disk error on creating file - yenc decode

Post by FrankSpierings »

Okay,

I'll try to either convert the incomplete location to iSCSI or NFS.

Thanks.
FrankSpierings
Newbie
Newbie
Posts: 6
Joined: May 5th, 2009, 2:25 am

Re: [BUG] Disk error on creating file - yenc decode

Post by FrankSpierings »

I know its still a bad idea to mount with cifs, but for now I did circumvent the issue by mounting cifs with the option mapchars.

mount -t cifs //server/share /mnt/share -o mapchars,username=....

Might come in handy for others.
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by ugokanain »

Just got a few Disk error on creating file ~/nntp/downloads/Post.DVDRip - 0147 - Post.DVDRip.parts.part01.rar yEnc.cp(ttxxxxx)/Post.DVDRip.parts.part44.rar

The trouble is that I am on a Mac with 0.7.6
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by shypike »

What happens if you retry the job from History?
(Assuming it got so far.)
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by ugokanain »

It doesn't get that far, it pauses on that job. If I start it again, the problem happens again. It happened with another job, and after many resumes, it finishes.

If I do a different post, there is no problem.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by shypike »

Can you try to create a path like in the error message, manually?
Possibly the path is not allowed by OSX, although I see no obvious reason.
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by ugokanain »

For some reason it doesn't like it. Maybe it thinks it is a command (cp)? Too many spaces?

However, Sab did create the enclosing folder.
pico ~/nntp/downloads/Gandhi.1982.DVDRip - 0147 - Gandhi.1982.DVDRip.parts.part01.rar yEnc.cp(tt0083987)/Gandhi.1982.DVDRip.parts.part06.rar
-bash: syntax error near unexpected token `('
PB:~ $ cd ~/nntp/downloads/Gandhi.1982.DVDRip - 0147 - Gandhi.1982.DVDRip.parts.part01.rar yEnc.cp(tt0083987)
-bash: syntax error near unexpected token `('
PB:~ $ cd "~/nntp/downloads/Gandhi.1982.DVDRip - 0147 - Gandhi.1982.DVDRip.parts.part01.rar yEnc.cp(tt0083987)"
PB:Gandhi.1982.DVDRip - 0147 - Gandhi.1982.DVDRip.parts.part01.rar yEnc.cp(tt0083987)
Last edited by ugokanain on November 25th, 2012, 6:26 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by shypike »

You need to put quotes " around the path.
Brackets are special to Terminal.
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: [BUG] Disk error on creating file - yenc decode

Post by ugokanain »

pico "~/nntp/downloads/Gandhi.1982.DVDRip - 0147 - Gandhi.1982.DVDRip.parts.part01.rar yEnc.cp(tt0083987)/Gandhi.1982.DVDRip.parts.part06.rar" works

I tried a simpler named nzb with sab and it seems to work. This name was passed by couchpotato
Post Reply