The failure occurs in the Python for Windows Extensions (pywin32) pywintypes.py module, and appears to be an incompatibility between pywin32 and the way that ArcGIS 9.3 hosts the Python interpreter. All MGET statistics tools are affected, because they use MGET's custom copy of the Python rpy module, into which I introduced a dependency on pywin32 to address various problems (see r426).
This problem also affects other tools in MGET, mainly those that use COM Automation to instantiate the ArcGIS geoprocessor. Details of the problem and workarounds are described in #386. Please see that ticket for more information.
The traceback looks similar to this:
...
File "C:\Python25\Lib\site-packages\GeoEco\AssimilatedModules\rpy\rpy.py", line 68, in <module>
RUSER = rpy_tools.get_R_USER()
File "C:\Python25\Lib\site-packages\GeoEco\AssimilatedModules\rpy\rpy_tools.py", line 122, in get_R_USER
from win32com.shell import shell, shellcon
File "C:\Python25\Lib\site-packages\win32com\__init__.py", line 6, in <module>
import pythoncom
File "C:\Python25\lib\site-packages\pythoncom.py", line 3, in <module>
pywintypes.__import_pywin32_system_module__("pythoncom", globals())
File "C:\Python25\lib\site-packages\win32\lib\pywintypes.py", line 20, in __import_pywin32_system_module__
if not sys.platform.startswith("win32"):
AttributeError: 'NoneType' object has no attribute 'platform'