Skip to Content.

mget-help - RE: Downloading SSH

Please Wait...

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
Title: Downloading SSH

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:]
Sent: Wednesday, January 28, 2009 8:57 AM
To: 'Hedley Grantham'; ''
Subject: RE: Downloading SSH

 

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:]
Sent: Wednesday, January 28, 2009 1:51 AM
To:
Subject: Downloading SSH

 

I am getting the following error when trying to use MGET to download SSH data.

Have you got any ideas what is going wrong, here is what I am getting:

Executing: AvisoDownloadSSHDatasetToArcGISRasters "Global DT-MSLA Ref Topex/Poseidon, Jason-1" 1/1/2006 1/1/2007 C:\WorkSpace ssh%Y%j false # # # # # # # false false C:\WorkSpace
Start Time: Wed Jan 28 17:41:15 2009
Running script AvisoDownloadSSHDatasetToArcGISRasters...
NameError: global name 'message' is not defined
<type 'exceptions.NameError'>: global name 'message' is not defined
Failed to execute (AvisoDownloadSSHDatasetToArcGISRasters).
End Time: Wed Jan 28 17:41:17 2009 (Elapsed Time: 2.00 seconds)

Cheers
Hedley Grantham

< date >
< thread >
Archives powered by MHonArc.
Top of Page