← Back to team overview

calibre-devs team mailing list archive

Re: Compatibility - sip PyQt and Ubuntu 10.04

 

Hi

Thanks, that resolved the build error but not the running error:

Failed to unpickle stored object:
Traceback (most recent call last):
  File "/home/tim/custom-cols/src/calibre/utils/config.py", line 522, in
refresh
    d = cPickle.loads(raw) if raw.strip() else {}
RuntimeError: ('the sip module implements API v7.0 but the PyQt4.QtCore
module requires API v7.1', <built-in function _unpickle_enum>,
('PyQt4.QtCore', 'SortOrder', 1))
Traceback (most recent call last):
  File "/usr/bin/calibre", line 18, in <module>
    from calibre.gui2.main import main
  File "/home/tim/custom-cols/src/calibre/gui2/__init__.py", line 7, in
<module>
    from PyQt4.QtCore import QVariant, QFileInfo, QObject, SIGNAL, QBuffer,
Qt, QSize, \
ImportError: cannot import name QVariant

Tim

On Wed, May 19, 2010 at 10:31 PM, Kovid Goyal <kovid@xxxxxxxxxxxxxx> wrote:

> In the calibre src directory do a
>
> rm -rf build/* && python setup.py build
>
> Kovid.
>
>

References