Page 1 of 1

[SOLVED]Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed

Posted: October 10th, 2017, 9:09 am
by hasu0bs
Hi,

on some (not all) downloads I am getting these errors lately:

Code: Select all

2017-10-10 14:56:47,133::INFO::[postproc:519] Cleaning up %%%% (keep_basic=True)
2017-10-10 14:56:47,135::DEBUG::[__init__:877] Saving data for __renames__ in /data/Incomplete/%%%%/__ADMIN__
2017-10-10 14:56:47,336::ERROR::[__init__:897] Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed
2017-10-10 14:56:47,337::INFO::[__init__:898] Traceback: 
Traceback (most recent call last):
  File "/opt/sabnzbd/sabnzbd/__init__.py", line 883, in save_data
    with open(path, 'wb') as data_file:
IOError: [Errno 2] No such file or directory: u'/data/Incomplete/%%%%/__ADMIN__/__renames__'
2017-10-10 14:56:47,339::DEBUG::[tvsort:210] Found TV Show (%%%%)
I checked the permissions and everything in the directories belongs to the user that is running sabnzbd. What else could it be?

Re: Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed

Posted: October 10th, 2017, 9:25 am
by safihre
I will fix this for the next release.

Re: Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed

Posted: October 10th, 2017, 9:28 am
by safihre
Actually, could you send me the whole log at [email protected]? Just to make sure my assumptions are correct.

Re: Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed

Posted: October 11th, 2017, 4:00 am
by hasu0bs
Log Sent. There is only one incident in it though cause of the log rotation.
All downloads that have this error fail. Is it a real problem or only a thing of too much logging and they would have failed anyway? I saw your fix in the repo thats why I ask :P

Re: Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed

Posted: October 11th, 2017, 4:55 am
by safihre
They would have failed anyway, this happens after the job is already found to be missing and doesn't stop the processing.

Re: Saving /data/Incomplete/%%%%/__ADMIN__/__renames__ failed

Posted: October 11th, 2017, 5:28 am
by hasu0bs
Thanks again for fixing this so fast!