View Single Post
Old 11-18-2008, 02:19 PM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,809
Karma: 5006091
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's just weird. Delete the metadata.db file and try this command

Code:
calibre-debug -c "from calibre.library.sqlite import DBThread; from calibre.resources import metadata_sqlite; from calibre.utils.config import prefs; t = DBThread(prefs['library_path']+'\\'+'metadata.db', False); t.connect(); t.conn.executescript(metadata_sqlite); t.conn.execute('pragma user_version=1'); t.conn.commit()"
If that works, then try the calibre-debug command in my previous post
kovidgoyal is offline   Reply With Quote