Page 1 of 1

SabNZBd 0.6.8 ignoring folder_max_length?

Posted: October 6th, 2011, 7:26 am
by mailgoe
since i installed the new sabnzbd 0.6.8 version onto my WHS system I get more often error codes when post processing a download. now i think i have found the problem:

sabnzbd error code:
"Unpacking failed, an expected file was not unpacked"

manual unpack with WinRAR; error code:

Code: Select all

!   E:\Usenet\Temp\video2brain - Final Cut Pro X (BRANDNEU AB 28.09.2011) by usenet\video2brain - Final Cut Pro X.part51.rar: Cannot create video2brain - Final Cut Pro X\08 Bonus - Motion 5 - Grundlagen der Animation\08 02 Ein Projekt anlegen\08 02 04 Einen 4-Punkt-Tracker anlegen und analysieren.mp4
    Total path and file name length must not exceed 260 characters
!   Das System kann den angegebenen Pfad nicht finden.
so 2 days before i set the value "folder_max_length" to "64" in the ini file and updated the windows service... but I still get the same error message in sabnzbd.

The folder were sabnzbd tried to unpack my download is named "_FAILED_video2brain - Final Cut Pro X (BRANDNEU AB 28.09.2011) by usenet" and there are still plenty of subfolders. if i count right, already the mainfolder has more then 64 letters. maybe sabnzbd does just ignore the settings in the new version?

today forum member IT34SE has posted the same problem. see: http://forums.sabnzbd.org/viewtopic.php?f=2&t=9036
i don't know if it's the same reason?

best regards
mailgoe

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Posted: October 6th, 2011, 10:34 am
by shypike
folder_max_length is a bit of a deceptive name.
It refers to individual elements of the path!
The total can still be above the maximum.
That's why we recommend 64 as a limit, leaving room for at least 4 path elements.

If we would use an overall size, it would be difficult to determine where to trim.

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Posted: October 6th, 2011, 10:51 am
by mailgoe
Yeah but already the main folder (without the whole path in front and all the subfolders) has already more than 64 letters.

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Posted: October 6th, 2011, 11:16 am
by shypike
If the oversized folder name come from the RAR file, then SABnzbd can do nothing about it.
unrar lacks options to trim paths.
The only option is to set the limit even lower.

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Posted: October 7th, 2011, 12:57 am
by mailgoe
But i have set the max_folder_length to 64 letters. And the unpacked folder from SabNZBd itself is called:
"_FAILED_video2brain - Final Cut Pro X (BRANDNEU AB 28.09.2011) by usenet" <-- 72 letters

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Posted: October 7th, 2011, 2:42 am
by shypike
Yes, the original folder is still 64. the "_FAILED_" part isn't included in this.