Error when trying to import...got float

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
nobrumski
Posts: 26
Joined: Sun Jul 12, 2015 4:58 am

Error when trying to import...got float

Post by nobrumski »

I am getting the following error when I tried to import Aquaman (2011) and Aspen Showcase (2008). I was able to add the comic and then manually post process the folders afterwords and they added fine.

source build 6a17c53ded8c87f0d86e4add0f2e5e155ec5041b.

15-Apr-2016 16:44:26 - ERROR :: Thread-27 : Uncaught exception: Traceback (most recent call last):
File "C:\Mylar\mylar-development\mylar\logger.py", line 158, 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-development\mylar\webserve.py", line 3280, in preSearchit
for i in range(maxyear, int(yearTOP),1):
TypeError: range() integer start argument expected, got float.

Traceback (most recent call last):
File "C:\Mylar\mylar-development\mylar\logger.py", line 158, 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-development\mylar\webserve.py", line 3280, in preSearchit
for i in range(maxyear, int(yearTOP),1):
TypeError: range() integer start argument expected, got float.
User avatar
evilhero
Site Admin
Posts: 2887
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Error when trying to import...got float

Post by evilhero »

I'm guessing one of the series you were trying to import didn't have a year in the filename(s) - I would have to see the naming convention of a file for each of the series you were trying to import to figure out what was happening.
nobrumski
Posts: 26
Joined: Sun Jul 12, 2015 4:58 am

Re: Error when trying to import...got float

Post by nobrumski »

They had a year.

Aquaman 002 (2011).cbr

I will keep an eye on it and see if any other series pop up that I can narrow down the cause.
Post Reply