Error adding new comics through search

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
coconut
Posts: 1
Joined: Wed Feb 21, 2018 3:26 am

Error adding new comics through search

Post by coconut »

Hello, I can't add any comics to mylar, if I put a comic name in the search bar it comes up with an internal server error (error #1, below) although I have noticed that if I go to "this week" I can add a random comic but if I try to delete this comic then it comes up with error #2.
I've got a comicvine api key and I think I installed the program correctly but I'm completely stumped on this error, any help? Thanks in advance

My mylar version is development
-- git build 2d97824c89db0897eba87c3ee05f2363456e9499.
Python Version : 2.7.6
I'm running linux mint 17.3 kernel 3.19.0-32-generic

And the error #1 I get is
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "lib/cherrypy/_cprequest.py", line 645, in respond
response.body = self.handler()
File "lib/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "lib/cherrypy/_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/Mylar/mylar/webserve.py", line 263, in searchit
searchresults = sorted(searchresults, key=itemgetter('comicyear', 'issues'), reverse=True)
TypeError: 'bool' object is not iterable
Powered by CherryPy 3.2.0

Error #2 is
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "lib/cherrypy/_cprequest.py", line 645, in respond
response.body = self.handler()
File "lib/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "lib/cherrypy/_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/Mylar/mylar/webserve.py", line 830, in deleteSeries
helpers.ComicSort(sequence='update')
File "/opt/Mylar/mylar/helpers.py", line 756, in ComicSort
mylar.COMICSORT['LastOrderID'] = mylar.COMICSORT['SortOrder'][placemnt]['ComicID']
IndexError: list index out of range
Powered by CherryPy 3.2.0
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Error adding new comics through search

Post by evilhero »

Mylar only supports python 2.7.9+ (you're using python 2.7.6)

So you'll have to update your python version in order to properly use it, as the problem relates to not being able to query ComicVine properly due to not having the required libraries necessary for python to use.
Post Reply