Ticket #51 (closed Defect: fixed)
Install Problem with ArcGIS 9.2
|Reported by:||bbest||Owned by:||jjr8|
Description (last modified by bbest) (diff)
fyi, i get mget install error with arcgis 9.2sp1 (you mention only tested with arcgis 9.1). the biggest difference is instantiation of geoprocessor (from arcgis help: what's new):
# 9.1 style (supposedly backwards compatible with 9.2) import win32com.client gp = win32com.client.Dispatch(“esrigeoprocessing.gpdispatch.1”) # 9.2 import arcgisscripting gp = arcgisscripting.create()
WARNING: Failed to add the ArcGIS toolbox to ArcCatalog. The toolbox registration program "C:\Python24\lib\site-packages\GeoEco\ArcGISToolbox\Bin\RegisterToolboxWithArcCatalog.exe register 'C:\Python24\lib\site-packages\GeoEco\ArcGISToolbox\Marine Geospatial Ecology Tools.tbx'" reported: Unhandled Exception: System.TypeInitializationException: The type initializer for 'RegisterToolboxWithArcCatalog.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'ESRI.ArcGIS.Geoprocessing, Version=22.214.171.1242, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified. File name: 'ESRI.ArcGIS.Geoprocessing, Version=126.96.36.1992, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' at RegisterToolboxWithArcCatalog.Program..cctor() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at RegisterToolboxWithArcCatalog.Program.Main(String args) You can manually add the toolbox to ArcCatalog from this location: C:\Python24\lib\site-packages\GeoEco\ArcGISToolbox\Marine Geospatial Ecology Tools.tbx Some installation tasks failed. Please review the error messages above.