← Back to team overview

calibre-devs team mailing list archive

Re: Compatibility - sip PyQt and Ubuntu 10.04

 

In the calibre src directory do a

rm -rf build/* && python setup.py build

Kovid.

On Wed, May 19, 2010 at 09:31:47PM -0300, Timothy Legge wrote:
> 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
> 
> 
> !DSPAM:3,4bf4831522491926316908!

> _______________________________________________
> Mailing list: https://launchpad.net/~calibre-devs
> Post to     : calibre-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~calibre-devs
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> !DSPAM:3,4bf4831522491926316908!


-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________

Attachment: pgpxvtfvE19ff.pgp
Description: PGP signature


Follow ups

References