View Single Post
Old 07-16-2009, 02:49 PM   #1
doreenjoy
01000100 01001010
doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.doreenjoy ought to be getting tired of karma fortunes by now.
 
doreenjoy's Avatar
 
Posts: 1,889
Karma: 2400000
Join Date: Mar 2009
Device: Polyamorous
Error when converting RTF to EPUB

I'm trying to convert an RTF to EPUB using Calibre version 0.5.8, and I keep getting an error message. Any ideas? I've opened the file in Notepad -- it's definitely nothing but RTF.
Job: **Convert book: Test**
**tuple**: ('InvalidRtfException', u"'ascii' codec can't decode byte 0x92 in position 51: 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 "calibre\ebooks\epub\from_any.pyo", line 167, in any2epub
File "calibre\ebooks\epub\from_any.pyo", line 86, in rtf2opf
File "calibre\ebooks\lrf\rtf\convert_from.pyo", line 144, in generate_html
File "calibre\ebooks\lrf\rtf\convert_from.pyo", line 134, in generate_xml
File "calibre\ebooks\rtf2xml\ParseRtf.pyo", line 237, in parse_rtf
InvalidRtfException: 'ascii' codec can't decode byte 0x92 in position 51: ordinal not in range(128)Invalid RTF: File not ascii encoded.


**Log**:
Converting RTF to XML...
line: 1 has bad encoding
File "c:\docume~1\admin\locals~1\temp\calibre_0.5.8_g1k dri.rtf" does not appear to be RTF.
('InvalidRtfException', u"'ascii' codec can't decode byte 0x92 in position 51: 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 "calibre\ebooks\epub\from_any.pyo", line 167, in any2epub
File "calibre\ebooks\epub\from_any.pyo", line 86, in rtf2opf
File "calibre\ebooks\lrf\rtf\convert_from.pyo", line 144, in generate_html
File "calibre\ebooks\lrf\rtf\convert_from.pyo", line 134, in generate_xml
File "calibre\ebooks\rtf2xml\ParseRtf.pyo", line 237, in parse_rtf
InvalidRtfException: 'ascii' codec can't decode byte 0x92 in position 51: ordinal not in range(128)Invalid RTF: File not ascii encoded.
doreenjoy is offline   Reply With Quote