View Single Post
Old 09-04-2010, 12:46 AM   #1
tok
Junior Member
tok began at the beginning.
 
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
I've also tried the install by downloading the bzip file manually, extracting it and copying it into the old calibre installation directory, but then I get the error message:
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'
But even that doesn't work when I select a new, empty location I get this error message:

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'
The worst of it is when I copy the old calibre directory back, I still get the above "bad database location" errors, so my old install of Calibre no longer works!

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
tok is offline   Reply With Quote