New computer errors

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

New computer errors

Post by dardack »

First I run mylar and get:
E:\>e:\python27\python e:\git\mylar\mylar.py -q
PR_NUM::1
Exception in thread Thread-12:
Traceback (most recent call last):
File "e:\python27\lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "e:\python27\lib\threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "e:\git\mylar\mylar\weeklypull.py", line 168, in pullit
pullitcheck()
File "e:\git\mylar\mylar\weeklypull.py", line 603, in pullitcheck
statusupdate = updater.upcoming_update(ComicID=ComicID, ComicName=ComicName,
IssueNumber=ComicIssue, IssueDate=ComicDate, forcecheck=forcecheck)
File "e:\git\mylar\mylar\updater.py", line 188, in upcoming_update
else: mylar.importer.addComictoDB(ComicID,mismatch,pullupd)
File "e:\git\mylar\mylar\importer.py", line 76, in addComictoDB
comic = cv.getComic(comicid,'comic')
File "e:\git\mylar\mylar\cv.py", line 96, in getComic
dom = pulldetails(comicid,'comic',None,1)
File "e:\git\mylar\mylar\cv.py", line 50, in pulldetails
file = urllib2.urlopen(PULLURL)
File "e:\python27\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "e:\python27\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "e:\python27\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "e:\python27\lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "e:\python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "e:\python27\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found


Then if i search for a comic in the web browser i get:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "e:\git\mylar\cherrypy\_cprequest.py", line 645, in respond
response.body = self.handler()
File "e:\git\mylar\cherrypy\lib\encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "e:\git\mylar\cherrypy\_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "e:\git\mylar\mylar\webserve.py", line 171, in searchit
searchresults = sorted(searchresults, key=itemgetter('comicyear','issues'), reverse=True)
TypeError: 'bool' object is not iterable
Powered by CherryPy 3.2.0
User avatar
evilhero
Site Admin
Posts: 2887
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: New computer errors

Post by evilhero »

Well it could be a number of things unfortunately, and seeing as how I've never encountered any of the ones you've posted it makes it a bit more harder to figure out what the exact problem is.

So I'll ask a few questions to see how things are set up and we can go from there.

- Are you running the Master or Development build of Mylar ?

- You probably shouldn't run Mylar with the command line that you're running. try changing into the mylar directory and then doing either a 'python Mylar.py' or 'e:\python27\python Mylar.py'

The reason is that when you issue the command from somewhere outside of the root directory you're in (in this case E:\) I believe python looks for the modules to be adjacent from that directory (meaning it's looking for all the modules in E:\ and that's not where they are located). Especially for the config.ini and mylar.db files which if you've never run Mylar and are running the command you did, it would look for those files in the E:\.

If you need to run it that way then specify the --datadir and the --config options (so e:\python27\python Mylar.py --datadir e:\git\mylar --config e:\git\mylar\config.ini' (I wouldn't use the -q option if you're running into problems, run it with no options aside from the --datadir and --config if needed so that you can see the full logging errors go to the console).

Check the mylar.log file located in the /logs directory. It will hold alot of debugging information which should help

From looking at the messages which are cascading errors, it all would stem from it not being able to find the datadir and config.ini files since you're not running Mylar from that directory directly when issuing the startup.
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

Re: New computer errors

Post by dardack »

OK um I swore i posted this already.

I use opendns for my kids on my router. Someone had marked comicvine a couple weeks ago as nudity. I put in for a review, but also white listed it. Seems to have fixed the problem.
Post Reply