Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2008, 09:36 PM   #1
ould
Connoisseur
ould has a complete set of Star Wars action figures.ould has a complete set of Star Wars action figures.ould has a complete set of Star Wars action figures.ould has a complete set of Star Wars action figures.
 
Posts: 95
Karma: 399
Join Date: Sep 2008
Location: Toronto, Ontario
Device: Sony PRS-500
Calibre 0.4.89 won't start

Hi there,

I just upgraded my install to the latest version. I was previously running a bzr build from around the time of 0.4.83. Calibre attempts to start with the new version, asks for the folder where to store my books. When I select I briefly see the Calibre GUI window pop up but it disappears almost right away.

Console output:

Code:
Traceback (most recent call last):
  File "/usr/bin/calibre", line 8, in <module>
    load_entry_point('calibre==0.4.89', 'gui_scripts', 'calibre')()
  File "/usr/lib/python2.5/site-packages/calibre/gui2/main.py", line 1252, in main
    main = Main(single_instance, opts)
  File "/usr/lib/python2.5/site-packages/calibre/gui2/main.py", line 236, in __init__
    number_of_books = db.migrate_old(self.olddb, pd)
  File "/usr/lib/python2.5/site-packages/calibre/library/database2.py", line 999, in migrate_old
    self.conn.execute('INSERT INTO %s VALUES(%s)'%(table, ','.join(repeat('?', len(row)))), row)
sqlite3.IntegrityError: PRIMARY KEY must be unique
I can see that it doesn't like something about my old DB file. I tried moving the db file somewhere else and re-ran calibre but had a similar error so not sure what to think. This is on Linux btw.

Thanks,

Kevin
ould is offline   Reply With Quote
Old 10-02-2008, 09:46 PM   #2
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Delete the file metadata.db and try again
kovidgoyal is online now   Reply With Quote
Old 10-02-2008, 09:49 PM   #3
ould
Connoisseur
ould has a complete set of Star Wars action figures.ould has a complete set of Star Wars action figures.ould has a complete set of Star Wars action figures.ould has a complete set of Star Wars action figures.
 
Posts: 95
Karma: 399
Join Date: Sep 2008
Location: Toronto, Ontario
Device: Sony PRS-500
That seemed to work but my library has disappeared. Not a huge deal as I only had a few books in it as I don't have a reader yet. But I did have some nice metadata entered in for them. :-(
ould is offline   Reply With Quote
Old 10-02-2008, 10:21 PM   #4
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
delete metadata.db, replace library.db in its original location. Delete global.py in ~/.config/calibre and rerun
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant Start Calibre leont Calibre 1 05-30-2010 02:57 AM
Can't start Calibre Cor Wessels Calibre 1 04-05-2010 08:48 AM
I can't even start Calibre. Please help DrZoidberg Calibre 12 01-20-2010 05:51 AM
Calibre will not start - ever Photonboy Calibre 7 10-24-2009 03:04 AM
Calibre won't start nathancabopino Calibre 14 06-30-2009 12:40 PM


All times are GMT -4. The time now is 06:02 AM.


MobileRead.com is a privately owned, operated and funded community.