09-23-2012, 11:23 AM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2011
Device: Sony PRS 350
|
Calibre 0.8.7 for linux needs libfontconfig.so.1
Dear all
I installed calibre to my ubuntu server using the line: sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" The install went smoothly except an error with QDesktopServices, I assume as I don't have a GUI installed. QImage also failed. (Please bear with my linux ignorance.) I have a custom recipe, so I try the line: sudo ebook-convert economist-8-28.recipe econ.epub I get the error: InputFormatPlugin: Recipe Input running Traceback (most recent call last): File "site.py", line 58, in main File "site-packages/calibre/ebooks/conversion/cli.py", line 325, in main File "site-packages/calibre/ebooks/conversion/plumber.py", line 989, in run File "site-packages/calibre/customize/conversion.py", line 239, in __call__ File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 54, in convert File "site-packages/calibre/web/feeds/recipes/__init__.py", line 8, in <module> File "site-packages/calibre/web/feeds/news.py", line 30, in <module> File "site-packages/calibre/utils/magick/__init__.py", line 15, in <module> RuntimeError: Failed to load ImageMagick: libfontconfig.so.1: cannot open shared object file: No such file or directory Any ideas? I can't find anything resembling libfontconfig in the calibre directories or install stdout. Huge thanks Chris |
09-23-2012, 11:30 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to install fontconfig on your server.
|
Advert | |
|
09-23-2012, 12:46 PM | #3 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2011
Device: Sony PRS 350
|
|
09-23-2012, 01:04 PM | #4 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2011
Device: Sony PRS 350
|
Although later in the process I get a problem with QDesktopServices
67% Running EPUB Output plugin Found non-unique filenames, renaming to support broken EPUB readers like FBReader, Aldiko and Stanza... Traceback (most recent call last): File "site.py", line 58, in main File "site-packages/calibre/ebooks/conversion/cli.py", line 325, in main File "site-packages/calibre/ebooks/conversion/plumber.py", line 1128, in run File "site-packages/calibre/ebooks/conversion/plugins/epub_output.py", line 163, in convert File "site-packages/calibre/ebooks/oeb/transforms/rescale.py", line 16, in __call__ File "site-packages/calibre/gui2/__init__.py", line 7, in <module> ImportError: cannot import name QDesktopServices I tried installing QDesktopServices or Qt - not found. Sorry..any ideas? |
09-23-2012, 01:10 PM | #5 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2011
Device: Sony PRS 350
|
sorry, got it -
sudo apt-get install libqt3-mt |
Advert | |
|
09-24-2012, 12:50 AM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Is there any reason that you're installing such an ancient version of Calibre?
|
09-24-2012, 01:20 AM | #7 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
I do wonder why he didn't use the full install string recommended on the download page, but I'm not a Linux user so I have no idea what the difference is. Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()" Last edited by DoctorOhh; 09-24-2012 at 01:25 AM. |
|
09-28-2012, 05:42 AM | #8 |
Member
Posts: 20
Karma: 10
Join Date: Jul 2011
Device: Sony PRS 350
|
Thanks for correcting me. Normally on Linux you get installations from repositories rather than the software website, so in my broad ignorance I got the command from one of those.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Calibre on Windows and Linux | lookin | Devices | 1 | 06-21-2011 06:52 PM |
Calibre Linux | grueno_books | Calibre | 3 | 11-11-2010 12:09 PM |
Removing Calibre from Linux | Logseman | Calibre | 2 | 08-23-2010 12:54 PM |
Calibre on Linux... | hrickh | Calibre | 1 | 08-05-2010 05:58 PM |
calibre 0.6.10 for Linux | AprilHare | Calibre | 3 | 09-03-2009 07:03 PM |