When downloading Eerie Cuties with the -a option, it fails at http://www.eeriecuties.com/strips-ec/you_like_them_too%EF%BC%9F
The character ?seems to be the problem. This hits a couple other comics I added plugins for. Menage a 3 and Magick Chicks also have this character at one page. (I used Eerie Cuties as a template for creating those two).
This is on windows.
EerieCuties> Skipping existing file "Comics\EerieCuties\ec20110214.png".
C:\Python27\lib\urllib.py:1268: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
return ''.join(map(quoter, s))
********** Oops, I did it again. *************
You have found an internal error in Dosage. Please write a bug report
at https://github.com/wummel/dosage/issues and include at least the information below:
Not disclosing some of the information below due to privacy reasons is ok.
I will try to help you nonetheless, but you have to give me something
I can work with ;) .
<type 'exceptions.KeyError'> u'\xef'
Traceback (most recent call last):
File "C:\Python27\Scripts\dosage", line 258, in main
res = run(options, comics)
File "C:\Python27\Scripts\dosage", line 157, in run
return getComics(options, comics)
File "C:\Python27\Scripts\dosage", line 108, in getComics
errors += getStrips(scraperobj, options)
File "C:\Python27\Scripts\dosage", line 130, in getStrips
for strip in strips:
File "C:\Python27\lib\site-packages\dosagelib\scraper.py", line 92, in getAllStrips
for strip in self.getStripsFor(url, maxstrips):
File "C:\Python27\lib\site-packages\dosagelib\scraper.py", line 101, in getStripsFor
self.prevSearch, session=self.session)
File "C:\Python27\lib\site-packages\dosagelib\util.py", line 125, in fetchUrls
data, baseUrl = getPageContent(url, session=session)
File "C:\Python27\lib\site-packages\dosagelib\util.py", line 90, in getPageContent
check_robotstxt(url)
File "C:\Python27\lib\site-packages\dosagelib\util.py", line 210, in check_robotstxt
if not rp.can_fetch(UserAgent, url):
File "C:\Python27\lib\robotparser.py", line 139, in can_fetch
url = urllib.quote(url)
File "C:\Python27\lib\urllib.py", line 1268, in quote
return ''.join(map(quoter, s))
KeyError: u'\xef'
System info:
Dosage 1.8
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Local time: 2013-01-20 05:53:53+001
sys.argv ['C:\Python27\Scripts\dosage', '-a', 'eeriecuties']
******** Dosage internal error, over and out ********