Quote:
Originally Posted by kovidgoyal
It's not the rtf. I think there's a conflict between calibre's version of a library and the one in OS X 10.5. Can someone else with 10.5 try to convert an RTF and report what happens?
|
I converted an .rtf. No error during conversion. However, when I tried to view it, I received the following error.
error: unpack requires a string argument of length 6
Failed to render document
Detailed traceback:
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/gui2/lrf_renderer/main.py", line 32, in run
self.lrf = LRFDocument(self.stream)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/lrfparser.py", line 19, in __init__
LRFMetaFile.__init__(self, stream)
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/meta.py", line 440, in __init__
if self.lrf_header != LRFMetaFile.LRF_HEADER:
File "/Applications/calibre.app/Contents/Resources/lib/python2.5/site-packages.zip/calibre/ebooks/lrf/meta.py", line 64, in __get__
return obj.unpack(start=self._start, fmt="
BOb