Thread: lrf2html error
View Single Post
Old 01-23-2009, 12:16 AM   #1
wmaurer
Enthusiast
wmaurer doesn't litterwmaurer doesn't litter
 
Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
lrf2html error

Hello

I just installed the Linux binary 0.4.129 for the any2mobi script, but upon reading the man page, it seems that lrf is not supported yet. So I tried running lrf2html, but got the following error:

Code:
$ lrf2html Ulysses.lrf 
Parsing LRF...
Reading metadata...
Traceback (most recent call last):
  File "/tmp/init.py", line 45, in <module>
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/html/convert_to.py", line 118, in main
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/html/convert_to.py", line 109, in process_file
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/html/convert_to.py", line 52, in __init__
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/html/convert_to.py", line 57, in create_metadata
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/meta.py", line 233, in get_metadata
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/meta.py", line 312, in restore_pos
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/meta.py", line 567, in get_cover
  File "/home/kovid/work/calibre/src/calibre/ebooks/lrf/meta.py", line 543, in get_objects_by_type
TypeError: 'dict' object is not callable
Segmentation fault
The directory /home/kovid does not exist on my system.

The LRF file is located here.

Thanks for any help.
Wayne
wmaurer is offline   Reply With Quote