Disk error on creating file - nzb from Episode Butler?

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.
Post Reply
dimzen
Newbie
Newbie
Posts: 7
Joined: April 2nd, 2010, 2:17 am

Disk error on creating file - nzb from Episode Butler?

Post by dimzen »

Hi,

I'm running Sabnzbd & Episode Butler on a Win7 32-bit pc.

Sometimes Episode Butler exports downloads to sabnzbd with the char ":" in them.
then sabnzbd comes with the error for every file:
Disk error on creating file d:\sabnzbd\incomplete\blablabla: blabla 1x01.rar

I'v tryed activing "Replace Illegal Characters in Folder Names" but that doesn't help :(

Something I'v miseed?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Disk error on creating file - nzb from Episode Butler?

Post by shypike »

Obviously this is a bug in Episode Butler.
On Windows, filenames cannot contain colons.
Please report this to the EP author too.
Normally SABnzbd filters out these characters, but EP has found a
way to bypass that check.
Since I don't know which method EP uses to send files to SABnzbd,
it's a bit hard to diagnose.
dimzen
Newbie
Newbie
Posts: 7
Joined: April 2nd, 2010, 2:17 am

Re: Disk error on creating file - nzb from Episode Butler?

Post by dimzen »

Thx, I'll try that :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Disk error on creating file - nzb from Episode Butler?

Post by shypike »

I'll check the API interface anyway, since that's the most likely point of entry.
It cannot be the "watched folder", since you cannot create disk files with colons in the name.
Janoz
Newbie
Newbie
Posts: 19
Joined: May 7th, 2009, 10:09 am

Re: Disk error on creating file - nzb from Episode Butler?

Post by Janoz »

For newzbin I only send the reportId using the API. All naming info is taken from newzbin by sabnzbd itself.

For nzbs.org I use the URL using the API and also supply an nzbname parameter for a nice name (which will contain a : for certain shows).

For NZBMatrix i'm posting the nzbfile data. I couldn't get it to work with the API (possibly because the httpclient implementation I'm using uses a multipart scheme which isn't supported by sabnzbd) so I used the form on webadmin site itself (addFile instead of api). The file sent to sabnzbd contains a nice filename which may contain a :.



Some extra info. During my mail conversation with dimzen he told me he was using nzbs.org, so its probably the URL in combination with the extra nzbname parameter which is causing the problem.
Last edited by Janoz on August 26th, 2010, 2:15 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Disk error on creating file - nzb from Episode Butler?

Post by shypike »

The nzbname parameter in the API is not checked for illegal characters.
You're not supposed to use these characters.
It would be better if they were filtered by SABnzbd, but currently they're not.
That will be fixed in a later release, so for now, don't send illegal characters.
Sending colon characters isn't useful, since these cannot be stored in filenames anyway
(at least not on Windows).
dimzen
Newbie
Newbie
Posts: 7
Joined: April 2nd, 2010, 2:17 am

Re: Disk error on creating file - nzb from Episode Butler?

Post by dimzen »

Just had another error :(
This one had a "?" in the foldername.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Disk error on creating file - nzb from Episode Butler?

Post by shypike »

Same issue, same solution.
It's fixed in the source archive now.
dimzen
Newbie
Newbie
Posts: 7
Joined: April 2nd, 2010, 2:17 am

Re: Disk error on creating file - nzb from Episode Butler?

Post by dimzen »

shypike wrote: Same issue, same solution.
It's fixed in the source archive now.
Ehmm.. where do I find that? :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Disk error on creating file - nzb from Episode Butler?

Post by shypike »

Post Reply