View Single Post
Old 10-12-2009, 07:10 AM   #1
alexbt
Junior Member
alexbt began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: none
Calibre RuntimeError on Ubuntu 8.04 Server

Hi everyone,
I'm new to this forum and Calibre.
I tried to use Calibre for converting pdf files to ebook formats.
The whole stuff runs on Ubuntu 8.04 Server (headless).
I successfully installed and built Python 2.6.
After that I installed Calibre. It was of version 0.6.17.
When running the converter for the first time I got the following output:

alex@server1:~$ ebook-convert TigerFilter.pdf .epub
1% Converting input to HTML...
InputFormatPlugin: PDF Input running on /home/alex/TigerFilter.pdf
Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 174, in get_file_type_metadata
File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 198,
in get_metadata
File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/pdf.py", line 16,
in get_metadata
RuntimeError: libltdl.so.7: cannot open shared object file: No such file or directory
Parsing all content...
Parsing file 'index.html' as HTML
Generating default TOC from spine...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
67% Creating EPUB Output
Looking for large trees in index.html...
No large trees found
Generating default cover
EPUB output written to /home/alex/TigerFilter.epub
Output saved to /home/alex/TigerFilter.epub

When converting to .mobi I get the following error:

alex@server1:~$ ebook-convert TigerFilter.pdf .mobi
1% Converting input to HTML...
InputFormatPlugin: PDF Input running on /home/alex/TigerFilter.pdf
Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 174, in get_file_type_metadata
File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 198,
in get_metadata
File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/pdf.py", line 16,
in get_metadata
RuntimeError: libltdl.so.7: cannot open shared object file: No such file or dire
ctory
Parsing all content...
Parsing file 'index.html' as HTML
Generating default TOC from spine...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
67% Creating MOBI Output
Applying case-transforming CSS...
: cannot connect to X server

With .mobi and .lit I experience the same problems.

Can anybody explain me what are the problems and how to fix them?

Regards,
Alex

Last edited by alexbt; 10-12-2009 at 07:26 AM.
alexbt is offline   Reply With Quote