> On Feb 15, 2012, at 12:06 PM, Giuseppe Sucameli wrote:
> 
>> Hi,
>> 
>> On Wed, Feb 15, 2012 at 6:38 PM, dpan <[email protected]> wrote:
>>> Per your advice I deleted the
>>> "Path to the GDAL binaries" setting and restarted qGIS, but now it's just
>>> blank - seems nothing was auto-generated.
>> 
>> because you're using an old version of GdalTools plugin, it was
>> updated in QGis master and also in the plugin repository.
>> 
>> The new version of GdalTools plugin allows you to set the path
>> to python modules (if not found like in your case).
>> 
>> Just use the Python Plugins Installer to update it (it could require to
>> enableexperimental plugins if not done before).
>> After installation, remove again the Path to executables in
>> Settings dialog, then restart. Now should be auto-filled.
>> If it doesn't still work, then set the Path to python modules to
>> something like
>> 
>> /Library/Frameworks/GDAL.framework/Versions/1.8/Python/2.7/site-packages
>> 
On Feb 15, 2012, at 12:45 PM, dpan wrote:

> Excellent - that worked! Thanks again.
> Dave

Well, even before the GdalTools plugin update, it should work with only the 
GDAL path I gave.  The updates to the plugin were meant for an all-in-one QGIS, 
where external python programs don't know to look inside the QGIS app for 
modules.

>> Producing error "env: python2.7: No such file or directory." Suspect the
>> Versions/1.8 bit was important.

The real problem is that your GDAL install seems to be messed up.  When 
installed, it changes the shebang at the top of all the GDAL python tools to 
use an explicit python version (2.6 for Snow Leopard and 2.7 for Lion) just in 
case a user has installed a different incompatible version of Python.  Somehow 
your GDAL python tools got the wrong python version.

What does this return in a Terminal:

file /System/Library/Frameworks/Python.framework/Versions/2.7/Python

It should be "No such file or directory".

What does this return in a Terminal:

ls -l /Library/Frameworks/GDAL.framework/Versions

Forcing GdalTools plugin to use a user-installed Python 2.7 on Snow Leopard 
with the Python 2.7 version of the GDAL module may work, but I don't support 
that in my GDAL framework.

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

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to