[Qgis-user] SIP problem on startup

Noli Sicad nsicad at gmail.com
Thu Feb 17 03:34:36 PST 2011


I think you can use the repository for ubuntu 10.04 to find the right
PyQt4 and SIP module that is compatible with the QGIS. It seems that
the SIP and PyQt4 modules in Ubuntu 10.10 are newer that what is used
in building qgis-trunk.

Noli

On 2/17/11, John <washakie at gmail.com> wrote:
> Sorry, but do you know what sources those would be? I already removed
> the ppa for unstablegis and added a qgis.list in my
> /etc/apt/sources.list.d/ directory for the trunk. But I guess you
> refer to something such as directly from ubuntu? How can I do that?
>
> --john
>
> On Thu, Feb 17, 2011 at 11:27 AM, Noli Sicad <nsicad at gmail.com> wrote:
>> John,
>>
>> Try to disable other qgis source aside from the trunk source, and see
>> what are the packages available.
>>
>> Some of your installed packages needed python-qgis working are
>> mismatched with the your install qgis (i.e qgis trunk) right now.
>>
>> Noli
>>
>>
>>
>> On 2/17/11, John <washakie at gmail.com> wrote:
>>> Ah, okay... done. Now the SIP problem returns :/
>>>
>>> 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 but the qgis.core
>>> module requires API v7.1
>>>
>>>
>>> Python version:
>>> 2.6.6 (r266:84292, Sep 15 2010, 16:41:53)
>>> [GCC 4.4.5]
>>>
>>> QGIS version:
>>> 1.7.0-Trunk 'Trunk', 15175M
>>>
>>>
>>> it seems I need to 'downgrade' my SIP module, or could a patch be
>>> included in the nightly build to lessen the restriction? It seems a
>>> check is being done to confirm that the SIP module is v7.1, is it
>>> necessary that it can be set to be "at least" 7.1?
>>>
>>> --john
>>>
>>>
>>>
>>>
>>> On Thu, Feb 17, 2011 at 10:08 AM, Noli Sicad <nsicad at gmail.com> wrote:
>>>> Hi John,
>>>>
>>>> You have to install python-qgis, then you will have "Fetch Python
>>>> Plugin" in Plugin Menubar as first menu item.
>>>>
>>>> Noli
>>>>
>>>> On 2/17/11, John <washakie at gmail.com> wrote:
>>>>> Thanks Noli,
>>>>>
>>>>> Yes, Ubuntu 10.10
>>>>>
>>>>> Trunk seems to be working for me, at least I don't get the error
>>>>> message. Is there a way to test though?
>>>>>
>>>>> Also, shouldn't I have a menu option: Plugins > Install Plugins? I
>>>>> only have "Manage Plugins". How do I install new plugins?
>>>>>
>>>>> Sorry for my ignorance,
>>>>> john
>>>>>
>>>>> On Thu, Feb 17, 2011 at 1:05 AM, Noli Sicad <nsicad at gmail.com> wrote:
>>>>>> John,
>>>>>>
>>>>>> I guess this is in Linux i.e. Ubuntu.
>>>>>>
>>>>>> The sip module is new and not compatible with qgis.
>>>>>>
>>>>>> This is the same problem with this posting below.
>>>>>>
>>>>>> http://www.mail-archive.com/qgis-user@lists.osgeo.org/msg08737.html
>>>>>>
>>>>>> Noli
>>>>>>
>>>>>>
>>>>>> On 2/17/11, John <washakie at gmail.com> wrote:
>>>>>>> Apologies if this is a double post, but I had some problems with my
>>>>>>> initial list subscription.
>>>>>>> Hello, I'm trying to run QGIS, but I get the following error on start
>>>>>>> up:
>>>>>>>
>>>>>>> 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 but the qgis.core
>>>>>>> module requires API v7.1
>>>>>>>
>>>>>>> Seems rather critical to have Python support.
>>>>>>>
>>>>>>> Does anyone have any ideas?
>>>>>>>
>>>>>>> Regards,
>>>>>>> john
>>>>>>>
>>>>>>> --
>>>>>>> _______________________________________________
>>>>>>> Qgis-user mailing list
>>>>>>> Qgis-user at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Configuration
>>>>> ``````````````````````````
>>>>> Plone 2.5.3-final,
>>>>> CMF-1.6.4,
>>>>> Zope (Zope 2.9.7-final, python 2.4.4, linux2),
>>>>> Python 2.6
>>>>> PIL 1.1.6
>>>>> Mailman 2.1.9
>>>>> Postfix 2.4.5
>>>>> Procmail v3.22 2001/09/10
>>>>> Basemap: 1.0
>>>>> Matplotlib: 1.0.0
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Configuration
>>> ``````````````````````````
>>> Plone 2.5.3-final,
>>> CMF-1.6.4,
>>> Zope (Zope 2.9.7-final, python 2.4.4, linux2),
>>> Python 2.6
>>> PIL 1.1.6
>>> Mailman 2.1.9
>>> Postfix 2.4.5
>>> Procmail v3.22 2001/09/10
>>> Basemap: 1.0
>>> Matplotlib: 1.0.0
>>>
>>
>
>
>
> --
> Configuration
> ``````````````````````````
> Plone 2.5.3-final,
> CMF-1.6.4,
> Zope (Zope 2.9.7-final, python 2.4.4, linux2),
> Python 2.6
> PIL 1.1.6
> Mailman 2.1.9
> Postfix 2.4.5
> Procmail v3.22 2001/09/10
> Basemap: 1.0
> Matplotlib: 1.0.0
>



More information about the Qgis-user mailing list