10-02-2008, 08:36 PM | #1 |
Zealot
Posts: 100
Karma: 1000399
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 Thanks, Kevin |
10-02-2008, 08:46 PM | #2 |
creator of calibre
Posts: 44,329
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Delete the file metadata.db and try again
|
Advert | |
|
10-02-2008, 08:49 PM | #3 |
Zealot
Posts: 100
Karma: 1000399
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. :-(
|
10-02-2008, 09:21 PM | #4 |
creator of calibre
Posts: 44,329
Karma: 23661992
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
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cant Start Calibre | leont | Calibre | 1 | 05-30-2010 01:57 AM |
Can't start Calibre | Cor Wessels | Calibre | 1 | 04-05-2010 07:48 AM |
I can't even start Calibre. Please help | DrZoidberg | Calibre | 12 | 01-20-2010 04:51 AM |
Calibre will not start - ever | Photonboy | Calibre | 7 | 10-24-2009 02:04 AM |
Calibre won't start | nathancabopino | Calibre | 14 | 06-30-2009 11:40 AM |