Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | "Jason Roberts" <> |
---|---|
To: | "'Hedley Grantham'" <>, <> |
Subject: | RE: Downloading SSH |
Date: | Wed, 28 Jan 2009 13:40:44 -0500 |
Hedley, I have confirmation that the following solution fixes the
problem. Please try this and let me know if it works for you. Best regards, Jason MGET is failing to import the "dap" Python
package. Previously, MGET required you to install this package manually. The
latest alpha version of MGET include a copy of this package. The intent was for
MGET to use its own copy if you did not have one already. This works properly
on the machine that I use for testing, but I now know that the dap package
itself depends on a package called pkg_resources. This is part of something
else that I happened to have installed on my test machine. That is why it was
succeeding for me but failing for you. And, due to another bug, we couldn't see
the error message that described this root cause. To fix this, you can install a copy of the dap package
yourself. 1. Download the file http://peak.telecommunity.com/dist/ez_setup.py
to your C:\ directory. 2. Start a CMD shell. 3. Type the following and press enter: C:\ez_setup.py 4. The setuptools package should install. (You can now delete
the C:\ez_setup.py file if you like.) Now type this: C:\Python25\scripts\easy_install dap 5. The dap package should install. Now try the MGET tool
again. I will fix MGET so it properly includes a copy of the dap
package without requiring you to perform this procedure. We hope to issue a new
release with this fix in the next two weeks. From: Jason Roberts
[mailto:] Hedley, We're sorry you are seeing this problem. Someone just contacted
us about it several days ago. We are actively investigating it and would like
to resolve it as soon as possible. There are at least two issues in play here. I
believe the NameError is not the root issue, but a problem that happens when
MGET tries to report the root issue. What version of ArcGIS are you running? Could you please try the following: 1.
Save the two attached files to the C:\PythonXY\Lib\site-packages\GeoEco
directory, where XY is your version of Python, probably 25 if you have Arc 9.3
or 24 if you have 9.2. Overwrite the two files that are already in that
directory. 2.
Try the tool again. Hopefully you will get a different error
message this time. 3.
Send me the output. Thanks, Jason From: Hedley Grantham
[mailto:] I
am getting the following error when trying to use MGET to download SSH data. |