[Qgis-user] SIP problem on startup
Alex Mandel
tech_dev at wildintellect.com
Thu Feb 17 13:29:10 PST 2011
The Ubuntugis PPA should work but is known to conflict with Kubuntu
Backports and other KDE 4.6(?) related libs. If you've upgraded any KDE
based apps with kubuntu backports that likely brought in too new a
version of SIP. The only options are to, 1 - roll back all KDE stuff
that uses the newer SIP or 2 build QGIS from Trunk using ccmake to
select the versions of various libs that are known to work.
What other sources do you have beside the default Ubuntu and the
Ubuntugis PPA?
Thanks,
Alex
On 02/17/2011 03:19 AM, John 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
>>>>>>>
>>>>>>
>>>>>
>>>
More information about the Qgis-user
mailing list