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-01-2009, 08:12 PM   #1
adouma
Junior Member
adouma began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-600 (soon)
Ubuntu Jaunty: New version of calibre won't start

Hello all,

My problem is this: I've been running calibre without issue on my Jaunty box for about a month now, but this morning I started it up and got a message that 0.6.15 was available.

So...

Code:
adouma@desktop:~$ 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.15-i686.tar.bz2
                                                                                    Downloading calibre-0.6.15-i686.tar.bz2                                                                                     
100% [======================================================================================================================================================================================================]
                                                                                                                                                                                                                Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/pdfmanipulate to /usr/bin/pdfmanipulate
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /opt/calibre/librarything to /usr/bin/librarything
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Setting up bash completion...

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "/home/kovid/build/calibre/src/calibre/linux.py", line 172, in setup_completion
	  File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/cli.py", line 12, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 11, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 367, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 44, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/libusb.py", line 7, in <module>
	  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
	    from _ctypes import Union, Structure, Array
	ImportError: libffi.so.4: cannot open shared object file: No such file or directory

Trying to setup udev rules...
Installing MAN pages...

____________________ WARNING ____________________
Installing MAN pages failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "/home/kovid/build/calibre/src/calibre/linux.py", line 329, in install_man_pages
	  File "/home/kovid/build/calibre/src/calibre/devices/prs500/cli/main.py", line 16, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 11, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 367, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 44, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/libusb.py", line 7, in <module>
	  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
	    from _ctypes import Union, Structure, Array
	ImportError: libffi.so.4: cannot open shared object file: No such file or directory

Setting up desktop integration...
There were 2 warnings
* Setting up completion failed with error:

* Installing MAN pages failed with error:


Run "calibre" to start calibre
I'm pretty in the dark about output like that, but I've included it in case anyone wants to look at it. Then I tried running calibre from the Apps menu - nothing happens. Running it in a terminal produced this:

Code:
adouma@desktop:~$ calibre
Traceback (most recent call last):
  File "/tmp/init.py", line 48, in <module>
  File "/home/kovid/build/calibre/src/calibre/gui2/__init__.py", line 15, in <module>
  File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in <module>
  File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 11, in <module>
  File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 367, in <module>
  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 44, in <module>
  File "/home/kovid/build/calibre/src/calibre/devices/libusb.py", line 7, in <module>
  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.4: cannot open shared object file: No such file or directory
Yikes. I tried removing my calibre directory altogether and rerunning everything - no change. A quick google found nothing to do with both 'libffi.so.4' and calibre, so I'm here!

Uh, help please?
adouma is offline   Reply With Quote
Old 10-01-2009, 08:33 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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Fixed build uploaded. Re-download and you should be fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-01-2009, 09:17 PM   #3
adouma
Junior Member
adouma began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-600 (soon)
Edit: Alas, spoke too soon. I re-downloaded but it just did the same thing again.

What's the best way to completely remove calibre? Maybe a fresh install will work better.

Last edited by adouma; 10-01-2009 at 09:26 PM.
adouma is offline   Reply With Quote
Old 10-01-2009, 10:09 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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just delete /opt/calibre
kovidgoyal is offline   Reply With Quote
Old 10-01-2009, 10:35 PM   #5
adouma
Junior Member
adouma began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-600 (soon)
Now it's good. Thanks for the help, Kovid, and for calibre in general.
adouma is offline   Reply With Quote
Advert
Reply

Tags
calibre, support, ubuntu jaunty

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre for Ubuntu (Jaunty) bedachtm Calibre 20 02-20-2010 02:09 AM
New Calibre install won't start/seg faults on Ubuntu 9.10 64-bit lizajane999 Calibre 4 02-06-2010 02:42 PM
Calibre 0.6.27 does not start on Ubuntu Karmic (9.10) dmandala Calibre 7 12-15-2009 12:46 AM
Problem Installing Calibre on EeePC 901 (Ubuntu Jaunty) andavane Calibre 4 11-08-2009 02:05 PM
libunrar.so for Ubuntu Jaunty ronniet Calibre 4 07-22-2009 06:07 PM


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


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