View Single Post
Old 01-05-2013, 01:37 PM   #1
apiontek
Member
apiontek began at the beginning.
 
apiontek's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2012
Location: Queens, NY
Device: Kobo Glo HD
Ubuntu server - "cannot import name QRawFont"

Hi - I had Calibre 0.9.12 freshly installed on an Ubuntu Server 12.10 system, running calibre-server headless to share my eBooks. It was working fine.

I just upgraded to 0.9.13 and the installer ended with:

Code:
Checking downloaded file integrity... 
Extracting files to /opt/calibre ...
Extracting application files... 
Traceback (most recent call last):
  File "site.py", line 56, in main
  File "site-packages/calibre/linux.py", line 12, in <module>
  File "site-packages/calibre/customize/ui.py", line 15, in <module>
  File "site-packages/calibre/customize/builtins.py", line 566, in <module>
  File "site-packages/calibre/ebooks/conversion/plugins/pdf_output.py", line 13, in <module>
ImportError: cannot import name QRawFont
Run "calibre" to start calibre
I have a "calibre-server" init.d script to start it as a service. Running that gave me:

Code:
Traceback (most recent call last):
  File "site.py", line 56, in main
  File "site-packages/calibre/library/server/main.py", line 12, in <module>
  File "site-packages/calibre/library/server/base.py", line 26, in <module>
  File "site-packages/calibre/library/server/browse.py", line 25, in <module>
  File "site-packages/calibre/ebooks/metadata/sources/identify.py", line 18, in <module>
  File "site-packages/calibre/customize/ui.py", line 15, in <module>
  File "site-packages/calibre/customize/builtins.py", line 566, in <module>
  File "site-packages/calibre/ebooks/conversion/plugins/pdf_output.py", line 13, in <module>
ImportError: cannot import name QRawFont
I did some searching and thought maybe I'd need to install PyQT, which on Ubuntu 12.10 is "python-qt4" - unfortunately, it didn't resolve the issue. I get the same Traceback.

How can I fix this? Is there a way I can revert to 0.9.12 for the time being?
apiontek is offline   Reply With Quote