Hi community,
i'm trying to get Calibre to run on a headless server but am facing issues. I want to automate recipes using CRON which was succesfully running on my desktop.
This is what I get:
Code:
67% Creating EPUB Output
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 1116, 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'm on Debian 6.0, xdg-utils are installed, python is at 2.6.6. I installed using the command from the Calibre site.
Any ideas what to do?
Thanks a ton!
Solution was to install missing dependencies:
Code:
apt-get install xdg-utils imagemagick python-imaging python-mechanize python-lxml python-dateutil python-cssutils python-beautifulsoup python-dnspython python-poppler libpodofo-utils libwmf-bin python-chm
MB