[Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message

sergio sevillano sergiosevillano.mail at gmail.com
Thu Sep 30 00:57:30 PDT 2010


you guys finally solved it!
works for me too.
thank you very much

sergio


El 29/09/2010, a las 01:25, Giuseppe Sucameli escribió:

> Hi William,
> 
> On Wed, Sep 29, 2010 at 12:37 AM, William Kyngesburye <woklist at kyngchaos.com> wrote:
> I didn't know multiple paths could be used there (lack of documentation), though it makes sense.
> even though I'm the GdalTools maintainer, I either didn't know 
> we could use multiple paths. 
> I looked within the code to discover the trick :-)
> 
>  Though pymod is not part of the problem, it's python itself.  So it should be:
> 
> /usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/
> 
> Once Python is found in /usr/bin, the GDAL pymod will be in the python sys.path.
> I don't know if pymods are in the python sys.path, but in order 
> to prevent future related issues, could you verify this?
> 
> ... and that works.
> Great!!! Now I can go to sleep pleased.
> 
> Cheers.
> 
> On Sep 28, 2010, at 5:03 PM, Giuseppe Sucameli wrote:
> 
> > Hi all,
> > did you try to setup both python and pymods paths in the
> > "path to GDAL binaries"? You must separate them by :
> >
> > /usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Python/
> >
> > Try and let me know.
> >
> > Cheers
> >
> > 2010/9/28 Pierre Chevalier Géologue <pierrechevaliergeol at free.fr>
> > William Kyngesburye claviota:
> >
> > /usr/bin/python* should already exist, they are part of the system.  That's not the problem.
> >
> > Ok; I thought you may have some strange python installation. Sorry!
> >
> >
> > The problem is that /usr/bin is NOT in the PATH in an OS X application.
> > Hm. Mac OS X's are weird sorts of unices, aren't they? (BIG TROLL DETECTED!) ;)
> >
> >
> > 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.
> >
> > You got your symlinking idea backwards, but it does give me an idea for a workaround:
> >
> > ln -s /usr/bin/python2.6 /Applications/Qgis.app/Contents/MacOS/bin/python
> >
> > This puts a symlink to the system python in the Qgis application bin, which should be in the PATH in the Qgis environment.
> >
> > Yes, it makes sense! So? Does it work?
> >
> >
> > 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.
> >
> > A stupid idea:
> > Yes, it was...
> >
> > A+
> > Pierre
> >
> >
> > --
> > ____________________________________________________________________________
> > Pierre Chevalier Géologue EI
> >   Mesté Duran
> >   32100 Condom
> >  Tél+fax  :    09 75 27 45 62
> >               05 62 28 06 83
> >                06 37 80 33 64
> >  Émail  :   pierrechevaliergeolCHEZfree.fr
> >  icq#   :   10432285
> >  skype  :   pierre.chevalier1967
> >  http://pierremariechevalier.free.fr/pierre_chevalier_geologue
> > ____________________________________________________________________________
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> >
> > --
> > Giuseppe Sucameli
> > _______________________________________________
> > 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/
> 
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that remind me of?  Ah, yes - life."
> 
> - Marvin
> 
> 
> 
> 
> 
> -- 
> Giuseppe Sucameli
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100930/04ae89fa/attachment.html>


More information about the Qgis-user mailing list