View Single Post
Old 09-02-2008, 01:51 PM   #93
astrodad
Guru
astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.
 
astrodad's Avatar
 
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
I'm getting a conversion error converting an RTF to LRF:

'NoneType' object is unsubscriptable
Detailed traceback:
Traceback (most recent call last):
File "main.py", line 941, in convert_single
File "main.py", line 918, in convert_single_others
File "calibre\library\database2.pyo", line 349, in format
File "calibre\library\database2.pyo", line 385, in remove_format
TypeError: 'NoneType' object is unsubscriptable

Also, if I try to simply add the lrf file (that I converted using rtf2lrf), I get the following after selecting the lrf file in the dialog:

[Errno 2] No such file or directory: u'C:\\Documents and Settings\\Admin\\My Documents\\My eBooks\\library\\Agatha Christie\\Partners in Crime (321)\\Partners in Crime - Agatha Christie.lrf'
Detailed traceback:
Traceback (most recent call last):
File "calibre\gui2\dialogs\metadata_single.pyo", line 323, in accept
File "calibre\gui2\dialogs\metadata_single.pyo", line 112, in sync_formats
File "calibre\library\database2.pyo", line 360, in add_format
IOError: [Errno 2] No such file or directory: u'C:\\Documents and Settings\\Admin\\My Documents\\My eBooks\\library\\Agatha Christie\\Partners in Crime (321)\\Partners in Crime - Agatha Christie.lrf'

I am adding a file that's in another folder x:\downloads\PG\Partners in Crime - Agatha Christie.lrf

Last edited by astrodad; 09-02-2008 at 01:54 PM.
astrodad is offline   Reply With Quote