0.7.17RC2 can no longer rename completed downloads

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
finalius
Newbie
Newbie
Posts: 25
Joined: October 30th, 2011, 9:33 am

0.7.17RC2 can no longer rename completed downloads

Post by finalius »

Hi all,

since my latest git pull, I get after every download finishes the following error:

Code: Select all

Error renaming "/mnt/md3/Downloads/complete/_UNPACK_foldername" to "/mnt/md3/Downloads/complete/foldername"
The debug log shows the following:

Code: Select all

2014-02-28 09:32:01,442::ERROR::[postproc:403] Error renaming "/mnt/md3/Downloads/complete/_UNPACK_foldername" to "/mnt/md3/Downloads/complete/foldername"
2014-02-28 09:32:01,442::INFO::[postproc:404] Traceback:
Traceback (most recent call last):
  File "/opt/sabnzbd/sabnzbd/postproc.py", line 401, in process_job
    newfiles = rename_and_collapse_folder(tmp_workdir_complete, workdir_complete, newfiles)
  File "/opt/sabnzbd/sabnzbd/postproc.py", line 792, in rename_and_collapse_folder
    renamer(oldpath, newpath)
  File "/opt/sabnzbd/sabnzbd/misc.py", line 1254, in renamer
    os.rename(old, new)
OSError: [Errno 18] Invalid cross-device link
Any help on this?

cheers!
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: 0.7.17RC2 can no longer rename completed downloads

Post by sander »

finalius
Newbie
Newbie
Posts: 25
Joined: October 30th, 2011, 9:33 am

Re: 0.7.17RC2 can no longer rename completed downloads

Post by finalius »

yes, it seems to be the very same problem. I too don't do cross file-system renames as you can see, and for me too, it only appeared a couple of commits ago.

I guess you can close this and track it in the other thread (perhaps give it a more sensible subject, though)
Post Reply