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
|