View Single Post
Old 11-07-2015, 07:00 AM   #1
41nick
Junior Member
41nick began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2015
Device: kindle for droid
Required X library

Sorry if this is obvious (I have tried goggling and not found the answer

I have been trying to use calibre command line to fetch news, following the FAQ where is suggests "/opt/calibre/ebook-convert "Title of news source.recipe" outputfile.epub".

This works fine on my desktop machine (running linux mint 17.2) but fails on my server running ubuntu 14.04.

The error messages I get are:

1% Generating masthead...
Synthesizing mastheadImage
Failed to generate default masthead image


and

Creating MOBI Output...
67% Running MOBI Output plugin
Serializing resources...
Traceback (most recent call last):
File "site.py", line 63, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 360, in main
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1207, in run
File "site-packages/calibre/ebooks/conversion/plugins/mobi_output.py", line 190, in convert
File "site-packages/calibre/ebooks/mobi/writer2/resources.py", line 36, in __init__
File "site-packages/calibre/ebooks/mobi/writer2/resources.py", line 58, in add_resources
File "site-packages/calibre/ebooks/__init__.py", line 297, in generate_masthead
File "site-packages/calibre/ebooks/covers.py", line 16, in <module>
ImportError: cannot import name QImage


In the FAQ it says that this is probably due to "some missing X libraries".

If you could suggest what I should install I would be really grateful.
41nick is offline   Reply With Quote