SabNZBd 0.6.8 ignoring folder_max_length?

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
mailgoe
Newbie
Newbie
Posts: 9
Joined: October 4th, 2010, 11:58 am

SabNZBd 0.6.8 ignoring folder_max_length?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Post 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.
mailgoe
Newbie
Newbie
Posts: 9
Joined: October 4th, 2010, 11:58 am

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Post by mailgoe »

Yeah but already the main folder (without the whole path in front and all the subfolders) has already more than 64 letters.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Post 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.
mailgoe
Newbie
Newbie
Posts: 9
Joined: October 4th, 2010, 11:58 am

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SabNZBd 0.6.8 ignoring folder_max_length?

Post by shypike »

Yes, the original folder is still 64. the "_FAILED_" part isn't included in this.
Post Reply