Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 05-06-2011, 06:24 AM   #1
director
Junior Member
director began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
Installation on Ubuntu 10.0.4 failing

Using Python 2.7 with a brand new Ubuntu 10.04 installation

The installation fails badly:

wnloaded 99.996356%
Downloaded 100.013532%
Downloaded 47695562 bytes
Checking downloaded file integrity...
tar: Record size = 8 blocks
Extracting files to /opt/calibre ...
Extracting application files...
Traceback (most recent call last):
File "site.py", line 56, in main
File "site-packages/calibre/linux.py", line 11, in <module>
File "site-packages/calibre/customize/ui.py", line 15, in <module>
File "site-packages/calibre/customize/builtins.py", line 572, in <module>
File "site-packages/calibre/ebooks/pdf/output.py", line 18, in <module>
File "site-packages/calibre/ebooks/pdf/writer.py", line 15, in <module>
File "site-packages/calibre/ebooks/pdf/pageoptions.py", line 6, in <module>
ImportError: cannot import name QPrinter



Run "calibre" to start calibre
root@lvps46-163-78-160:~# cd /opt/calibre/
root@lvps46-163-78-160:/opt/calibre# bin/ebook-
ebook-convert ebook-device ebook-meta ebook-viewer


Starting bin/ebook-convert also fails badly

root@lvps46-163-78-160:/opt/calibre# bin/ebook-convert
bin/ebook-convert: error while loading shared libraries: libcalibre-launcher.so: cannot open shared object file: No such file or directory


How to proceed?

Why is there only official support for Ubuntu 9?
director is offline  
Old 05-06-2011, 07:42 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Are you installing per the binary install command found here? The binary install is the version supported in this forum.

Quote:
Originally Posted by director View Post
Why is there only official support for Ubuntu 9?
The only official support is for the binary install linked to above. No repository versions in any linux flavor are supported.

Last edited by DoctorOhh; 05-06-2011 at 07:44 AM.
DoctorOhh is offline  
Advert
Old 05-06-2011, 07:44 AM   #3
phiznlil
Member
phiznlil began at the beginning.
 
Posts: 16
Karma: 12
Join Date: Mar 2011
Device: kindle 3
did you do the binary install?
I have installed on both 10.10 and 11.04 with no problems.
phiznlil is offline  
Old 05-06-2011, 09:27 AM   #4
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: 30,973
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
add 10.04 to the binary install works just fine list above.

SHUN the repository version. (Completely remove, if installed. It will leave your Library intact)
theducks is online now  
Old 05-06-2011, 12:04 PM   #5
director
Junior Member
director began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
Quote:
Originally Posted by dwanthny View Post
Are you installing per the binary install command found here? The binary install is the version supported in this forum.



The only official support is for the binary install linked to above. No repository versions in any linux flavor are supported.
I followed *exactly* the binary installation instructions.
director is offline  
Advert
Old 05-06-2011, 12:23 PM   #6
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: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have a library conflict on your system. You can get more information on it by running

calibre-debug -c "from PyQt4.Qt import QPrinter"
kovidgoyal is offline  
Old 05-06-2011, 12:26 PM   #7
director
Junior Member
director began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
You have a library conflict on your system. You can get more information on it by running

calibre-debug -c "from PyQt4.Qt import QPrinter"
bin/calibre-debug -c "from PyQt4.Qt import QPrinter"
bin/calibre-debug: error while loading shared libraries: libcalibre-launcher.so: cannot open shared object file: No such file or directory


Where should the library conflict come from? This is a bare 10.04 out-of-the-box installation?
director is offline  
Old 05-06-2011, 12:28 PM   #8
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: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are running bin/calibre-debug instead of

calibre-debug
kovidgoyal is offline  
Old 05-06-2011, 12:30 PM   #9
director
Junior Member
director began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
You are running bin/calibre-debug instead of

calibre-debug
No output.

Starting ebook-convert gives a segfault

/tmp/foo/calibre$ ./ebook-convert
Usage: ebook-convert input_file output_file [options]

Convert an ebook from one format to another.

input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command.

The output ebook format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is the output file extension. In this case, the name of the output file is derived the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_file has no extension, then it is treated as a directory and an "open ebook" (OEB) consisting of HTML files is written to that directory. These files are the files that would normally have been passed to the output plugin.

After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on the input and output file types. To get help on them specify the input and output file and then use the -h option.

For full documentation of the conversion system see
http://calibre-ebook.com/user_manual/conversion.html

Whenever you pass arguments to ebook-convert that have spaces in them, enclose the arguments in quotation marks.

Options:
--version show program's version number and exit

-h, --help show this help message and exit


Created by Kovid Goyal <kovid@kovidgoyal.net>

./ebook-convert: line 10: 29810 Segmentation fault $base/bin/ebook-convert "$@"
director is offline  
Old 05-06-2011, 12:35 PM   #10
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: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh, read the notes under the binary installation instructions.
kovidgoyal is offline  
Old 05-06-2011, 12:38 PM   #11
director
Junior Member
director began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
Sigh, read the notes under the binary installation instructions.

Please stop with your arrogant *sigh* comment.

There is zero reason for an application to cause a segmentation fault.
director is offline  
Old 05-06-2011, 12:48 PM   #12
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: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Everyone's favorite troll is back.
kovidgoyal is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre installation on Ubuntu 10.0.4.1 LTS zopyx Devices 21 04-14-2011 04:34 PM
Calibre installation on Ubuntu 8.0.4 yet Devices 11 04-02-2011 12:37 AM
Calibre 0.6.48 on Ubuntu 9.10 -- installation failed lenik Calibre 8 04-28-2010 09:26 PM
Calibre on Ubuntu 8.04 - installation failed kostap Calibre 25 03-26-2009 11:45 PM
libprs500 installation on Ubuntu 7.10 bralec Calibre 1 03-27-2008 09:50 AM


All times are GMT -4. The time now is 02:54 PM.


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