seeing the following error when queue item is failing to get nzb state.
Code: Select all
URLGRABBER CRASHED
Traceback (most recent call last):
..
ZeroDivisionError: division by zero
Code: Select all
URLGRABBER CRASHED
Traceback (most recent call last):
..
ZeroDivisionError: division by zero
Code: Select all
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 594, in sort_queue
self.__nzo_list.sort(key=sort_function, reverse=reverse)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 588, in <lambda>
sort_function = lambda nzo: nzo.remaining / nzo.bytes
ZeroDivisionError: division by zero
Code: Select all
URLGRABBER CRASHED
Traceback (most recent call last):
File "/app/sabnzbd/sabnzbd/urlgrabber.py", line 245, in run
res, _ = sabnzbd.nzbparser.add_nzbfile(
File "/app/sabnzbd/sabnzbd/nzbparser.py", line 127, in add_nzbfile
return process_single_nzb(
File "/app/sabnzbd/sabnzbd/nzbparser.py", line 350, in process_single_nzb
nzo_ids.append(sabnzbd.NzbQueue.add(nzo, quiet=bool(reuse)))
File "/app/sabnzbd/sabnzbd/decorators.py", line 54, in call_func
return func(*params, **kparams)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 380, in add
self.sort_queue(field, direction)
File "/app/sabnzbd/sabnzbd/decorators.py", line 54, in call_func
return func(*params, **kparams)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 594, in sort_queue
self.__nzo_list.sort(key=sort_function, reverse=reverse)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 588, in <lambda>
sort_function = lambda nzo: nzo.remaining / nzo.bytes
ZeroDivisionError: division by zero
Code: Select all
ERROR 2 hours ago [05/Jan/2023:06:25:07] HTTP
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/cherrypy/_cprequest.py", line 638, in respond
self._do_respond(path_info)
File "/usr/lib/python3.10/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
response.body = self.handler()
File "/usr/lib/python3.10/site-packages/cherrypy/lib/encoding.py", line 223, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/app/sabnzbd/sabnzbd/interface.py", line 180, in internal_wrap
return wrap_func(*args, **kwargs)
File "/app/sabnzbd/sabnzbd/interface.py", line 456, in api
return api_handler(kwargs)
File "/app/sabnzbd/sabnzbd/api.py", line 104, in api_handler
response = _api_table.get(mode, (_api_undefined, 2))[0](name, kwargs)
File "/app/sabnzbd/sabnzbd/api.py", line 589, in _api_addurl
nzo_id = sabnzbd.urlgrabber.add_url(name, pp, script, cat, priority, nzbname, password)
File "/app/sabnzbd/sabnzbd/urlgrabber.py", line 408, in add_url
future_nzo = sabnzbd.NzbQueue.generate_future(msg, pp, script, cat, url=url, priority=priority, nzbname=nzbname)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 269, in generate_future
self.add(future_nzo)
File "/app/sabnzbd/sabnzbd/decorators.py", line 54, in call_func
return func(*params, **kparams)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 380, in add
self.sort_queue(field, direction)
File "/app/sabnzbd/sabnzbd/decorators.py", line 54, in call_func
return func(*params, **kparams)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 594, in sort_queue
self.__nzo_list.sort(key=sort_function, reverse=reverse)
File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 588, in <lambda>
sort_function = lambda nzo: nzo.remaining / nzo.bytes
ZeroDivisionError: division by zero