500 Internal Server Error - Search

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
rotox
Posts: 13
Joined: Mon Feb 24, 2014 3:07 pm

500 Internal Server Error - Search

Post by rotox »

I get the following error whenever I search for anything:

Code: Select all

500 Internal Server Error

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

Traceback (most recent call last):
  File "/opt/mylar/cherrypy/_cprequest.py", line 645, in respond
    response.body = self.handler()
  File "/opt/mylar/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/opt/mylar/cherrypy/_cpdispatch.py", line 29, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/opt/mylar/mylar/webserve.py", line 196, in searchit
    searchresults = sorted(searchresults, key=itemgetter('comicyear','issues'), reverse=True)
TypeError: 'bool' object is not iterable
I have restarted, as well as shutdown and then started again, although I think that I may have found the problem. The log shows the following:

Code: Select all

2014-04-05 14:44:10	ERROR	There was a major problem retrieving data from ComicVine - on their end. You'll have to try again later most likely.
2014-04-05 14:44:10	ERROR	err : HTTP Error 503: Service Unavailable: Back-end server is at capacity
Is this the problem or do I have a borked installation?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: 500 Internal Server Error - Search

Post by evilhero »

Well I'm assuming at this point it has to do with comicvine getting too many requests and just stopped for a brief period of time.

I just checked myself, and everything still works, so in your case if you still can't get Mylar to pull any search results, try pinging www.comicvine.com and seeing if you can get a response from it.
Post Reply