Advertisement
Guest User

Untitled

a guest
Jan 5th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. ERROR 2 hours ago [05/Jan/2023:06:25:07] HTTP
  2. Traceback (most recent call last):
  3. File "/usr/lib/python3.10/site-packages/cherrypy/_cprequest.py", line 638, in respond
  4. self._do_respond(path_info)
  5. File "/usr/lib/python3.10/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
  6. response.body = self.handler()
  7. File "/usr/lib/python3.10/site-packages/cherrypy/lib/encoding.py", line 223, in __call__
  8. self.body = self.oldhandler(*args, **kwargs)
  9. File "/usr/lib/python3.10/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
  10. return self.callable(*self.args, **self.kwargs)
  11. File "/app/sabnzbd/sabnzbd/interface.py", line 180, in internal_wrap
  12. return wrap_func(*args, **kwargs)
  13. File "/app/sabnzbd/sabnzbd/interface.py", line 456, in api
  14. return api_handler(kwargs)
  15. File "/app/sabnzbd/sabnzbd/api.py", line 104, in api_handler
  16. response = _api_table.get(mode, (_api_undefined, 2))[0](name, kwargs)
  17. File "/app/sabnzbd/sabnzbd/api.py", line 589, in _api_addurl
  18. nzo_id = sabnzbd.urlgrabber.add_url(name, pp, script, cat, priority, nzbname, password)
  19. File "/app/sabnzbd/sabnzbd/urlgrabber.py", line 408, in add_url
  20. future_nzo = sabnzbd.NzbQueue.generate_future(msg, pp, script, cat, url=url, priority=priority, nzbname=nzbname)
  21. File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 269, in generate_future
  22. self.add(future_nzo)
  23. File "/app/sabnzbd/sabnzbd/decorators.py", line 54, in call_func
  24. return func(*params, **kparams)
  25. File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 380, in add
  26. self.sort_queue(field, direction)
  27. File "/app/sabnzbd/sabnzbd/decorators.py", line 54, in call_func
  28. return func(*params, **kparams)
  29. File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 594, in sort_queue
  30. self.__nzo_list.sort(key=sort_function, reverse=reverse)
  31. File "/app/sabnzbd/sabnzbd/nzbqueue.py", line 588, in <lambda>
  32. sort_function = lambda nzo: nzo.remaining / nzo.bytes
  33. ZeroDivisionError: division by zero
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement