IOError

Get help with all aspects of 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
beerygaz
Newbie
Newbie
Posts: 1
Joined: November 23rd, 2016, 12:58 am

IOError

Post by beerygaz »

v 1.1.0 in a Docker container

When trying to download a links from an RSS feed I'm presented with the following error:

Code: Select all

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 2227, in download
    sabnzbd.add_url(url, pp, script, cat, prio, nzbname)
  File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 507, in add_url
    future_nzo = NzbQueue.do.generate_future(msg, pp, script, cat, url=url, priority=priority, nzbname=nzbname)
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 32, in newFunction
    return f(*args, **kw)
  File "/usr/share/sabnzbdplus/sabnzbd/nzbqueue.py", line 282, in generate_future
    self.add(future_nzo)
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 32, in newFunction
    return f(*args, **kw)
  File "/usr/share/sabnzbdplus/sabnzbd/nzbqueue.py", line 391, in add
    nzo.nzo_id = sabnzbd.get_new_id('nzo', nzo.workpath, self.__nzo_table)
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 32, in newFunction
    return f(*args, **kw)
  File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 842, in get_new_id
    raise IOError
IOError
The RSS feed imports correctly, all other integrations, downloads and post-processing is working fine. If I grab the NZB file from the link in the RSS feed manually and then manually add it to sabnzbd it downloads the content without issue.

I'd welcome suggestions as to where to start troubleshooting further.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: IOError

Post by sander »

Code: Select all

File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 842, in get_new_id
    raise IOError
IOError

If you Google that, the first hits show it's a (temp) disk problem. So what is your disk setup? Outside or inside your docker container?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: IOError

Post by safihre »

Specifically it seems not to be able to create a temporary folder. Can you check your logs after such an error and see if there are any more Traceback posted there?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply