09-04-2010, 12:46 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: none
|
upgrade error and now the install is completely broken
I am currently running Calibre v7.14 on Ubuntu v9.10. When I try to upgrade to 7.17, I get the following error:
Code:
$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" Enter the installation directory for calibre [/opt]: /usr/local Will download and install calibre-0.7.17-i686.tar.bz2 Downloading calibre-0.7.17-i686.tar.bz2 100% [================================================================================] Downloaded 36563743 bytes Checking downloaded file integrity... bzip2: Data integrity error when decompressing. Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now Failed to download, retrying in 30 seconds... Will download and install calibre-0.7.17-i686.tar.bz2 Code:
"Bad database location u'media/books/Calibre Library'. Will start with a new, empty calibre library" Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/gui2/main.py", line 205, in initialize_db File "/home/kovid/build/calibre/src/calibre/library/database2.py", line 144, in __init__ File "/home/kovid/build/calibre/src/calibre/library/database2.py", line 302, in initialize_dynamic KeyError: 'grouped_search_terms' Code:
"Bad database location u'/home/tok'. calibre will now quit." Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/gui2/main.py", line 191, in initialize_db_stage2 File "/home/kovid/build/calibre/src/calibre/library/database2.py", line 144, in __init__ File "/home/kovid/build/calibre/src/calibre/library/database2.py", line 302, in initialize_dynamic KeyError: 'grouped_search_terms' What the heck?? I'm pretty sure that I installed 7.14 from the binary install. Any ideas on what I can try to get this working again? Thanks, tok Last edited by tok; 09-04-2010 at 12:52 AM. Reason: adding traceback info |
09-04-2010, 12:51 AM | #2 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you cant download and extract into the old install directory, you have to delete the old directory first.
I would suggest deleting the old directory, then installing the latest version and start calibre as calibre --with-library /path/to/library where path to library points to your library folder or an existing empty folder |
Advert | |
|
09-04-2010, 09:09 PM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: none
|
SOLVED: upgrade error and now the install is completely broken
I moved the old directory contents out of the way before I copied the new bzip files into the directory. I have three directories sitting out there, oldcalibre, newcalibre and calibre. To try out the new installation, I blow away the calibre directory and then copy over newcalibre into calibre.
But at least starting Calibre with --with-library does work for the old installation now, and I actually only had to do that once and now Calibre starts properly without the --with-library. Unfortunately, I still can't get the latest version to work....Aha! I fixed it. Egads, I did something stupid. When I did the manual unzip of the bz2 file, I did it as myself and not as root. So when I sudo copied the directory over to the original installation directory, the files were still owned by me. Duh. Thanks for the quick response, Kovid! --tok |
09-04-2010, 09:10 PM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2010
Device: none
|
Oh and the binary install still doesn't work for me.
|
10-09-2010, 03:15 PM | #5 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: Kindle
|
I'm having a very similar problem but on Windows XP
I am trying to upgrade to the latest version. I uninstall, search through and delete any remaining directories and files with "calibre" in them, and then install the new version. Install goes fine, but when I try to run Calibre for the first time I get a "database is corrupted" message with these details:
Quote:
|
|
Advert | |
|
10-09-2010, 03:18 PM | #6 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
delete the file metadata.db in the library folder, it is corrupted.
|
10-09-2010, 03:19 PM | #7 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
What version are you upgrading from?
|
10-09-2010, 03:33 PM | #8 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: Kindle
|
That did it! Thank you very much for the quick response. I could have sworn I had removed all of the metadata files before, but obviously I missed it.
Keep up the good work on the great program! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 How do I install the prs+ upgrade? | dow | Sony Reader Dev Corner | 14 | 06-15-2013 06:38 PM |
Error on new install 0.6.48 | sjohnson717 | Calibre | 1 | 04-18-2010 12:55 PM |
Calibre Binary Install Upgrade Failed Today | ksburgess | Calibre | 8 | 03-12-2010 07:35 AM |
6.18 install error | weedfreak | Calibre | 1 | 10-17-2009 12:26 PM |
Safe to Install Connect Software Upgrade | LBalsam | Sony Reader | 3 | 02-27-2007 06:54 AM |