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

Report & discuss bugs found in SABnzbd
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
hasu0bs
Newbie
Newbie
Posts: 9
Joined: September 9th, 2017, 8:03 am

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

Post by hasu0bs » October 10th, 2017, 9:09 am

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?
Last edited by hasu0bs on October 11th, 2017, 6:44 am, edited 1 time in total.

User avatar
safihre
Administrator
Administrator
Posts: 2480
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

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

Post by safihre » October 10th, 2017, 9:25 am

I will fix this for the next release.

User avatar
safihre
Administrator
Administrator
Posts: 2480
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

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

Post by safihre » October 10th, 2017, 9:28 am

Actually, could you send me the whole log at [email protected]? Just to make sure my assumptions are correct.

hasu0bs
Newbie
Newbie
Posts: 9
Joined: September 9th, 2017, 8:03 am

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

Post by hasu0bs » October 11th, 2017, 4:00 am

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

User avatar
safihre
Administrator
Administrator
Posts: 2480
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

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

Post by safihre » October 11th, 2017, 4:55 am

They would have failed anyway, this happens after the job is already found to be missing and doesn't stop the processing.

hasu0bs
Newbie
Newbie
Posts: 9
Joined: September 9th, 2017, 8:03 am

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

Post by hasu0bs » October 11th, 2017, 5:28 am

Thanks again for fixing this so fast!

Post Reply