Re: [Qgis-developer] new ubuntu compile problem
Hi Marco On Sun, May 1, 2011 at 10:22 PM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: thanks MArtin, that did the job... i had done a make clean but was obviously not enough ... Now I still get the sip error below, i can't remember how i solved it last time... Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File , line 1, in RuntimeError: the sip module implements API v8.0 to v8.1 but the qgis.core module requires API v7.1 I would expect that you have maybe an incompatible version of sip generator and sip python module or something similar. Not sure though about the cause. Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] new ubuntu compile problem
Hi martin, On 2 May 2011 11:34, Martin Dobias wonder...@gmail.com wrote: Hi Marco On Sun, May 1, 2011 at 10:22 PM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: thanks MArtin, that did the job... i had done a make clean but was obviously not enough ... Now I still get the sip error below, i can't remember how i solved it last time... Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File , line 1, in RuntimeError: the sip module implements API v8.0 to v8.1 but the qgis.core module requires API v7.1 I would expect that you have maybe an incompatible version of sip generator and sip python module or something similar. Not sure though about the cause. I look into it tonite. But i guessed a similar cause. Is it correct that trunk needs sip api v 7? Ciao Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] new ubuntu compile problem
On Mon, May 2, 2011 at 11:40 AM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: I would expect that you have maybe an incompatible version of sip generator and sip python module or something similar. Not sure though about the cause. I look into it tonite. But i guessed a similar cause. Is it correct that trunk needs sip api v 7? No. QGIS does not care about sip api version. That is an internal matter of SIP - it forbids running python modules using incompatible spi api version to protect users from misbehavior (or crashes) due to changes in SIP interals between incompatible sip releases. Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] new ubuntu compile problem
Hi Marco, Myself I migrated to Ubuntu 10.10 and I had the python issue when building r15676 last Saturday but Martin hint (completely remove your build directory) solved the problem for me. My /etc/apt/sources.list contains the following: deb http://qgis.org/debian-nightly natty main deb-src http://qgis.org/debian-nightly natty main Do you use one of the followings? https://launchpad.net/~qgis/+archive/stable http://les-ejk.cz/ubuntu/ # GIS for Ubuntu deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu Does are some I tend to use in the past and that are now commented out in my sources.list Hope it helps. Good luck! Mayeul Le lundi 02 mai 2011 à 11:48 +0200, Martin Dobias a écrit : On Mon, May 2, 2011 at 11:40 AM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: I would expect that you have maybe an incompatible version of sip generator and sip python module or something similar. Not sure though about the cause. I look into it tonite. But i guessed a similar cause. Is it correct that trunk needs sip api v 7? No. QGIS does not care about sip api version. That is an internal matter of SIP - it forbids running python modules using incompatible spi api version to protect users from misbehavior (or crashes) due to changes in SIP interals between incompatible sip releases. Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] new ubuntu compile problem
Marco, I just upgraded to ubuntu 11.04 and had the same problem about SIP(Couldn't load PyQGIS) I am running perfectly QGIS, to this i follow this steps: 1) Remove all files and directories in 'build' directory 2) Inside 'build' directory: 2.1) Set the makefile: sudo ccmake .. 2.2) Make and install QGIS sudo make sudo make install * in my case, i made update of sources(checkout from SVN) 3) Install the OSGEO binding for Python sudo apt-get install python-gdal * when updated the ubuntu, the system removed the OSGEO binding Hope it helps. Luiz 2011/5/2 Mayeul Kauffmann mayeul.kauffm...@free.fr: Hi Marco, Myself I migrated to Ubuntu 10.10 and I had the python issue when building r15676 last Saturday but Martin hint (completely remove your build directory) solved the problem for me. My /etc/apt/sources.list contains the following: deb http://qgis.org/debian-nightly natty main deb-src http://qgis.org/debian-nightly natty main Do you use one of the followings? https://launchpad.net/~qgis/+archive/stable http://les-ejk.cz/ubuntu/ # GIS for Ubuntu deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu Does are some I tend to use in the past and that are now commented out in my sources.list Hope it helps. Good luck! Mayeul Le lundi 02 mai 2011 à 11:48 +0200, Martin Dobias a écrit : On Mon, May 2, 2011 at 11:40 AM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: I would expect that you have maybe an incompatible version of sip generator and sip python module or something similar. Not sure though about the cause. I look into it tonite. But i guessed a similar cause. Is it correct that trunk needs sip api v 7? No. QGIS does not care about sip api version. That is an internal matter of SIP - it forbids running python modules using incompatible spi api version to protect users from misbehavior (or crashes) due to changes in SIP interals between incompatible sip releases. Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] new ubuntu compile problem
thanks MArtin, that did the job... i had done a make clean but was obviously not enough ... Now I still get the sip error below, i can't remember how i solved it last time... Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File , line 1, in RuntimeError: the sip module implements API v8.0 to v8.1 but the qgis.core module requires API v7.1 Python version: 2.6.6 (r266:84292, Mar 25 2011, 19:33:11) [GCC 4.5.2] QGIS version: 1.7.0-Wroclaw 'Wroclaw', 15820M ciao MArco On 04/30/2011 06:14 PM, Martin Dobias wrote: On Sat, Apr 30, 2011 at 5:17 PM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: Hi all, I just upgraded to ubuntu 11.04 and I've got two probs: on one hand the python-sip version appeared aqain: [...] Hi Marco completely remove your build directory, then configure, build and install qgis again. Martin -- Marco Bernasocchi www.bernawebdesign.ch skype: mbernasocchi ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] new ubuntu compile problem
On Sat, Apr 30, 2011 at 5:17 PM, Marco Bernasocchi ma...@bernawebdesign.ch wrote: Hi all, I just upgraded to ubuntu 11.04 and I've got two probs: on one hand the python-sip version appeared aqain: [...] Hi Marco completely remove your build directory, then configure, build and install qgis again. Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer