12-21-2008, 07:52 PM | #1 |
zeldinha zippy zeldissima
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
"ascii' codec can't encode character" bug ?
i just tried to send a file to device and got this error message :
Code:
'ascii' codec can't encode character u'\xe7' in position 17: ordinal not in range(128) Detailed traceback: Traceback (most recent call last): File "main.py", line 812, in sync_to_main_memory File "main.py", line 883, in sync_to_device File "c:\Python26\lib\site-packages\py2exe\boot_common.py", line 67, in write UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 17: ordinal not in range(128) Code:
current_index Detailed traceback: Traceback (most recent call last): File "C:\Program Files\calibre\library.zip\calibre\gui2\viewer\main.py", line 240, in File "calibre\gui2\viewer\documentview.pyo", line 454, in next_page File "C:\Program Files\calibre\library.zip\calibre\gui2\viewer\main.py", line 542, in next_document AttributeError: current_index |
12-21-2008, 08:09 PM | #2 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Some unicode related issue with the file. Where's it from?
|
12-21-2008, 08:12 PM | #3 |
zeldinha zippy zeldissima
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
it's from a dictionary that i'm trying to convert from a mobi file... but i've just discovered another problem (the xhtml flow is too long) so i'm going to start over, i'll let you know if i still get the error on the new version.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Character conversion: "—" --> "—" | Ivo | Sigil | 21 | 07-08-2010 04:38 PM |
Bug? "Insert metadata as page at start of book" doesnt encode Comments field properly | rollercoaster | Calibre | 2 | 04-24-2010 10:40 PM |
Character "i" dropped in translation from PDF | bob301 | Calibre | 2 | 12-30-2009 12:35 PM |
[2.0] "em dash" character not displayed | superanima | Bookeen | 4 | 12-27-2009 07:06 AM |