API error on adding NZB via API
Posted: September 21st, 2017, 11:06 am
I get these errors when an external API request is made to SABnzbd. This does not happen when manually adding, or when using Sonarr. For some reason I cannot paste the error message here (New users cannot paste links????).
I tried pasting an imgur link to a screenshot of the error but that was not working either. Maybe someone can enlighten me on how I can present the error message, as I cannot see where the links are that is preventing me from posting the error message?
[img]https://imgur.com/a/NrPtt[/img]
SABnzbd version: 2.2.1 running on Ubuntu 16.04
admin edit:
which --- via OCR --- translates to
[code] traceback (most recent call last): File Vusr/share/sabnzbdplus/cherrypy/sprequest.py", line 670, in respond response.body = selthand ler() File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in _call_ seltbody = seltoldhandler(`args,**kwargs) File "/usr/share/sabnzbdplus/cherrypy/spdispatch.py", line 60, in _call_ return seltcallable(`seltargs,**self.kwargs) File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 477, in api return api_handler(kwargs) File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 115, in api_handler response = _apitable.get(mode, (_api_undefined, 2))[0](name, output, kwargs) File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 573, in _api_addurl nzo_ids.append(sabnzbd.add_url(name, pp, script, cat, priority, nzbname)) File "/usr/share/sabnzbdplus/sabnzbd/_init_.py", line 546, in add_url if cat and cat.lower() == 'default': ttributeError: 'list' object has no attribute 'lower'[/code]
I tried pasting an imgur link to a screenshot of the error but that was not working either. Maybe someone can enlighten me on how I can present the error message, as I cannot see where the links are that is preventing me from posting the error message?
[img]https://imgur.com/a/NrPtt[/img]
SABnzbd version: 2.2.1 running on Ubuntu 16.04
admin edit:
which --- via OCR --- translates to
[code] traceback (most recent call last): File Vusr/share/sabnzbdplus/cherrypy/sprequest.py", line 670, in respond response.body = selthand ler() File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in _call_ seltbody = seltoldhandler(`args,**kwargs) File "/usr/share/sabnzbdplus/cherrypy/spdispatch.py", line 60, in _call_ return seltcallable(`seltargs,**self.kwargs) File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 477, in api return api_handler(kwargs) File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 115, in api_handler response = _apitable.get(mode, (_api_undefined, 2))[0](name, output, kwargs) File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 573, in _api_addurl nzo_ids.append(sabnzbd.add_url(name, pp, script, cat, priority, nzbname)) File "/usr/share/sabnzbdplus/sabnzbd/_init_.py", line 546, in add_url if cat and cat.lower() == 'default': ttributeError: 'list' object has no attribute 'lower'[/code]