[Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules
William Kyngesburye
woklist at kyngchaos.com
Sun Jul 7 15:33:10 PDT 2013
I'm out of ideas. I don't know the inner workings of SIP and pyQGIS.
Wait, rebuild QScintilla also, it uses sip.
On Jul 7, 2013, at 5:06 PM, Marcel Stadelmann wrote:
>
> Am 07.07.2013 um 23:00 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>
>> no, it's the opposite problem. QGIS is expecting a *newer* SIP for you. Somehow the one you compile with (API 9.2) is not the same as the one QGIS finds at runtime (API 9.0-9.1).
> I checked the system as good as possible, but I couldn't find an other sip.
>
>>
>> On Jul 7, 2013, at 3:56 PM, Marcel Stadelmann wrote:
>>
>>> I found this: http://lists.osgeo.org/pipermail/qgis-user/2013-May/022590.html
>>>
>>> Should I try with an older sip?
>>>
>>> Am 07.07.2013 um 22:46 schrieb Marcel Stadelmann <marcel.stadelmann at gmx.net>:
>>>
>>>>
>>>> Am 07.07.2013 um 22:02 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>>>>
>>>>> Hmm, so there is still an old SIP somewhere that the app is loading. I'd suggest checking the python sys.path in the QGIS python console, but python is disabled so that won't work.
>>>> where (how) could I open the QGIS python console, if it would work? (just to verify that's not working and I can't check th sys.path in the QGIS python console).
>>>>>
>>>>> One thing to check - what python QGIS is linking to, in a Terminal:
>>>>>
>>>>> otool -L /Applications/QGIS.app/Contents/MacOS/lib/libqgispython.dylib
>>>> Marcels-iMac:build Marcello$ otool -L ~/Applications/QGIS.app/Contents/MacOS/lib/libqgispython.dylib
>>>> /Users/Marcello/Applications/QGIS.app/Contents/MacOS/lib/libqgispython.dylib:
>>>> /Users/Marcello/Downloads/Quantum-GIS-master/build/output/lib/libqgispython.1.9.0.dylib (compatibility version 1.9.0, current version 1.9.0)
>>>> @loader_path/../../Frameworks/qgis_core.framework/qgis_core (compatibility version 1.9.0, current version 1.9.0)
>>>> /System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.2)
>>>> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 744.19.0)
>>>> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
>>>> @loader_path/../../Frameworks/QtXml.framework/QtXml (compatibility version 4.8.0, current version 4.8.5)
>>>> @loader_path/../../Frameworks/QtCore.framework/QtCore (compatibility version 4.8.0, current version 4.8.5)
>>>> @loader_path/../../Frameworks/QtGui.framework/QtGui (compatibility version 4.8.0, current version 4.8.5)
>>>> @loader_path/../../Frameworks/QtNetwork.framework/QtNetwork (compatibility version 4.8.0, current version 4.8.5)
>>>> @loader_path/../../Frameworks/QtSvg.framework/QtSvg (compatibility version 4.8.0, current version 4.8.5)
>>>> @loader_path/../../Frameworks/QtWebKit.framework/QtWebKit (compatibility version 4.9.0, current version 4.9.4)
>>>> /Library/Frameworks/PROJ.framework/Versions/4/PROJ (compatibility version 8.0.0, current version 8.0.0)
>>>> /Library/Frameworks/GEOS.framework/Versions/3/GEOS (compatibility version 4.0.0, current version 4.3.6)
>>>> /Library/Frameworks/GDAL.framework/Versions/1.10/GDAL (compatibility version 19.0.0, current version 19.0.0)
>>>> /usr/local/lib/libspatialindex.3.dylib (compatibility version 4.0.0, current version 4.0.0)
>>>> /usr/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current version 8.0.0)
>>>> /Library/Frameworks/SQLite3.framework/Versions/B/SQLite3 (compatibility version 9.0.0, current version 9.6.0)
>>>> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0)
>>>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
>>>>
>>>>>
>>>>> On Jul 7, 2013, at 2:12 PM, Marcel Stadelmann wrote:
>>>>>
>>>>>> I removed PYTHONPATH in my .bash_profile and recompiled everything from SIP on. But still the same error occurs in QGIS.
>>>>>>
>>>>>> Am 07.07.2013 um 19:50 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>>>>>>
>>>>>>> Looks like the SIP and/or PyQt that QGIS finds at runtime is different from the one found in compilation.
>>>>>>>
>>>>>>> This may be related to the PYTHONPATH in your .bash_profile - compilation sees this and may get the wrong SIP/PyQt, but OS X apps do see any environment settings in .bash_profile or any other shell init file. Try commenting this out and reconfiguring and compiling QGIS. You may need to go back to recompiling SIP and PyQt outside of homebrew.
>>>>>>>
>>>>>>> On Jul 7, 2013, at 12:45 PM, Marcel Stadelmann wrote:
>>>>>>>
>>>>>>>> Below the error message, there is the following additional text, but I don't know if it is with the PyQGIS related:
>>>>>>>> Traceback (most recent call last):
>>>>>>>> File "", line 1, in
>>>>>>>> RuntimeError: the sip module implements API v9.0 to v9.1 but the qgis.core module requires API v9.2
>>>>>>>>
>>>>>>>> Am 07.07.2013 um 19:36 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>>>>>>>>
>>>>>>>>> Hooray for the obvious! I thought I'd go crazy on this one.
>>>>>>>>>
>>>>>>>>> Don't know about the non-starting python. Were there any details with the error? Maybe there is something in Console.app?
>>>>>>>>>
>>>>>
>>>>> -----
>>>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>>>> http://www.kyngchaos.com/
>>>>>
>>>>> "This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"
>>>>>
>>>>> - The Ruler of the Universe
>>>>>
>>>>>
>>>>
>>>
>>
>> -----
>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>>
>> "Those people who most want to rule people are, ipso-facto, those least suited to do it."
>>
>> - A rule of the universe, from the HitchHiker's Guide to the Galaxy
>>
>>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."
- Hitchhiker's Guide to the Galaxy
More information about the Qgis-user
mailing list