View Single Post
Old 07-11-2012, 04:01 AM   #1
mighty_bombero
Junior Member
mighty_bombero began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2011
Device: Nook Color
Problem running calibre on headless server (Solved)

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

Last edited by mighty_bombero; 07-11-2012 at 04:35 AM. Reason: Solution found
mighty_bombero is offline   Reply With Quote