0.7.0 reporting disk error when path is too long (Windows)

Report & discuss bugs found in 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
Ludwig
Newbie
Newbie
Posts: 17
Joined: July 25th, 2011, 10:07 am

0.7.0 reporting disk error when path is too long (Windows)

Post by Ludwig »

On Windows 7 (don't know about other Windows versions and OSes), when the path is too long, SABnzbd 0.7.0 (and previous versions) is reporting a disk error and stops the whole download queue when instead it should report a "path too long" error for hat specific download and continue with the rest of the queue.

My temporary download folder is something like "d:\temporary downloads". A download's path in that directory is automatically named after the newsgroup posting and reads something like "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" (modified for privacy purposes; the length of the path is the only interesting thing here). And of course the uploader deemed it necessary to name his files similarly exhaustively.

That's "d:\temporary downloads\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.rar" as the file name. 272 characters.

Of course any action done on a path > 256 characters will fail. But it is not a disk error that requires stopping all downloads, it's a limitation in Windows and a screwup on the uploader's side for one single download. So please change the error message to something that reflects the actual error, point out the folder_max_length setting and let SABnzbd continue on other downloads.
Post Reply