Begin forwarded message:
From: "John C. Tull" <john.t...@wildnevada.org>
Date: 15 July 2009 22:10:47 GMT-06:00
To: Sebastian Cruz <cruz....@gmail.com>
Subject: Re: Hello,
Sebastian,
I'm really not much better (any?) at figuring this stuff out than
you. I don't know why python would not be detected. Can you run
python from the terminal? If so, try a command like 'import rpy2'
and see what happens. Same with other modules you need.
Frankly, the homerange plugin never quite worked for me on OS X. I
think it did for a while, then did not. I'm not sure why, and I gave
up. You may also look at the manageR plugin, but you will have to
learn R commands for doing your analyses. R is a great program, and
you can get the binary online. In fact, you should already have it
to get rpy2 working (I think). Don't forget, rgdal is available from
William's site as a binary. I assume you tried that.
I would encourage you to contact the dev of the plugin if none of
the above helps. They are better at reading those outputs than I am.
Best,
John
On Jul 15, 2009, at 8:19 PM, Sebastian Cruz wrote:
Hi John,
I have to say I am not surprised by your reaction to the email I
sent you, I also cannot make any sense out of it (and I know very
little compared to you). I was wondering if the following messages
makes more sense to you:
Couldn't load plugin "HomeRange_plugin" from ['/Applications/
Qgis.app/Contents/MacOS/share/qgis/python', '/Users/
sebastiancruz/.qgis//python/plugins', '/Applications/Qgis.app/
Contents/MacOS/share/qgis/python/plugins', '/Library/Frameworks/
GDAL.framework/Versions/1.6/Python/site-packages', '/Library/Python/
2.5/site-packages/SQLObject-0.10.6-py2.5.egg', '/System/Library/
Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/
System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5', '/System/Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/
Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-
mac/lib-scriptpackages', '/System/Library/Frameworks/
Python.framework/Versions/2.5/Extras/lib/python', '/System/Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/
System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/lib-dynload', '/Library/Python/2.5/site-packages', '/
System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/
python/PyObjC', '/Users/sebastiancruz/.qgis/python/plugins/fTools/
tools']
This is a message I get when I start up QGIS. The problem seems to
be GDAL mostly, which relates to the message I sent you earlier.
But overall I think the problem radicates in Python. In terminal I
can prompt Python 2.5 and make simple tests (2+2=4) witthout a
problem. But for example when trying to install Numpy from a
binary, it says it cannot detect python 2.5 in my system. Do you
think an upgrade would work?
I am sorry to keep bothering you with questions, but I really want
this work.
Sebas
On 15 Jul 2009, at 16:49, John C. Tull wrote:
I'm afraid I can be of no help here. This is not anything I've
ever encountered.
Sorry,
John
On Jul 15, 2009, at 3:25 PM, Sebastian Cruz wrote:
Hi John,
Thank you for the lenthgy email you sent me. You are correct, I
have not set up the environment. I followed your recomendations
but encountered yet another problem. When trying to communicate
with GDAL, I get the following message:
/Library/Frameworks/GDAL.framework/Versions/1.6/GDAL ; exit;
sebastian-cruzs-macbook:~ sebastiancruz$ /Library/Frameworks/
GDAL.framework/Versions/1.6/GDAL ; exit;
-bash: /Library/Frameworks/GDAL.framework/Versions/1.6/GDAL:
cannot execute binary file
logout
[Process completed]
I do not know why the binary is having this problem. I had the
same issue instally rpy2 from terminal, with install sudo
easy_install -U rpy2.
(zip_safe flag not set; analyzing archive contents...
No eggs found in /tmp/easy_install-fULGJF/rpy2-2.0.6/egg-dist-tmp-
Ddqx_x (setup script problem?)
My python is 2.5, that came witht he MacoSX operating system. I
have not installed any other version.
Something is wrong with my system it appears.
Sebastian
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user