Page 1 of 1

RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 23rd, 2010, 8:58 am
by TechDude
Disk error - files deleted

I received the following error:

ERROR:
Disk error on creating file C:\Users\Media\Downloads\nzbIncomplete\[title redacted] 720p HDTV DD5 1 x264 CtrlHD\[title.redacted].720p.HDTV.DD5.1.x264-CtrlHD.vol000+01.par2


It would appear (to me) that the file name is too long, thus causing this error.
sabnzdb downloaded the files, attempted to unrar and move, but encountered an error

The issue here is that sabnzbd deleted the rar file and flagged this as successful in history.
However, the directory it moved to had the folders, but no files.

I attempted the download 3 times with same result.

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 24th, 2010, 12:13 pm
by shypike
In 0.5.0 Final there will be an INI-file only setting called "folder_length_max"
which allows you to set a maximum size for the folder name.
64 should be a safe value.

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 26th, 2010, 8:09 pm
by TechDude
I do not believe it to be the specific folder to be an issue.... but the full path and filename length:

ie:
C:\Users\Media\Downloads\nzbIncomplete\the.tv.series.name.and.episode.number.720p.HDTV.DD5.1.x264.CtrlHD\the.tv.series.name.and.episode.number.720p.HDTV.DD5.1.x264.CtrlHD.720p.HDTV.DD5.1.x264-CtrlHD.vol000+01.par2

I just noticed that the error message truncated the names [title redacted].

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 27th, 2010, 3:36 am
by shypike
The folder size limit helps to reduce the total path size.
There's no proper way to reduce the complete path,
so we offer the option to limit the foldersize.
In most cases this should be enough.

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 27th, 2010, 7:28 am
by TechDude
Great.

Curious... what occurs when the folder size exceeds the limit?

Does the download/move fail and delete (like now)
or does the folder name truncate automatically in order to preserver the data ?

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 27th, 2010, 10:18 am
by shypike
The folder name is truncated when above the specified size.
Name clashes are resolved by adding .1, .2 to the name (like it always has).

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Posted: January 28th, 2010, 3:52 am
by snubz
(wrote about error but might be wrong about it...looking into it.)