[Qgis-developer] qgis.gui crash on mac os x 10.4

William Kyngesburye woklist at kyngchaos.com
Wed Sep 12 10:03:52 EDT 2007


Gary, maybe this should be changed in the Qgis source?  I imagine it  
will affect other platforms where a user installs PyQt on their own  
but uses a downloaded Qgis binary.

On Sep 12, 2007, at 5:05 AM, Luca Mandolesi wrote:

>>> Hmm, have you installed Qt and PyQt/SIP yourself?  Which versions?
>>>
>>>
>>> Yes. I've installed Qt and PyQT tryin to build qgis svn. These  
>>> are my versions:
>>> PyQt-mac-gpl-4.2.tar
>>> qt-mac-opensource-4.2.3

>> Even so, sys.path.append adds to the end of the search list, so the
>> Qgis bundle will be searched last, and your installed PyQt/SIP will
>> be found first.  A better way might be to insert instead of append.
>> Try this instead of the sys.path.append:
>>
>> sys.path.insert(1,'/Applications/qgis0.9.0.app/Contents/MacOS/share/
>> qgis/python')
>>
>> This should put it at the beginning of the search list, but after the
>> script path (item 0).
>> sys.path.insert(1,'/Applications/qgis0.9.0.app/Contents/MacOS/share/
>> qgis/python')
>
> Great! It was the problem!
>
> Now I can launch correctly the Martin Dobias tutorial!
>
> Thanks, thanks a lot!

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled  
with hyena offal?
Second Pogril: I don't know.  Why IS life like sticking your head in  
a bucket filled with hyena offal?
First Pogril: I don't know either.  Wretched, isn't it?

-HitchHiker's Guide to the Galaxy





More information about the Qgis-developer mailing list