[Qgis-developer] Python error in master

Larry Shaffer larrys at dakotacarto.com
Tue May 28 09:33:35 PDT 2013


Hi Paolo,

On Mon, May 27, 2013 at 9:49 AM, Paolo Cavallini <cavallini at faunalia.it>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Il 27/05/2013 16:04, Paolo Cavallini ha scritto:
>
> > RuntimeError: the sip module implements API v8.0 to v8.1 but the
> qgis.core module
> > requires API v9.2
> >
> > Packages from debian-nightly, sid.
> > Anything wrong?
>
> confirmed on another machine: am I the only one?
>

Something similar happened to me last week, just after I updated my version
of sip (manually compiled). Guessing here, but it seems that a change in
sip version does not trigger any rebuilds of already-built QGIS Python
modules during subsequent compiling of source code.

However, your error seems to be the reverse of that, almost like an older
sip version is still installed somewhere on your machine, then found during
runtime, while the built software referenced the newer version. This may be
because during compilation, your environment is referencing a different
version of Python (i.e. newer site-packages/sip.so) or a virtual env, than
the one used during runtime of the app, which has an older sip.so installed.

I 'fixed' my sip compile error by deleting my build directory's contents
and doing a fresh CMake configure and build.

Regards,

Larry



> all the best.
> - --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlGjgJcACgkQ/NedwLUzIr6/JACgmIaMqCp4HIyCbXN6U68ddX5p
> FW4AmQG0X0gAcnekbgmjqaW9Vf3MwF5C
> =Hcms
> -----END PGP SIGNATURE-----
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130528/1f1f9be3/attachment.html>


More information about the Qgis-developer mailing list