Hello,
I have just installed Mylar and it looks pretty cool, I do however have an issue when searching I get the following error and looking for some help please:-
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "C:\Mylar\mylar-master\lib\cherrypy\_cprequest.py", line 670, in respond
response.body = self.handler()
File "C:\Mylar\mylar-master\lib\cherrypy\lib\encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\Mylar\mylar-master\lib\cherrypy\_cpdispatch.py", line 61, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\Mylar\mylar-master\mylar\webserve.py", line 288, in searchit
searchresults = sorted(searchresults, key=itemgetter('comicyear', 'issues'), reverse=True)
TypeError: 'NoneType' object is not iterable
Powered by CherryPy 3.6.0
Python version 2.7.14
Running on a Windows machine
Please let me know if you need further information and thank you for your help.
New Install Search Issue
- evilhero
- Site Admin
- Posts: 2887
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: New Install Search Issue
Without seeing the log leading up to the error it's kinda difficult to guess, so unless you can post that my best guess given the traceback error is : do you have a valid comicvine api key specified within Mylar?
-
- Posts: 4
- Joined: Sat Apr 21, 2018 2:31 pm
Re: New Install Search Issue
Hi,
I do not have a comic vine api key, this may be the issue. I will get one and test again.
Thank you for your help
-
- Posts: 4
- Joined: Sat Apr 21, 2018 2:31 pm
Re: New Install Search Issue
Yeah that did the trick, thank you again
When adding a new comic I am getting the below in the logs’’:-
2018-04-22 13:32:30 WARNING Comic ID: 18166 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:47 WARNING Comic ID: 97985 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:47 WARNING Comic ID: 18166 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:31 WARNING Comic ID: 97985 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:31 WARNING Comic ID: 18166 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:20 ERROR Uncaught exception: Traceback (most recent call last):
File "C:\Mylar\mylar-master\mylar\logger.py", line 330, in new_run
old_run(*args, **kwargs)
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Mylar\mylar-master\mylar\importer.py", line 231, in addComictoDB
comlocation = os.path.join(mylar.CONFIG.DESTINATION_DIR, helpers.replace_all(chunk_folder_format, values))
File "C:\Python27\lib\ntpath.py", line 65, in join
result_drive, result_path = splitdrive(path)
File "C:\Python27\lib\ntpath.py", line 115, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()
2018-04-22 13:31:20 INFO Previous version detected as None - seeing if update required
2018-04-22 13:31:20 INFO Sucessfully retrieved details for The Walking Dead
2018-04-22 13:31:20 INFO Now adding/updating: The Walking Dead
When adding a new comic I am getting the below in the logs’’:-
2018-04-22 13:32:30 WARNING Comic ID: 18166 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:47 WARNING Comic ID: 97985 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:47 WARNING Comic ID: 18166 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:31 WARNING Comic ID: 97985 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:31 WARNING Comic ID: 18166 has not finished loading. Nulling some values so things display properly until they can populate.
2018-04-22 13:31:20 ERROR Uncaught exception: Traceback (most recent call last):
File "C:\Mylar\mylar-master\mylar\logger.py", line 330, in new_run
old_run(*args, **kwargs)
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Mylar\mylar-master\mylar\importer.py", line 231, in addComictoDB
comlocation = os.path.join(mylar.CONFIG.DESTINATION_DIR, helpers.replace_all(chunk_folder_format, values))
File "C:\Python27\lib\ntpath.py", line 65, in join
result_drive, result_path = splitdrive(path)
File "C:\Python27\lib\ntpath.py", line 115, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()
2018-04-22 13:31:20 INFO Previous version detected as None - seeing if update required
2018-04-22 13:31:20 INFO Sucessfully retrieved details for The Walking Dead
2018-04-22 13:31:20 INFO Now adding/updating: The Walking Dead
- evilhero
- Site Admin
- Posts: 2887
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: New Install Search Issue
You need to specify a Comic Location so Mylar knows where to create / move / monitor files. This is located under the 2nd tab in the configuration GUI (this is mentioned in the readme on github).
-
- Posts: 4
- Joined: Sat Apr 21, 2018 2:31 pm