Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2011, 08:40 AM   #1
tomp
Junior Member
tomp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: none
Unhappy ebook-convert not found on headleass Ubuntu

Hi there,

I've installed calibre on my headless (?) Ubuntu Server.
When I type
sudo apt-get install calibre
on my machine at home (with X-Server), everything is fine and I can use ebook-convert.

But when I do the same on my Server (without X-Server, but with xvfb), calibre is beeing installed, but ebook-convert is not beeing found.

What can I do?
Any hints appreciated.

Thanks,
Tom
tomp is offline   Reply With Quote
Old 07-20-2011, 08:50 AM   #2
tylau0
Connoisseur
tylau0 began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Oct 2010
Device: Kindle
You may consider installing the latest binary from Calibre official repository (See here) for instructions, rather than the one in Ubuntu repository (as you did when you use apt-get)
tylau0 is offline   Reply With Quote
Advert
Old 07-20-2011, 09:03 AM   #3
tomp
Junior Member
tomp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: none
Thanks. When I do this, the message comes:
ImportError: cannot import name QCoreApplication

:-(
tomp is offline   Reply With Quote
Old 07-20-2011, 09:13 AM   #4
tomp
Junior Member
tomp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: none
My system at home (ebook-convert runs) is 11.04, the server's ist 9.04. Could that be the problem?
tomp is offline   Reply With Quote
Old 07-20-2011, 09:22 AM   #5
tylau0
Connoisseur
tylau0 began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Oct 2010
Device: Kindle
You need to install all the dependencies as stated in that webpage before executing the install command.

BTW, are you using Ubuntu in the machine that you reports installation error?

Also, are you sure you get no error message when you install Calibre using apt-get on that machine? If yes, the problem may be that the ebook-convert program is not put into the search path for binary programs. You may first look for the "ebook-convert" program (see here for details). Then call the program using its absolute path.
tylau0 is offline   Reply With Quote
Advert
Old 07-21-2011, 06:12 AM   #6
tomp
Junior Member
tomp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: none
Thanks a lot.
I've found the ebook-convert binary-file in /opt/calibre.

But when I run this programm (with and without xvfb-run), I get the same error, for which I can't find any solution on the internet
Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
tomp is offline   Reply With Quote
Old 07-21-2011, 09:50 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Moved: This appears to be a (headless) Installation issue, not a Conversion issue
theducks is online now   Reply With Quote
Old 07-22-2011, 07:59 AM   #8
tylau0
Connoisseur
tylau0 began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Oct 2010
Device: Kindle
It sounds like you miss some stuff related to "qt".
Perhaps you can try installing some packages related to "qt" and see.

Quote:
Originally Posted by tomp View Post
Thanks a lot.
I've found the ebook-convert binary-file in /opt/calibre.

But when I run this programm (with and without xvfb-run), I get the same error, for which I can't find any solution on the internet
Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
tylau0 is offline   Reply With Quote
Old 07-29-2011, 03:17 AM   #9
tomp
Junior Member
tomp began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: none
Dear tylau0,

thanks for your answer. I will try that.

Tom
tomp is offline   Reply With Quote
Reply

Tags
commandline, x-server


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu: Thumbnail support for ebook files haydoni Devices 1 05-04-2011 12:00 PM
Newbie with ebook and Ubuntu iPod questions gragradownunder Introduce Yourself 5 04-28-2011 03:03 AM
Found a new ebook reader krcop04 News 23 05-30-2010 03:37 PM
ebook-convert don't work in ubuntu 9.10 vakya Calibre 2 10-26-2009 04:36 PM
i have found a ebook web site bookbook0089 Deals and Resources (No Self-Promotion or Affiliate Links) 64 08-14-2008 12:09 PM


All times are GMT -4. The time now is 05:13 PM.


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