![]() |
#1 |
Junior Member
![]() 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? |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
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. |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() 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. |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
|
Quote:
|
|
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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" |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
|
Quote:
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? |
|
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are running bin/calibre-debug instead of
calibre-debug |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
|
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 "$@" |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sigh, read the notes under the binary installation instructions.
|
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2011
Device: Kindle
|
|
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Everyone's favorite troll is back.
|
![]() |
![]() |
|
![]() |
||||
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 |