completed downloads moved to wrong folder in 19rc2

Support for the Debian/Ubuntu package, created by JCFP.
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
aptalca
Newbie
Newbie
Posts: 8
Joined: January 24th, 2011, 9:12 am

completed downloads moved to wrong folder in 19rc2

Post by aptalca »

I just updated to 19rc2 and realized that the completed downloads are moved to the wrong folder. My target folder is under a hidden folder that starts with a period in the name. It is set correctly in the web interface. But the files are being moved to a folder that has the same path except it is missing the period in the name.

Somehow the moving script is removing the period from the path

It took me a while before I realized where the files were ending up at

My path: /mnt/cache/.apps/sabnzbd/complete
sab moves to path: /mnt/cache/apps/sabnzbd/complete

Notice the period before apps

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: completed downloads moved to wrong folder in 19rc2

Post by shypike »

Is this new to 19RC2?
Could be, I just uncovered another problem with path handling.

How does the path come about (the .app path I mean)?
From Config->Categories or from the Sort function (if you use that)?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: completed downloads moved to wrong folder in 19rc2

Post by shypike »

Never mind, it's not a new issue.
However, it will be solved in the next release.
aptalca
Newbie
Newbie
Posts: 8
Joined: January 24th, 2011, 9:12 am

Re: completed downloads moved to wrong folder in 19rc2

Post by aptalca »

Thanks, just to clarify, the hidden folder was only used for the temporary download and the completed download folders under config/folders

It was a new issue for me on the rc2. I am using jcfp's ubuntu branch and it auto updates. I'm not sure what version I was on before this (maybe rc1?), but it was the last release before this and it did not have this bug

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: completed downloads moved to wrong folder in 19rc2

Post by shypike »

In fact the bug was present all the time in the path-cleanup function.
Only there was yet another bug that prevented the path-cleanup from being run on the final destination path.
RC2 solved the second bug, allowing the first bug to rear its head.
aptalca
Newbie
Newbie
Posts: 8
Joined: January 24th, 2011, 9:12 am

Re: completed downloads moved to wrong folder in 19rc2

Post by aptalca »

Ah. . . Haha I guess I never would have guessed that.

Is that considered two bugs with one stone? lol

Thanks
Post Reply