Open GoogleCodeExporter opened 9 years ago
[deleted comment]
[deleted comment]
[deleted comment]
Also having problems with the script. Running 2.0.6 of the script, on 10.7.4.
It looks like 10.7.4 cripples Python, or something equally untenable.
Additionally, It seemed to work fine until last week. First noticed it on
Wednesday (6/13), and thought that something had changed at Comicvine, but I
think it's a python/10.7.4 issue.
I've tried updating my Python with 3.2.3 available from python.org, but that
doesn't seem to have resolved the issue.
Here are two separate errors I get. The first was before updating to 3.2.3, the
second is with 3.2.3 installed.
Processing :Conan the Barbarian 005.cbz
No comment in zip file.
After fixing spaces, title is: Conan the Barbarian 005
Querying the ComicVine for the Issue based on the filename...
^[[ATraceback (most recent call last):
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 1128, in <module>
main()
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 982, in main
processDir(dir)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 967, in processDir
processFile(dir, filename, thisSeriesId)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 788, in processFile
issueId, seriesId, thisSeries, thisIssue = searchByFileName(filename)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 429, in searchByFileName
cvSearchResults = json.load(urllib.urlopen(cvSearchURL))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 84, in urlopen
return opener.open(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 356, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 369, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 663, in http_error_301
return self.http_error_302(url, fp, errcode, errmsg, headers, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 632, in http_error_302
data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 659, in redirect_internal
return self.open(newurl)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 349, in open_http
'got a bad status line', None)
IOError: ('http protocol error', 0, 'got a bad status line', None)
Now with 3.2.3 installed...
Processing :Conan the Barbarian 005.cbz
No comment in zip file.
After fixing spaces, title is: Conan the Barbarian 005
Querying the ComicVine for the Issue based on the filename...
Processing /Users/cwaldrip/Documents/Comics/ Convert to CBZ/Conan the Barbarian
005.cbz:
No series name found. Enter the series name: Conan the Barbarian
Querying ComicVine for the Series...
Traceback (most recent call last):
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 1128, in <module>
main()
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 982, in main
processDir(dir)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 967, in processDir
processFile(dir, filename, thisSeriesId)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 793, in processFile
thisSeries, seriesId = getSeries(comicBookInfo, dir, filename)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 601, in getSeries
seriesResults = searchForSeries(thisSeries)
File "/Users/cwaldrip/Documents/Comics/ Convert to CBZ/ pyComicMetaThis.py", line 494, in searchForSeries
cvSearchResults = json.load(urllib.urlopen(cvSearchURL))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 84, in urlopen
return opener.open(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 349, in open_http
'got a bad status line', None)
IOError: ('http protocol error', 0, 'got a bad status line', None)
Original comment by cwald...@me.com
on 18 Jun 2012 at 11:42
I'm not sure what the problem is. It looks like ComicVine is having problems
right now according to their forums
http://www.comicvine.com/forums/api-developers/2334/slow-api-server/674747/
I had modified the script to print the query URL and with the Conan the
Barbarian 005 query I get 0 results... if I just search for Conan I get
tons... makes me think they've changed their api so it won't accept spaces in
the query string.
Original comment by andre.me...@gmail.com
on 19 Jun 2012 at 12:46
Comicvine was having issues recently. I got http timeouts, but it all seems to
be working for me now.
Original comment by jimmy.aitken@gmail.com
on 20 Jun 2012 at 12:37
Thanks Jimmie. I can confirm it's working again. It must have been ComicVine
then!
Huzzah!
Original comment by cwald...@me.com
on 21 Jun 2012 at 2:49
Original issue reported on code.google.com by
nick.pos...@gmail.com
on 15 Jun 2012 at 4:42