← Back to team overview

calibre-devs team mailing list archive

Compatibility - sip PyQt and Ubuntu 10.04

 

Hi

I upgraded to Ubuntu 10.04 today and may have caused more issues for
myself.  I am receiving the following errors which seem to indicate problems
with sip and pyqt4.  Is any one developing on 10.04?  Do you use the
delivered packages or did you install the libraries from source?

with sudo python setup.py develop
=================
Traceback (most recent call last):
      File "/home/tim/custom-cols/src/calibre/linux.py", line 180, in
setup_completion
        from calibre.gui2.viewer.main import option_parser as viewer_op
      File "/home/tim/custom-cols/src/calibre/gui2/viewer/main.py", line 17,
in <module>
        from calibre.gui2.widgets import ProgressIndicator
      File "/home/tim/custom-cols/src/calibre/gui2/widgets.py", line 25, in
<module>
        from calibre.gui2.progress_indicator import ProgressIndicator as
_ProgressIndicator
      File
"/home/tim/custom-cols/src/calibre/gui2/progress_indicator/__init__.py",
line 15, in <module>
        pi_error)
    RuntimeError: Failed to load the Progress Indicator plugin: the sip
module implements API v7.0 to v7.1 but the progress_indicator module
requires API v6.0

with calibre
=================
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-debug", line 19, in <module>
    sys.exit(main())
  File "/home/tim/custom-cols/src/calibre/debug.py", line 143, in main
    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

Follow ups