Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Seeing errors in terminal window that aren't in log #23

Closed
AtariBaby opened this issue Sep 24, 2012 · 3 comments
Closed

Seeing errors in terminal window that aren't in log #23

AtariBaby opened this issue Sep 24, 2012 · 3 comments
Assignees
Labels

Comments

@AtariBaby
Copy link

(I should note I'm running this on an Ubuntu server, using Sabnzbd script, and final destination is folder within my dropbox folder)

I'm seeing errors in the Terminal window that aren't in the log file or web interface log:

23-Sep-2012 16:58:35 - INFO :: Thread-15 : Now adding/updating: FF
23-Sep-2012 16:58:42 - INFO :: Thread-15 : Sucessfully retrieved details for FF
23-Sep-2012 16:58:42 - INFO :: Thread-15 : Directory successfully created at: '/home/misterfantastic/Dropbox/Comics/FF (2011)
23-Sep-2012 16:58:43 - INFO :: Thread-15 : Sucessfully retrieved issue details for FF
23-Sep-2012 16:58:43 - INFO :: Thread-15 : Now adding/updating issues forFF
23-Sep-2012 16:58:43 - INFO :: Thread-15 : Checking directory for existing issues.
23-Sep-2012 16:58:46 - INFO :: Thread-15 : Now checking files for FF (2011) in '/home/misterfantastic/Dropbox/Comics/FF (2011)
Exception in thread Thread-15:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/misterfantastic/.mylar/mylar/importer.py", line 268, in addComictoDB
updater.forceRescan(comicid)
File "/home/misterfantastic/.mylar/mylar/updater.py", line 140, in forceRescan
reiss = reissues[n]
IndexError: list index out of range

23-Sep-2012 17:00:03 - INFO :: Thread-16 : Shhh be very quiet...I'm looking for Daredevil issue: 1.00 using nzb.su
linkstart:http://nzb.su/getnzb/e51dbad752d805455738e5616c903ecd
savefile:/home/misterfantastic/.mylar/cache/e51dbad752d805455738e5616c903ecd.nzb
retrieved file
Exception in thread Thread-16:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/misterfantastic/.mylar/mylar/search.py", line 555, in searchforissue
foundNZB = search_init(result['ComicName'], result['Issue_Number'], str(ComicYear), comic['ComicYear'])
File "/home/misterfantastic/.mylar/mylar/search.py", line 81, in search_init
findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr)
File "/home/misterfantastic/.mylar/mylar/search.py", line 410, in NZB_SEARCH
file = urllib2.urlopen(sabqstatusapi);
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

@evilhero
Copy link
Owner

Ok well I just tested adding FF as you did in yours:

2012-09-23 23:45:38     INFO    Finished grabbing what I could.
2012-09-23 23:45:38     INFO    No issues marked as wanted for FF
2012-09-23 23:45:38     INFO    Updating complete for: FF
2012-09-23 23:45:38     INFO    I've found 0 / 22 issues.
2012-09-23 23:45:34     INFO    Now checking files for FF (2011) in /mount/mediavg/Comics/Comics/FF_(2011)
2012-09-23 23:45:30     INFO    Checking directory for existing issues.
2012-09-23 23:45:30     INFO    Now adding/updating issues forFF
2012-09-23 23:45:30     INFO    Sucessfully retrieved issue details for FF
2012-09-23 23:45:29     INFO    Directory successfully created at: /mount/mediavg/Comics/Comics/FF_(2011)
2012-09-23 23:45:29     INFO    Sucessfully retrieved details for FF
2012-09-23 23:45:22     INFO    Now adding/updating: FF

If/when Mylar gives some kind of error - any further action will not complete successfully. So it bombing out on adding FF pretty much kaiboshed the entire thing. Trying to download Daredevil afterwards will give some really weird error - in this case it looks like you have your SAB server listed as 'localhost' or some other name/ip - but without the 'http://' in front. On the plus side, it is finding/download the nzb for you! Maybe confirm your SABnzbd settings in the Configuration.

Unfortunately I can't recall exactly if the latest importer.py is the correct version or not - so I'll test the flavour I have (which would be the newest) and see exactly what's broken / wrong and report back to ya.

@ghost ghost assigned evilhero Sep 24, 2012
@evilhero
Copy link
Owner

latest commit should address these issues.

@evilhero
Copy link
Owner

https should have been set in SAB host filed instead of http, caused errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants