Page 1 of 1

Error when sending orphaned downloads back to queue

Posted: September 22nd, 2020, 9:15 am
by kacaukacau
I get this error when retrying orphaned downloads

Code: Select all

 [22/Sep/2020:16:10:35] HTTP 
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/usr/local/lib/python3.6/dist-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/app/sabnzbd/sabnzbd/interface.py", line 136, in internal_wrap
    return wrap_func(*args, **kwargs)
  File "/app/sabnzbd/sabnzbd/interface.py", line 2507, in add
    orphan_add(kwargs)
  File "/app/sabnzbd/sabnzbd/interface.py", line 2564, in orphan_add
    NzbQueue.do.repair_job(path, None, None)
  File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 199, in repair_job
    nzo = NzbObject(name, nzbname=name, reuse=repair_folder)
  File "/app/sabnzbd/sabnzbd/nzbstuff.py", line 786, in __init__
    cat, pp, script = self.load_attribs()
  File "/app/sabnzbd/sabnzbd/nzbstuff.py", line 1904, in load_attribs
    if attribs.get(attrib):
AttributeError: 'NoneType' object has no attribute 'get'

Re: Error when sending orphaned downloads back to queue

Posted: September 25th, 2020, 3:38 am
by safihre
Thanks for reporting!
Will fix!