View Single Post
Old 05-04-2009, 04:09 PM   #1
YGG-
Dry fruit
YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.YGG- ought to be getting tired of karma fortunes by now.
 
YGG-'s Avatar
 
Posts: 1,157
Karma: 1047086
Join Date: Dec 2008
Location: Paris, France
Device: Bookeen Opus + HTC Desire HD
Trying to convert rtf=>ePub w/ calibre

Trying to convert a .rtf to ePub I get this error message:
----------------------------------------------------------------------
Job: **Convertir le livre: Les Dieux ont soif**
**tuple**: ('InvalidRtfException', u"'ascii' codec can't decode byte 0xa7 in position 10: ordinal not in range(128)Invalid RTF: File not ascii encoded.\n")
**Traceback**:
Traceback (most recent call last):
File "parallel.py", line 958, in worker
File "parallel.py", line 916, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 167, in any2epub
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 86, in rtf2opf
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\rtf\c onvert_from.py", line 144, in generate_html
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\rtf\c onvert_from.py", line 134, in generate_xml
File "calibre\ebooks\rtf2xml\ParseRtf.pyo", line 237, in parse_rtf
InvalidRtfException: 'ascii' codec can't decode byte 0xa7 in position 10: ordinal not in range(128)Invalid RTF: File not ascii encoded.


**Log**:
Converting RTF to XML...
line: 14 char: 11
'ascii' codec can't decode byte 0xa7 in position 0: ordinal not in range(128)
line: 15 char: 11
'ascii' codec can't decode byte 0xa7 in position 0: ordinal not in range(128)
line: 16 char: 11
'ascii' codec can't decode byte 0xa7 in position 0: ordinal not in range(128)
line: 17 char: 11
'ascii' codec can't decode byte 0xa7 in position 0: ordinal not in range(128)
line: 18 char: 11
'ascii' codec can't decode byte 0xa7 in position 0: ordinal not in range(128)
line: 19 char: 11
'ascii' codec can't decode byte 0xa7 in position 0: ordinal not in range(128)
File "c:\docume~1\yvesgr~1\locals~1\temp\calibre_0.5.10 _97hnv4.rtf" does not appear to be RTF.
('InvalidRtfException', u"'ascii' codec can't decode byte 0xa7 in position 10: ordinal not in range(128)Invalid RTF: File not ascii encoded.\n")
Traceback (most recent call last):
File "parallel.py", line 958, in worker
File "parallel.py", line 916, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 167, in any2epub
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 86, in rtf2opf
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\rtf\c onvert_from.py", line 144, in generate_html
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\rtf\c onvert_from.py", line 134, in generate_xml
File "calibre\ebooks\rtf2xml\ParseRtf.pyo", line 237, in parse_rtf
InvalidRtfException: 'ascii' codec can't decode byte 0xa7 in position 10: ordinal not in range(128)Invalid RTF: File not ascii encoded.
------------------------------------------------------------------
is there sth I should know?
YGG- is offline   Reply With Quote