urlgrabber crashed, missing credentials with nzbxxx
Posted: November 30th, 2012, 4:11 am
version 0.7.6, Mac OS X 10.8.2
A couple of issues regarding urlgrabber crashing when trying to download from nzbxxx.
In association to NZBMatrix/NZBxxx, if their API is acting up and my API key isn't working, I get an "error:invalid_login" message but instead of SAB handling it properly, urlgrabber crashes.
2012-11-30 01:44:24,204::DEBUG::[__init__:350] Starting urlgrabber
2012-11-30 01:44:24,204::INFO::[urlgrabber:77] URLGrabber starting up
2012-11-30 01:44:29,205::INFO::[urlgrabber:116] Grabbing URL http://api.nzbxxx.com/v1.1/download.php ... y=[REMOVED]
2012-11-30 01:44:29,597::ERROR::[urlgrabber:227] URLGRABBER CRASHED
Traceback (most recent call last):
File "sabnzbd/urlgrabber.pyc", line 169, in run
File "sabnzbd/urlgrabber.pyc", line 432, in get_matrix_category
TypeError: cannot concatenate 'str' and 'NoneType' objects
This was from an RSS feed where I had the API key included in the RSS URL. I had to reset my key and instead of putting the credentials in the URL, I left them out as they are also included in the Index Sites configuration screen. They should be included in the URL automatically but they are not inserted properly into the fetching URL.
This fails when the URL is manually added...
2012-11-30 01:44:39,994::INFO::[urlgrabber:116] Grabbing URL https://api.nzbxxx.com/v1.1/download.ph ... e=&apikey=
2012-11-30 01:44:41,051::ERROR::[urlgrabber:227] URLGRABBER CRASHED
Traceback (most recent call last):
File "sabnzbd/urlgrabber.pyc", line 169, in run
File "sabnzbd/urlgrabber.pyc", line 432, in get_matrix_category
TypeError: cannot concatenate 'str' and 'NoneType' objects
...or from the RSS without the credentials... I noticed that the __init__ function isn't including the credentials so urlgrabber would obviously fail without them.
2012-11-30 02:03:12,959::INFO::[__init__:492] Fetching http://api.nzbxxx.com/v1.1/download.php ... e=&apikey=
2012-11-30 02:03:12,962::INFO::[urlgrabber:116] Grabbing URL https://api.nzbxxx.com/v1.1/download.ph ... e=&apikey=
2012-11-30 02:03:13,982::ERROR::[urlgrabber:227] URLGRABBER CRASHED
A couple of issues regarding urlgrabber crashing when trying to download from nzbxxx.
In association to NZBMatrix/NZBxxx, if their API is acting up and my API key isn't working, I get an "error:invalid_login" message but instead of SAB handling it properly, urlgrabber crashes.
2012-11-30 01:44:24,204::DEBUG::[__init__:350] Starting urlgrabber
2012-11-30 01:44:24,204::INFO::[urlgrabber:77] URLGrabber starting up
2012-11-30 01:44:29,205::INFO::[urlgrabber:116] Grabbing URL http://api.nzbxxx.com/v1.1/download.php ... y=[REMOVED]
2012-11-30 01:44:29,597::ERROR::[urlgrabber:227] URLGRABBER CRASHED
Traceback (most recent call last):
File "sabnzbd/urlgrabber.pyc", line 169, in run
File "sabnzbd/urlgrabber.pyc", line 432, in get_matrix_category
TypeError: cannot concatenate 'str' and 'NoneType' objects
This was from an RSS feed where I had the API key included in the RSS URL. I had to reset my key and instead of putting the credentials in the URL, I left them out as they are also included in the Index Sites configuration screen. They should be included in the URL automatically but they are not inserted properly into the fetching URL.
This fails when the URL is manually added...
2012-11-30 01:44:39,994::INFO::[urlgrabber:116] Grabbing URL https://api.nzbxxx.com/v1.1/download.ph ... e=&apikey=
2012-11-30 01:44:41,051::ERROR::[urlgrabber:227] URLGRABBER CRASHED
Traceback (most recent call last):
File "sabnzbd/urlgrabber.pyc", line 169, in run
File "sabnzbd/urlgrabber.pyc", line 432, in get_matrix_category
TypeError: cannot concatenate 'str' and 'NoneType' objects
...or from the RSS without the credentials... I noticed that the __init__ function isn't including the credentials so urlgrabber would obviously fail without them.
2012-11-30 02:03:12,959::INFO::[__init__:492] Fetching http://api.nzbxxx.com/v1.1/download.php ... e=&apikey=
2012-11-30 02:03:12,962::INFO::[urlgrabber:116] Grabbing URL https://api.nzbxxx.com/v1.1/download.ph ... e=&apikey=
2012-11-30 02:03:13,982::ERROR::[urlgrabber:227] URLGRABBER CRASHED