Page 1 of 1

0.7.17RC2 can no longer rename completed downloads

Posted: February 28th, 2014, 3:42 am
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!

Re: 0.7.17RC2 can no longer rename completed downloads

Posted: February 28th, 2014, 10:01 am
by sander

Re: 0.7.17RC2 can no longer rename completed downloads

Posted: February 28th, 2014, 5:40 pm
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)