View Single Post
Old 02-26-2012, 12:33 AM   #9
WayneD
Enthusiast
WayneD began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Sep 2007
Device: Android phone + PRS-505
Sadly, that doesn't seem to help -- I've had that installed all along. I see the class being defined in this sip file:

python-qt4-dev: /usr/share/sip/PyQt4/QtScript/qscriptengine.sip

Aha! I need to change the source like this (in src/calibre/utils/serve_coffee.py):

-from PyQt4.Qt import QCoreApplication, QScriptEngine, QScriptValue
+from PyQt4.Qt import QCoreApplication
+from PyQt4.QtScript import QScriptEngine, QScriptValue

... then it works.

..wayne..
WayneD is offline   Reply With Quote