<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">you guys finally solved it!<div>works for me too.<br><div>thank you very much</div><div><br></div><div>sergio</div><div><br></div><div><br><div><div>El 29/09/2010, a las 01:25, Giuseppe Sucameli escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi William,<br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 12:37 AM, William Kyngesburye <span dir="ltr"><<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I didn't know multiple paths could be used there (lack of documentation), though it makes sense. </blockquote><div>even <span class="dct-tt">though</span> I'm the GdalTools maintainer,  I either didn't know <br>

we could use multiple paths. <br>I looked  within the code to discover the trick :-)<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

 Though pymod is not part of the problem, it's python itself.  So it should be:<br>
<br>
/usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/<br>
<br>
Once Python is found in /usr/bin, the GDAL pymod will be in the python sys.path.<br></blockquote><div>I don't know if pymods are in the python sys.path, but in order <br>to prevent future related issues, could you verify this?<br>

<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

... and that works.<br></blockquote><div>Great!!! Now I can go to sleep pleased.<br><br>Cheers.<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div><div></div><div class="h5">
On Sep 28, 2010, at 5:03 PM, Giuseppe Sucameli wrote:<br>
<br>
> Hi all,<br>
> did you try to setup both python and pymods paths in the<br>
> "path to GDAL binaries"? You must separate them by :<br>
><br>
> /usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Python/<br>
><br>
> Try and let me know.<br>
><br>
> Cheers<br>
><br>
> 2010/9/28 Pierre Chevalier Géologue <<a href="mailto:pierrechevaliergeol@free.fr">pierrechevaliergeol@free.fr</a>><br>
> William Kyngesburye claviota:<br>
><br>
> /usr/bin/python* should already exist, they are part of the system.  That's not the problem.<br>
><br>
> Ok; I thought you may have some strange python installation. Sorry!<br>
><br>
><br>
> The problem is that /usr/bin is NOT in the PATH in an OS X application.<br>
> Hm. Mac OS X's are weird sorts of unices, aren't they? (BIG TROLL DETECTED!) ;)<br>
><br>
><br>
> Applications have essentially no environment at all, but they do understand environment variables.  Applications are in their own world, so to speak.  There is a hidden mechanism for setting Application environment, but I don't want to spread that as it is cluncky to use (need 3rd party apps for a nice GUI front end), and is not well documented, if at all.<br>


><br>
> You got your symlinking idea backwards, but it does give me an idea for a workaround:<br>
><br>
> ln -s /usr/bin/python2.6 /Applications/Qgis.app/Contents/MacOS/bin/python<br>
><br>
> This puts a symlink to the system python in the Qgis application bin, which should be in the PATH in the Qgis environment.<br>
><br>
> Yes, it makes sense! So? Does it work?<br>
><br>
><br>
> Funny: in DOS and windows (another strange kind of OS, next troll), the current directory of any executable is in the path. And in unices (at least the ones I know), the current directory (.) is never in the path... I never figured it out on a Mac.<br>


><br>
> A stupid idea:<br>
> Yes, it was...<br>
><br>
> A+<br>
> Pierre<br>
><br>
><br>
> --<br>
> ____________________________________________________________________________<br>
> Pierre Chevalier Géologue EI<br>
>   Mesté Duran<br>
>   32100 Condom<br>
>  Tél+fax  :    09 75 27 45 62<br>
>               05 62 28 06 83<br>
>                06 37 80 33 64<br>
>  Émail  :   <a href="http://pierrechevaliergeolCHEZfree.fr">pierrechevaliergeolCHEZfree.fr</a><br>
>  icq#   :   10432285<br>
>  skype  :   pierre.chevalier1967<br>
>  <a href="http://pierremariechevalier.free.fr/pierre_chevalier_geologue" target="_blank">http://pierremariechevalier.free.fr/pierre_chevalier_geologue</a><br>
> ____________________________________________________________________________<br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
><br>
><br>
> --<br>
> Giuseppe Sucameli<br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
</div></div><div class="im">-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
</div>"Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that remind me of?  Ah, yes - life."<br>
<br>
- Marvin<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Giuseppe Sucameli<br>
_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/qgis-user<br></blockquote></div><br></div></div></body></html>