suryakencana007 / comic-vine-scraper

Automatically exported from code.google.com/p/comic-vine-scraper
0 stars 0 forks source link

Error Log cannot write Unicode chars beyong 00FF (Latin 1 Supplement) #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DESCRIBE THE PROBLEM:

When an error occurs and you try to save the error log to a file, the save will 
fail (and the log file will be blank!) if the error log text contains any 
Unicode code points (characters) higher than 00FF.

From here:

http://comicrack.cyolito.com/forum/32-news-and-announcements/11493-re-comic-vine
-scraper-1033?limit=10&start=40#11623

If you have console output when this bug occurs, the relevant output is:

Caught UnicodeEncodeError: ('unknown', '\x00', 0, 1, '')
Traceback (most recent call last):
  File "C:\Documents and Settings\BlackCrystal™\Datos de programa\cYo\ComicRack\Scripts\Comic Vine Scraper\log.py", line 181, in handle_error
  File "C:\Documents and Settings\BlackCrystal™\Datos de programa\cYo\ComicRack\Scripts\Comic Vine Scraper\log.py", line 127, in dump
  File "C:\Documents and Settings\BlackCrystal™\Datos de programa\cYo\ComicRack\Scripts\Comic Vine Scraper\log.py", line 344, in dump

WHAT VERSION OF COMICVINESCRAPER ARE YOU USING?

PLEASE PROVIDE ANY ADDITIONAL INFORMATION THAT MAY BE OF USE

Original issue reported on code.google.com by cban...@gmail.com on 9 Jan 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Fixed in 1.0.35

Original comment by cban...@gmail.com on 12 Jan 2011 at 1:26