View Single Post
Old 09-05-2008, 11:54 PM   #372
ould
Zealot
ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.ould ought to be getting tired of karma fortunes by now.
 
Posts: 100
Karma: 1000399
Join Date: Sep 2008
Location: Toronto, Ontario
Device: Sony PRS-500
Hi there,

New to the forum. Currently researching e-book readers now that I am taking the bus to/from work. I came across your software as I was looking into the Sony PRS505. anyways I have a bunch of lit files, not sure where they came from originally but I tried to convert one using your lit2lrf utility but it is spitting back on error. I am using the latest version from bzr and do have ConvertLIT installed as well(I think that was mentioned as needed.) Here is the error output:

Code:
Traceback (most recent call last):
  File "/usr/bin/lit2lrf", line 8, in <module>
    load_entry_point('calibre==0.4.84b9', 'console_scripts', 'lit2lrf')()
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lrf/lit/convert_from.py", line 85, in main
    process_file(args[1], options, logger)
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lrf/lit/convert_from.py", line 37, in process_file
    tdir = generate_html(lit, logger)
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lrf/lit/convert_from.py", line 26, in generate_html
    lr = LitReader(pathtolit)
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lit/reader.py", line 449, in __init__
    self._read_drm()
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lit/reader.py", line 647, in _read_drm
    msdes.deskey(self._calculate_deskey(), msdes.DE1)
AttributeError: 'NoneType' object has no attribute 'deskey'
Any ideas? FWIW ConvertLIT was able to explode this to a bunch of html files.

Thanks in advance.

Kevin
ould is offline   Reply With Quote