Skip to Content.

mget-help - RE: [mget-help] Error Messages with Installation of MGET 0.8 alpha 4 (for Python 2.5)

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: "'Thomas Moore'" <>
Cc: <>
Subject: RE: [mget-help] Error Messages with Installation of MGET 0.8 alpha 4 (for Python 2.5)
Date: Wed, 20 Jan 2010 22:42:56 -0500
Hi TJ,

Thank you very much for contacting us about this, and for providing the
detailed information. I have seen evidence of this in the installation
reports that we receive automatically, but there is not enough information
in them to diagnose the problem, so I've had trouble nailing it. My current
suspicion is that this has something to do with Windows User Account Control
(UAC) or the other security changes that went into Windows Vista.

The messages you are seeing indicate that MGET had trouble registering
itself with the Microsoft Component Object Model (COM) system. As a result,
you will not be able to run MGET tools from programming languages other than
Python. But this does not affect ArcGIS; you should still be able to run
MGET from ArcGIS just fine. Therefore, unless you plant to write some
programs, you don't have anything to worry about.

I have one question and one favor to ask, if it's not too much trouble:

The question: When you installed it, did you save the downloaded
installation program some place, right click on it, and select Run As
Administrator? Starting with Windows Vista, this is effectively the "no,
really, I DO MEAN IT" command when it comes to installing things. I think
the Python 2.5 installation code, written before Vista was released, is not
aware of some of the additional security impositions that occur even when
the user's account is part of the Administrators group. In order to get full
administrator access like you had on Windows XP, you have use Run As
Administrator.

The favor: Assuming the answer to the above is no, could you please try the
following:

1. Shut down all ArcGIS apps.

2. Uninstall MGET (start Control Panel, switch to Classic View, open
Programs and Features, find Python 2.5 GeoEco-0.8a4 and remove it).

3. Install MGET again the *exact same way* as last time, i.e. without using
Run As Administrator, and verify that the problem reproduces.

4. Uninstall MGET again.

5. Now install it but use Run As Administrator.

Let me know if you could repro it in step 3 but not in step 5.

If this is too much of a hassle, please don't worry about it. I can
eventually get access to a Vista machine to try this on. (I have one
already, but it is not in a good state...)

If this *is* the problem, I'm pretty sure I can develop a test for it, so
the installer will warn you prior to starting that you have not done Run As
Administrator and gives instructions on how to do it.

Thanks again,

Jason

-----Original Message-----
From: Thomas Moore 
[mailto:]
 
Sent: Wednesday, January 20, 2010 9:02 PM
To: 

Subject: [mget-help] Error Messages with Installation of MGET 0.8 alpha 4
(for Python 2.5)

Installing this file:  GeoEco-0.8a4.win32-py2.5.exe

System:  Windows Vista OS (64-bit machine)
ESRI:  ArcGIS 9.3.1 SP 1 (Build 3500)
Python:  Python 2.5

I get the following two messages:

"The MGET setup program was unable to register one or more classes from 
the Python GeoEco package as COM Automation classes.  As a result, you 
will not be able to invoke these GeoEco classes from programming 
languages other than Python via COM Automation (i.e., the IDispatch COM 
Interface).  This problem is rate and unexpected.  Please contact the 
MGET development team for help with resolving it.  Please provide the 
following debugging info:

The Python win32.com.server.register.RegisterServer function raised 
error: (5, 'RegSetValue', 'Access is denied.')"

"The MGET setup program was unable to register one or more classes from 
the Python GeoEco package as COM Automation classes.  As a result, you 
will not be able to invoke these GeoEco classes from programming 
languages other than Python via COM Automation (i.e., the IDispatch COM 
Interface).  This problem is rate and unexpected.  Please contact the 
MGET development team for help with resolving it.  Please provide the 
following debugging info:

python.com.RegisterTypeLib (tli, 
'D:\Python25\lib\site-packages\GeoEco\COM\GeoEco.tlb') reported: 
com_error: (-2147319780, 'Error accessing the OLE registry.', None, None)"

The software seems to have installed correctly otherwise and I recall 
testing an MGET function so I believe parts of it are working OK.  It's 
not critical, but just an FYI.

By the way, I installed the software as local administrator.

TJ

-- 
T.J. Moore
NOAA Fisheries
Southwest Fisheries Science Center
Protected Resources Division
8604 La Jolla Shores Dr.
La Jolla, CA 92037
T:858-546-7088
F:858-546-7003
Email: 

URL: http://swfsc.noaa.gov


Archives powered by MHonArc.
Top of Page