Page 1 of 1
Error: path too long! Is there a workaround?
Posted: July 5th, 2013, 10:52 am
by Widofnir
Hello sabnzbd-Team
,
Bug(?) short-info:
sadly I discover regulary a "path too long"-error while using sabnzbd with movie-sorting enabled.
My system:
OS: Windows 7 Ultimate (x64), german
sabnzbd: 0.7.13
Bug(?) report:
I enabled Movie Sorting with this string:
Code: Select all
Sort String: %title (%y)/%dn/%fn
Test data: Ich.-.Einfach.unverbesserlich.2010.German.DL.DTS.1080p.BluRay.x264-iNCEPTiON
Processed Result: Ich - Einfach unverbesserlich (2010)\Ich.-.Einfach.unverbesserlich.2010.German.DL.DTS.1080p.BluRay.x264-iNCEPTiON\Original Filename.avi
My default download-path is not really long, sadly I discover very often the "path too long"-error, while "movie sorting" is active.
For example, my latest error-log look like this:
Code: Select all
ERROR:: path too long ( E:\Downloads\Movies\Ich - Einfach unverbesserlich (2010)\Ich.-.Einfach.unverbesserlich.2010.German.DL.DTS.1080p.BluRay.x264-iNCEPTiON\_UNPACK_Ich.-.Einfach.unverbesserlich.2010.German.DL.DTS.1080p.BluRay.x264-iNCEPTiON/Ich.-.Einfach.unverbesserlich.2010.German.DL.DTS.1080p.BluRay.x264-iNCEPTiON.mkv)
The curious thing is: the path (imho) gets only too long, because sabnzbd creates additionally a "_UNPACK_%TITLE%"-folder. Shouldn't it be better, when sabnzbd extracts the files in a temp-folder and after that it moves the files to the complete-folder? Or just use as folder-name "tmp" instead of "_UNPACK_%TITLE%"?
Many thanks for any help
.
Kind regards,
Widofnir
Re: Error: path too long! Is there a workaround?
Posted: July 6th, 2013, 4:27 am
by shypike
You can disable folder renaming in Config->Switches.
You can trim paths in Config->Special->folder_max_length
Set it to something like 50, so that no individual path element can be above 50.
The next major release will solve this issue for the most part.
Re: Error: path too long! Is there a workaround?
Posted: July 6th, 2013, 4:56 am
by Widofnir
shypike wrote:The next major release will solve this issue for the most part.
Ah ok, thanks!
Re: Error: path too long! Is there a workaround?
Posted: October 9th, 2013, 3:46 am
by Hurda
I ran into this problem today.
I haven't seen the warning regarding the overlong path until after the NZB was already downloading, and I got the "Disk error on creating file"-error.
I know that I can work around this before adding or starting a NZB, but what is the way to fix this when I already started the NZB?
Is deleting and readding the nzb-file after changing folder_max_length the only solution?
Re: Error: path too long! Is there a workaround?
Posted: October 14th, 2013, 1:21 pm
by shypike
Hurda wrote:
Is deleting and readding the nzb-file after changing folder_max_length the only solution?
Sorry: yes, because SABnzbd hasn't been able to save the files.
Re: Error: path too long! Is there a workaround?
Posted: February 13th, 2014, 5:33 am
by darksupernova
shypike wrote:You can trim paths in Config->Special->folder_max_length
Set it to something like 50, so that no individual path element can be above 50.
Hi, I have followed your advice and changed it to 50 but I'm still getting the error on multiple downloads. The downloads go to 'E:\unsorted movies', so the base filename is quite short - is there anything else I can try?
Code: Select all
ERROR:: path too long ( E:\unsorted movies\The.Movie.2013\_UNPACK_The.Movie.2013.EXTENDED.1080p.BluRay.x264.cp(t\The.Movie.2013.EXTENDED.1080p.BluRay.x264.SPARKS\The.Movie.2013.EXTENDED.1080p.BluRay.x264.SPARKS/Subs\the.movie.2013.extended.1080p.bluray.x264-sparks.subs.r00)
Re: Error: path too long! Is there a workaround?
Posted: February 13th, 2014, 5:54 am
by shypike
Go below 50, like 32.
The limit is just for individual path elements.
Re: Error: path too long! Is there a workaround?
Posted: February 13th, 2014, 6:00 am
by darksupernova
Thanks for the quick reply! I'll give it a shot
Re: Error: path too long! Is there a workaround?
Posted: February 23rd, 2014, 8:39 am
by oaz1
Hi,
i have the same problem like you all. If i short the download name i have multiple problems in pre / after processing.
- The password will be cuted away (very important)
- The CP-Identifier will be cuted away (not that important)
A fix what will work for both is, if a download is finished it'll be stored in a temp folder and unrar will extract not in the temp folder, it will be extract to a new child folder which have also a very long name.
Hope we find a solution!
Re: Error: path too long! Is there a workaround?
Posted: February 24th, 2014, 3:29 am
by shypike
oaz1 wrote:Hi,
- The password will be cuted away (very important)
Solved in the next release.
Re: Error: path too long! Is there a workaround?
Posted: February 25th, 2014, 12:59 pm
by oaz1
shypike wrote:oaz1 wrote:Hi,
- The password will be cuted away (very important)
Solved in the next release.
Release date yet?
Re: Error: path too long! Is there a workaround?
Posted: March 7th, 2014, 5:35 am
by ahillebrandt
Waiting for it every day :-)!
Tried 17RC1, but didn't help.
RC2 is not available for windows atm...
It's nearly unsuable this way :-/!
Pleeeeaaase release! :-)
Re: Error: path too long! Is there a workaround?
Posted: March 7th, 2014, 7:45 am
by shypike
This weekend.
Re: Error: path too long! Is there a workaround?
Posted: March 7th, 2014, 8:09 am
by ahillebrandt
yeahhhh... herooo! :-D
Re: Error: path too long! Is there a workaround?
Posted: April 4th, 2020, 9:56 am
by sander
I'm locking this old topic (2014); it keeps attracting spammers, and AFAIK it's not relevant anymore.