![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2010
Location: Nashville, TN. USA
Device: Sony PRS-505
|
![]()
I have been using Calibre for about a month, and after a reinstall of Ubuntu 9.10 (Karmic Koala) I reinstalled Calibre and now it won't let me add any books at all, I even tried some that I know worked previously and they dont' work.
I get this error message: WARNING: Failed to read metadata: Failed to read metadata from the following: Home Networking Bible, 2nd Edition.pdf Traceback (most recent call last): File "/usr/lib/calibre/calibre/gui2/add.py", line 83, in run title = self.add(id, opf, cover, name) File "/usr/lib/calibre/calibre/gui2/add.py", line 128, in add id = self.db.create_book_entry(mi, cover=cover, add_duplicates=False) File "/usr/lib/calibre/calibre/library/database2.py", line 1371, in create_book_entry (title, series_index, aus)) File "/usr/lib/calibre/calibre/library/sqlite.py", line 170, in run raise DatabaseException(*res) DatabaseException: no such function: uuid4 RemoteTraceback (most recent call last): File "/usr/lib/calibre/calibre/library/sqlite.py", line 141, in run ok, res = True, func(*args, **kwargs) OperationalError: no such function: uuid4 My calibre installed version is 0.6.13. The Calibre website says that 0.6.37 is the latest version, however there are no download links for linux, and my 0.6.13 is the version in the Karmic Koala repositories. I've looked at other similar posts, and this is different in that I always get this error, no matter what. Also, as there are no links to download previous versions (or newer ones) I can't do that... nor can I find an apt line anywhere for a calibre specific repository. Anyone have any ideas/suggestions on how to fix this issue? Last edited by sapereaudo; 02-07-2010 at 12:06 PM. Reason: trying to be more specific |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,154
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You've got two versions of calibre installed on your system and they are interfering. Uninstall any calibre entries from add/remove programs and the delete the directories C:\Program Files\calibre C:\Program Files\calibre2
Then re-install the latest version. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2010
Location: Nashville, TN. USA
Device: Sony PRS-505
|
![]()
Thank you for your help. I didn't expect the creator of calibre himself to respond so swiftly! BTW, awesome program; the several days I had to live without it were chaos!
My solution, though similar to your suggestion was in fact different, so I'll post it in case anyone has similar problems. I think the problem was the Ubuntu package manager, but I'm not certain. I run linux, not windows, so the directories and methods are of course different. I uninstalled it, as you said, and then did a search for files with "calibre" in the name. It showed up (after "complete removal" with synaptic) in several places including /etc/bash_completion.d and /usr/bin as well as the directories that show in the error message in my first post. I ran "sudo nautilus" in terminal and navigated to each file, and deleted it. To be safe I then emptied my trash and restarted. I reinstalled through synaptic. Same problem. Again, I uninstalled exactly as above but reinstalled via the scary little "ubuntu software center" in my application menu. Same problem again. I uninstalled yet again as above, but this time I reinstalled it via the terminal command: sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" that i found at under "unsupported distributions". It asked me where to install it, so I input "/usr" and it installed without a problem. It now works perfectly! It may be important to note that Ubuntu 9.10 (Karmic Koala) will install version 0.6.13 if you use synaptic or the "sudo apt-get install" command, but when I installed using the former shell command mentioned above it installed version 0.6.38 Perhaps Synaptic package manager in Ubuntu is not handling the install right, and obviously the .deb version in their repository is outdated. I'm not a programmer or dev so I don't completely understand, but hopefully this info will help someone. Thanks again for such a great free program! It's really better than the proprietary Sony version (that won't run on linux anyway). |
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
![]()
I'm pretty sure I have this same issue, but I cannot seem to figure it out.
Using latest Ubuntu. Here's what happens after I utilize the install script on the download page... myusername:~$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" Enter the installation directory for calibre [/opt]: Will download and install calibre-0.6.45-i686.tar.bz2 Downloading calibre-0.6.45-i686.tar.bz2 100% [================================================== ================================================== ============================] Checking downloaded file integrity... bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: Broken pipe Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Exiting with failure status due to previous errors Failed to download, retrying in 30 seconds... Will download and install calibre-0.6.45-i686.tar.bz2 Downloading calibre-0.6.45-i686.tar.bz2 100% [================================================== ================================================== ============================] Checking downloaded file integrity... bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: Broken pipe Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Exiting with failure status due to previous errors Failed to download, aborting ???? help! ![]() |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,884
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Same Ubuntu 9.10 i386 32bit using default dir (/opt) |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 488
Join Date: Mar 2010
Location: Tulsa, OK, USA
Device: Kindle 2, Sony PRS 900
|
I managed to completely remove the binary install and reverted to the Ubuntu repository version thru synaptic.
I had to delete my metadata file to get anything to work, which means I have to reimport everything, but at least it's going again. |
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,884
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() The failure left my original 6.44 intact. |
|
![]() |
![]() |
![]() |
#8 |
Hierodule
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 170
Karma: 629686
Join Date: Mar 2010
Device: Kobo Glo, calibre, Android, FBReader
|
Problems upgrading calibre in Ubuntu Karmic
Yet another user having the same problem while trying to upgrade. I have verified the problem using two different Internet providers.
I suspect it's a simple case of a corrupt archive (calibre-0.6.45-i686.tar.bz2). Maybe we should start a new thread about this problem, because it seems this one is not getting any attention. *** rwhe@holiday:~:503> sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" Enter the installation directory for calibre [/opt]: Will download and install calibre-0.6.45-i686.tar.bz2 Downloading calibre-0.6.45-i686.tar.bz2 100% [================================================== ===============================] Checking downloaded file integrity... tar: Record size = 16 blocks bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: Broken pipe Input file = (stdin), output file = (stdout) tar: Child returned status 1 tar: Exiting with failure status due to previous errors Failed to download, retrying in 30 seconds... ^CTraceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 221, in main File "<string>", line 191, in download_and_extract KeyboardInterrupt rwhe@holiday:~:504> sudo apt-get remove calibre Reading package lists... Done Building dependency tree Reading state information... Done Package calibre is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. rwhe@holiday:~:505> |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,154
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@rwhe: Do you by any chance have a 64bit machine?
|
![]() |
![]() |
![]() |
#10 | |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
I'm running 32-bit Karmic Koala, and I'm having all the same problems. 0.6.13 won't add books:
Quote:
![]() I hope you can solve this soon... But sleep is important too |
|
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,884
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
here http://sourceforge.net/projects/calibre/files/ That way worked for me. |
|
![]() |
![]() |
![]() |
Tags |
bug, calibre, error, import, pdf |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
import books from ipod to Calibre | LightHouse Lady | Calibre | 2 | 08-29-2010 03:46 PM |
Can't import into Calibre 6.26 | Winter57 | Calibre | 8 | 12-05-2009 02:05 PM |
??? books wont import into calibre??? | arekieh | Calibre | 1 | 11-25-2009 06:43 PM |
Calibre 0.6.14 import problems | niche99 | Calibre | 2 | 09-29-2009 10:57 PM |
Calibre import question | edembowski | Calibre | 1 | 07-02-2008 01:21 AM |