crash on adding a spesific comic

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
adispi
Posts: 12
Joined: Sun Nov 25, 2018 7:47 am

crash on adding a spesific comic

Post by adispi »

hi.
i am trying to add the amazing spider-man 2018 to mylar (annuals is disabled in my config).
on add i get a crash in the logs, and then the issue count stays as none/? and it keeps trying to add it and giving out the crashes in the log.

log information:
2019-03-07 10:23:55 INFO no errors on data retrieval...proceeding
2019-03-07 10:22:16 ERROR Uncaught exception: Traceback (most recent call last):
File "/volume1/@appstore/mylar/share/mylar/mylar/logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "/var/packages/python/target/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/volume1/@appstore/mylar/share/mylar/mylar/importer.py", line 335, in addComictoDB
updateddata = updateissuedata(comicid, comic['ComicName'], issued, comicIssues, calledfrom, SeriesYear=SeriesYear, latestissueinfo=latestissueinfo)
File "/volume1/@appstore/mylar/share/mylar/mylar/importer.py", line 1147, in updateissuedata
decisval = int(decis)
ValueError: invalid literal for int() with base 10: 'HU'
2019-03-07 10:22:16 INFO Now adding/updating issues for The Amazing Spider-Man
2019-03-07 10:22:16 DEBUG Finished Annual checking.
2019-03-07 10:22:16 INFO Successfully integrated 1 annuals into the series: The Amazing Spider-Man
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - tradeback/collected edition detected - skipping 95808
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - tradeback/collected edition detected - skipping 95808
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - tradeback/collected edition detected - skipping 2189
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - 113685 already exists within current annual list for series.
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - 113685 added to series list as an Annual
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - 112161 found. Assuming it is part of the greater collection.
2019-03-07 10:22:16 DEBUG [IMPORTER-ANNUAL] - there are 4 results.
2019-03-07 10:22:16 DEBUG [RESULT][None] ComicName:Amazing Spider-Man Annual -- 2014 [Series years: [u'2014']]
2019-03-07 10:22:16 DEBUG [RESULT][None] ComicName:Amazing Spider-Man Annual -- 2016 [Series years: [u'2016']]
2019-03-07 10:22:16 DEBUG [RESULT][None] ComicName:The Amazing Spider-Man Annual -- 1964 [Series years: [u'1964', '1965']]
2019-03-07 10:22:16 DEBUG [RESULT][None] ComicName:Amazing Spider-Man Annual -- 2018 [Series years: [u'2018']]
2019-03-07 10:22:16 DEBUG there are 4 search results...
2019-03-07 10:22:12 DEBUG [IMPORTER-ANNUAL] - Annual Year:2018
2019-03-07 10:22:12 DEBUG there are 1 annuals within this series.
2019-03-07 10:22:12 DEBUG querying range from 0 to 100
2019-03-07 10:22:12 DEBUG there are 1 search results...
2019-03-07 10:22:09 DEBUG Attempting to integrate Amazing Spider-Man Annual (113685) to the existing series of The Amazing Spider-Man(2018)
2019-03-07 10:22:09 DEBUG comic[ComicVersion]:None
2019-03-07 10:22:09 DEBUG comic[ComicVersion]:None
2019-03-07 10:22:09 DEBUG vari is set to: no
barbequesauce
Posts: 95
Joined: Fri Feb 03, 2017 3:59 pm

Re: crash on adding a spesific comic

Post by barbequesauce »

Hi - this was fixed in a development commit earlier this week; your post didn’t say what branch or commit you’re on, but I would guess that if you are on development and you update you’ll see the problem go away fairly quickly. If you’re on master, it will take a bit as a few things are still being ironed out prior to the next merge...
adispi
Posts: 12
Joined: Sun Nov 25, 2018 7:47 am

Re: crash on adding a spesific comic

Post by adispi »

Master has updated and i am able to add the amazing spider-man 2018 comic - the last issue is numbered as 16.hu
however, when trying to rename the files, i get a pop up that say an error has accord, and nothing is on the log:

2019-03-13 09:16:08 DEBUG issueid is now : 702453
2019-03-13 09:16:08 DEBUG issueid:702453
2019-03-13 09:16:08 DEBUG issue# as per cv: 16.HU
2019-03-13 09:16:08 DEBUG comicid: 112161
2019-03-13 09:16:08 DEBUG
2019-03-13 09:16:08 DEBUG
2019-03-13 09:16:08 INFO Not renaming The Amazing Spider-Man 16 (2019).cbr as it is in desired format already.
2019-03-13 09:16:08 DEBUG Destination: /volume1/Books/Comics/The Amazing Spider-Man (2018)/The Amazing Spider-Man 16 (2019).cbr
2019-03-13 09:16:08 DEBUG Source: The Amazing Spider-Man 16 (2019).cbr
2019-03-13 09:16:08 DEBUG New Filename: The Amazing Spider-Man 16 (2019).cbr
2019-03-13 09:16:08 DEBUG new format: $Series $Issue ($Year)
2019-03-13 09:16:08 DEBUG not an annual - removing from filename paramaters
2019-03-13 09:16:08 DEBUG Comic Location: /volume1/Books/Comics/The Amazing Spider-Man (2018)
2019-03-13 09:16:08 DEBUG Year: 2018
2019-03-13 09:16:08 DEBUG Series: The Amazing Spider-Man
2019-03-13 09:16:08 DEBUG Publisher: Marvel
2019-03-13 09:16:08 DEBUG Issue Year : 2019
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: crash on adding a spesific comic

Post by evilhero »

Fixed in dev commit 4df0876.

Probably won't be in master for at least a week however (unless something major breaks with master beforehand).
Post Reply