cbanack / comic-vine-scraper

An add-on script for ComicRack that lets you copy details from Comic Vine into your comic books.
258 stars 48 forks source link

Crash while scraping Hulk Gamma Games #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DESCRIBE THE PROBLEM:
I'm trying to scrape Hulk Gamma Games (note that its a very recent addition
to comicvine db, perphaps only a couple of days old). Somehow it makes the
script crash, and i get the "Do you want to save a log" prompt.

WHAT STEPS WILL REPRODUCE THIS PROBLEM? (Please include the exact name of
the eComic book that you were trying to scrape, if possible.)
1. Select Hulk Gamma Games issue
2. Try to scrape
3. Select right series - at the moment, its showing one series with zero
issues. I believe its that zero issues value thats causing the script to crash.

WHAT VERSION OF COMICVINESCRAPER ARE YOU USING?
.121

PLEASE PROVIDE ANY ADDITIONAL INFORMATION THAT MAY BE OF USE
Here is the log:
"
--------------------------------------------------------------------------------
Comic Vine Scraper, v1.0.21
Cache Directory:    
C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\localCache/
Settings File:      
C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\settings.dat
--------------------------------------------------------------------------------

loaded settings from file:
C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\settings.dat
--------------------------------------------------------------------
[X] Series          [X] Number          [X] Month           
[X] Title           [X] Alt Series      [X] Writer          
[X] Penciller       [X] Inker           [X] Cover Art       
[X] Colorist        [X] Letterer        [X] Editor          
[X] Summary         [X] Notes           [X] Tags            
[X] Imprint         [X] Year            [X] Publisher       
[ ] Volume          [X] Characters      
-------------------------------------------------------------------
[X] Overwrite Existing        [X] Ignore Blanks             
[X] Convert Imprints          [ ] Specify Series            
[X] Cover Thumbs              
-------------------------------------------------------------------

=======> scraping next eComic book: 'Hulk Gamma Games #01 (February, 2004)'
no CVDB tag found in book, beginning search...
querying comicvine for all series that match: 'hulk gamma games'
comicvine provided 1 results for the search
displaying the series selection form...
... chose series 32547 ('Hulk: Gamma Games')
searching for issue in series: 32547 ('Hulk: Gamma Games')
querying comicvine for all available issues...
...got 0 issue IDs from the comicvine database, 0 from the local cache
trying to find issue ID for issue number: 1
displaying the issue selection form...
------------------- PYTHON ERROR ------------------------
Caught ValueError: Specified argument was out of the range of valid values.
Parameter name: rowIndex
Traceback (most recent call last):
  File "C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\ComicVineScraper.py", line 89, in main
  File "C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\ComicVineScraper.py", line 142, in _scrape
  File "C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\ComicVineScraper.py", line 249, in _scrape_book
  File "C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\ComicVineScraper.py", line 557, in _search_for_issue_id
  File "C:\Users\Vyper\AppData\Roaming\cYo\ComicRack\Scripts\Comic Vine
Scraper\issueform.py", line 101, in __init__"

Original issue reported on code.google.com by joaomigu...@gmail.com on 17 Apr 2010 at 8:11

GoogleCodeExporter commented 9 years ago
Thanks for the bug report; you're right about what's causing this issue.

I'll make it handle this situation more gracefully (i.e. less crashing) in 
1.0.22.

Original comment by cban...@gmail.com on 17 Apr 2010 at 9:27

GoogleCodeExporter commented 9 years ago
Fixed for 1.0.22.

There's still no way to actually scrape a series that has zero issues in it, 
but at
least the script doesn't crash now--instead it gives you a brief message 
explaining
why it can't use that series, and lets you continue.

Original comment by cban...@gmail.com on 2 May 2010 at 1:30

GoogleCodeExporter commented 9 years ago
Issue 88 has been merged into this issue.

Original comment by cban...@gmail.com on 2 May 2010 at 1:31