07-28-2008, 08:32 AM | #1 |
Cave Dweller
Posts: 220
Karma: 1986
Join Date: Oct 2006
Device: Ipad Sony reader prs-505 prs-900
|
Conversion issue with zip of Warbreaker
Went to convert Warbreaker and received the following error message:
('UnknownFormatError', u'Could not find ebook in archive'): Failed to perform job: Convert book:Warbreaker Detailed traceback: Traceback (most recent call last): File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 755, in worker result = work(client_socket, func, args, kwdargs) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 724, in work res = func(*args, **kargs) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 167, in main return process_file(src, options, logger) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 113, in process_file raise UnknownFormatError('Could not find ebook in archive') UnknownFormatError: Could not find ebook in archive |
07-28-2008, 08:36 AM | #2 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
I don't think Calibre supports conversion of .doc files. Save it as RTF or HTML and try again.
|
Advert | |
|
07-28-2008, 08:38 AM | #3 |
Cave Dweller
Posts: 220
Karma: 1986
Join Date: Oct 2006
Device: Ipad Sony reader prs-505 prs-900
|
I extracted the .doc file and saved as rtf. Received the following error:
('RtfInvalidCodeException', u'no map found\nmap is "ansicpg10000"\n'): Failed to perform job: Convert book:Warbreaker Detailed traceback: Traceback (most recent call last): File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 755, in worker result = work(client_socket, func, args, kwdargs) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/parallel.py", line 724, in work res = func(*args, **kargs) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 167, in main return process_file(src, options, logger) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 137, in process_file convertor(path, options, logger) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/rtf/convert_from.py", line 75, in process_file html = generate_html2(rtf, logger) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/rtf/convert_from.py", line 168, in generate_html2 xml = generate_xml(rtfpath) File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/rtf/convert_from.py", line 159, in generate_xml parser.parse_rtf() File "calibre/ebooks/rtf2xml/ParseRtf.pyo", line 322, in parse_rtf File "calibre/ebooks/rtf2xml/hex_2_utf8.pyo", line 556, in convert_hex_2_utf8 File "calibre/ebooks/rtf2xml/hex_2_utf8.pyo", line 154, in __initiate_values File "calibre/ebooks/rtf2xml/get_char_map.pyo", line 67, in get_char_map RtfInvalidCodeException: no map found map is "ansicpg10000" Log: [INFO] convert_from.py:167: Converting RTF to XML... Using Mac Leopard 10.5 |
07-28-2008, 12:20 PM | #4 |
creator of calibre
Posts: 44,548
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
rtf2lrf doesn't support RTF files that use non ascii characters. Save it to html in word instead.
|
07-28-2008, 03:15 PM | #5 |
Fanatic
Posts: 589
Karma: 1451235
Join Date: Jun 2008
Device: Sony PRS-505, Sony PRS-950
|
Weird, I had no problem saving the .doc as .rtf and converting using calibre.
|
Advert | |
|
07-28-2008, 05:38 PM | #6 |
creator of calibre
Posts: 44,548
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It depends on the generated RTF file. The original idea behind RTF was to represent special characters (this includes formatting/control as well as on english) using ansi escape sequences. But RTF also supports codepages (i.e. non ascii characters encoded in some code). Unfortunately rtf2lrf does not.
|
07-28-2008, 07:25 PM | #7 |
Cave Dweller
Posts: 220
Karma: 1986
Join Date: Oct 2006
Device: Ipad Sony reader prs-505 prs-900
|
Thanks, will do so. It works.
Mitch Last edited by Mitchll; 07-28-2008 at 07:38 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple html (zip) conversion no longer works | Katelyn | Calibre | 4 | 08-07-2009 12:52 PM |
Multiple html issue - too many links and zip isn't created in calibre | Katelyn | Calibre | 1 | 03-10-2009 02:31 PM |
Character conversion issue | Auron | Calibre | 1 | 03-05-2009 01:27 PM |
ePub conversion issue | phunkysai | Calibre | 17 | 01-07-2009 04:39 PM |
Conversion error/issue | stustaff | Calibre | 8 | 10-15-2008 10:42 AM |