Skip to Content.

mget-help - RE: Problem with installation

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: "'Hemanaden Runghen'" <>, <>
Subject: RE: Problem with installation
Date: Thu, 15 Jan 2009 08:45:33 -0500

Dear Hemanaden,

 

Thanks for your interest in MGET. The problem here is that the MGET setup program only adds the MGET toolbox to the Arctoolbox list for the user that installed it. You can manually add the toolbox from this location:

 

C:\PythonXY\Lib\site-packages\GeoEco\ArcGISToolbox

 

where XY is your Python version (usually 24 for Arc 9.1 and 25 for Arc 9.1 and 9.3). In that directory, there is one toolbox for Arc 9.2 and earlier, and one for 9.3. Be sure to pick the right one for your version of ArcGIS.

 

In a future release we plan on relocating the toolbox from here to a subdirectory of C:\Program Files. This is because, when you build a geoprocessing model that includes tools from third-party toolboxes such as MGET, ArcGIS hard-codes the path to the toolbox in the geoprocessing model. But because we are currently storing the toolbox in the Python site-packages directory (the typical location for Python packages) it means that models built with MGET for one version of Python are broken when you switch to using MGET for another version of Python. For example, if you build a model using ArcGIS 9.2 with Python 2.4 and then upgrade to 9.3 with Python 2.5, when you open a model in 9.3 built with 9.2, you will see a red X on each MGET tool, and have to instruct ArcGIS on the location of the tool. This is because the model's internal reference to the toolbox was to C:\Python24\Lib\site-packages\GeoEco\ArcGISToolbox, but that no longer exists; now the toolbox is in C:\Python25\Lib\site-packages\GeoEco\ArcGISToolbox. To avoid this problem, we want to keep the toolbox in a single location regardless of which version is used. This change will likely happen for MGET 0.7. We are tracking the issue here: https://code.env.duke.edu/projects/mget/ticket/299.

 

On a side note: In my opinion, it seems that ArcGIS could easily avoid this problem by referencing toolboxes by alias rather than by location. For example, the MGET toolbox has the alias GeoEco, just like the Spatial Analyst toolbox has the alias sa. But, sadly, it does not work this way…

 

Best regards,

 

Jason

 

From: Hemanaden Runghen [mailto:]
Sent: Wednesday, January 14, 2009 11:59 PM
To:
Subject: Problem with installation

 

Dear Sir,

 

I have installed MGET as administrator and it is working perfectly. However when I login using as a user, I can’t find the MGET toolbox in arctoolbox of my arcgis 9.2.

 

Could you please help me solve this problem?

 

Best regard

 

H. Runghen

Associate Research Scientist

Mauritius Oceanography Institute

Archives powered by MHonArc.
Top of Page