2.3.3 RC1 unable to clean up UNPACK remote dir
Posted: April 11th, 2018, 10:29 am
Version 2.3.3RC1
Destination is a CIFS mount on a Windows box, SAb is linux.
SAB able to download and move, and unpack. Error occurs when it is trying to clean up the UNPACK dir it makes.
Logs:
2018-03-24 00:22:02,414::ERROR::[postproc:447] Error renaming "/mnt/kaylee/Marvels Agents of S H I E L D/_UNPACK_Marvels.Agents.of.S.H.I.E.L.D.S05E14.720p.HDTV.x264-AVS-Obfuscated" to "/mnt/kaylee/Marvels Agents of S H I E L D/Marvels.Agents.of.S.H.I.E.L.D.S05E14.720p.HDTV.x264-AVS-Obfuscated"
2018-03-24 00:22:02,415::INFO::[postproc:448] Traceback:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 445, in process_job
newfiles = rename_and_collapse_folder(tmp_workdir_complete, workdir_complete, newfiles)
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 953, in rename_and_collapse_folder
renamer(oldpath, newpath)
File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 36, in call_func
return f(*args, **kw)
File "/usr/share/sabnzbdplus/sabnzbd/misc.py", line 1137, in renamer
shutil.move(old, new)
File "/usr/lib/python2.7/shutil.py", line 300, in move
rmtree(src)
File "/usr/lib/python2.7/shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 254, in rmtree
os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/mnt/kaylee/Marvels Agents of S H I E L D/_UNPACK_Marvels.Agents.of.S.H.I.E.L.D.S05E14.720p.HDTV.x264-AVS-Obfuscated'
Destination is a CIFS mount on a Windows box, SAb is linux.
SAB able to download and move, and unpack. Error occurs when it is trying to clean up the UNPACK dir it makes.
Logs:
2018-03-24 00:22:02,414::ERROR::[postproc:447] Error renaming "/mnt/kaylee/Marvels Agents of S H I E L D/_UNPACK_Marvels.Agents.of.S.H.I.E.L.D.S05E14.720p.HDTV.x264-AVS-Obfuscated" to "/mnt/kaylee/Marvels Agents of S H I E L D/Marvels.Agents.of.S.H.I.E.L.D.S05E14.720p.HDTV.x264-AVS-Obfuscated"
2018-03-24 00:22:02,415::INFO::[postproc:448] Traceback:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 445, in process_job
newfiles = rename_and_collapse_folder(tmp_workdir_complete, workdir_complete, newfiles)
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 953, in rename_and_collapse_folder
renamer(oldpath, newpath)
File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 36, in call_func
return f(*args, **kw)
File "/usr/share/sabnzbdplus/sabnzbd/misc.py", line 1137, in renamer
shutil.move(old, new)
File "/usr/lib/python2.7/shutil.py", line 300, in move
rmtree(src)
File "/usr/lib/python2.7/shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 254, in rmtree
os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/mnt/kaylee/Marvels Agents of S H I E L D/_UNPACK_Marvels.Agents.of.S.H.I.E.L.D.S05E14.720p.HDTV.x264-AVS-Obfuscated'