Page 1 of 1
Disk error on creating file - path too long?
Posted: November 12th, 2011, 3:00 am
by teconlalavu
SABNZBD always pauses this download, even if I click resume multiple times. Now I know why:
Disk error on creating file E:\Downloads\incomplete\usenet\oO _Die.Reise.zum.Mittelpunkt.der.Erde.2.2008.German.DL.1080p.BluRay.x264-WOMBAT__www.realmom.info__.nfo_ Oo. [002_100] 8,68 GB.1\Die.Reise.zum.Mittelpunkt.der.Erde.2.2008.German.DL.1080p.BluRay.x264-WOMBAT__www.realmom.info__.r02
Seems like path length is too long, that's what I think. Is there some way too easily fix this?
edit. ok just found the folder max size variable in the ini file. I hope that's the correct way to solve the problem
Re: Disk error on creating file - path too long?
Posted: November 12th, 2011, 5:36 am
by shypike
We're working on a better solution.
Re: Disk error on creating file - path too long?
Posted: November 17th, 2011, 9:36 am
by ThaDraGun
Same thing keeps happening to me. Sabnzbd keeps pausing it, yet if I unpause it will download a bit then pause again. Eventually if I sit here long enough it will get fully downloaded but I dont want to do that.
Disk error on creating file C:\Users\Marcel & Julia\Documents\downloads\incomplete\Dinosaur Train S01E02 The Call of the Wild Corythosaurus; Triceratops for Lunch 1080i HDTV DD5 1 MPEG2 TrollHD\Dinosaur Train S01E02 The Call of the Wild Corythosaurus; Triceratops for Lunch 1080i HDTV DD5.1 MPEG2-TrollHD.part07.rar[/quote]
Did you end up fixing this? Im not sure what ini file your talking about.
Re: Disk error on creating file - path too long?
Posted: November 17th, 2011, 10:01 am
by sander
FWIW: I can think of a few workarounds:
Point the download directories to something closer to C:\, so "C:\downloads\" instead of "C:\Users\Marcel & Julia\Documents\downloads\"
Create a shorter name for the NZB filename itself, and then put it into the SABnzbd queue: "DinTrain S0102" instead of the extremely long name you showed
HTH
Re: Disk error on creating file - path too long?
Posted: March 19th, 2012, 9:10 am
by sander
Has anybody tried a symbolic link for this Windows problem? A "mklink" seems to be the command. See
http://en.wikipedia.org/wiki/NTFS_symbolic_link#Syntax
I don't use Windows, so I can't try myself.
Re: Disk error on creating file - path too long?
Posted: November 11th, 2012, 8:51 am
by ExecTech24
I dont think its the folder tree or how deep from the root directory the folder is that causes this problem.. I think it's the # of characters of the folder that is trying to be created that SAB has an issue with. Mine kept pausing a download that happened to be a long album name + the uploaders tag and other junk. I paused that download and it began to grab the others without any problems and still is able to copy data to and from the same directory.
The OP mentioned something about the folder max size variable in the ini. I'm leery of screwing with the guts of sab but I'll give it a look.
Re: Disk error on creating file - path too long?
Posted: November 11th, 2012, 9:49 am
by shypike
Setting a max folder length is harmless. Try a size like 64.
The "trick" is to keep the total size under 255.
(Until the time we convert SABnzbd to a proper Unicode app
and then implement the rather curious way Windows does support long paths.)
Re: Disk error on creating file - path too long?
Posted: January 18th, 2013, 11:16 am
by jt25741
Seems the default in 0.7.9 is 128, and can be set in the config/special area now without going to the .ini. I bumped it to 200 and it seems to have fixed the problem on my XP instance. Since this is much higher than 64 as recommended, I hope there are not any negative consequences of this.
Re: Disk error on creating file - path too long?
Posted: January 18th, 2013, 12:30 pm
by jt25741
jt25741 wrote:Seems the default in 0.7.9 is 128, and can be set in the config/special area now without going to the .ini. I bumped it to 200 and it seems to have fixed the problem on my XP instance. Since this is much higher than 64 as recommended, I hope there are not any negative consequences of this.
I spoke too soon...it still fails even at 200. Not sure if this parameter helps this problem. Any other ideas? Is it safe to say that this problem wouldn't happen on Linux?
Re: Disk error on creating file - path too long?
Posted: January 18th, 2013, 1:07 pm
by shypike
The limit is for Individual path elements, often there are 4 or 5.
The total size still needs to be less than 254.
Setting the limt to 200 will help nothing.
Try 40.
Re: Disk error on creating file - path too long?
Posted: January 18th, 2013, 1:46 pm
by jt25741
shypike wrote:The limit is for Individual path elements, often there are 4 or 5.
The total size still needs to be less than 254.
Setting the limt to 200 will help nothing.
Try 40.
Thanks, will do.