Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Old 01-05-2013, 02:09 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Install fontconfig.
kovidgoyal is offline   Reply With Quote
Old 01-05-2013, 02:26 PM   #3
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
Quote:
Originally Posted by kovidgoyal View Post
Install fontconfig.
I did apt-get install fontconfig and it installed "fontconfig_2.10.1-0ubuntu3_amd64.deb"

I get the same Traceback error:

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
apiontek is offline   Reply With Quote
Old 01-05-2013, 02:34 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Then wait for the next release: https://bugs.launchpad.net/calibre/+bug/1096170
kovidgoyal is offline   Reply With Quote
Old 01-05-2013, 02:38 PM   #5
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
Quote:
Originally Posted by kovidgoyal View Post
Then wait for the next release: https://bugs.launchpad.net/calibre/+bug/1096170
OK, Thank you. In the future I'll check the Launchpad.net bugs!
apiontek is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Headless Calibre-Server enable "Wireless device connection" mohataj Devices 11 10-11-2012 05:39 AM
Nexus 7, Chrome, canoot "see" Calibre content server goglen Devices 6 08-28-2012 05:25 AM
install failed with "ImportError: cannot import name QCoreApplication" on CentOS 5.6 katsu Calibre 2 10-07-2011 11:53 PM
"cannot import name JSONConfig" on launching calibre .42 hakan42 Calibre 4 02-27-2010 03:37 AM


All times are GMT -4. The time now is 10:33 AM.


MobileRead.com is a privately owned, operated and funded community.