View Single Post
Old 12-13-2012, 07:11 AM   #41
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 570
Karma: 1257831
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
Code:
Traceback (most recent call last):
File "penelope-Unicode.py", line 1231, in <module>
main()
File "penelope-Unicode.py", line 1197, in main
write_to_Odyssey_format(config, parsed_data, debug)
File "penelope-Unicode.py", line 188, in write_to_Odyssey_format
sql_cursor.execute('delete from T_DictIndex ')
sqlite3.DatabaseError: database disk image is malformed
Assuming empty.idx is a valid sqlite file (not a download of the HTML page from Google Code with the listing of that file), this looks like a problem of the sqlite lib for python on windows. I will try to have a look at it on a virtualized Windows machine, during the Christmas break.
AlPe is offline   Reply With Quote