[GIS] Toolbox from 10.0 causes an ArcGis 10.1 crash

arcgis-10.1arcgis-desktoparctoolbox

I'm trying to open a toolbox prepared in ArcGis 10.0 in ArcGis 10.1 but it crashes the entire application. No error message is shown.

Any ideas what might cause the problem? Or how to debug it?

Best Answer

I found the issue. I didn't have the PATH and PYTHONPATH variables set correctly. Apparently if the ArcGis 10.1 doesn't find a python interpreter it crashes silently...

I found the solution at: http://forums.arcgis.com/threads/60080-ArcMAP-10.1-Crashes-opening-the-ArcToolbox-window.

Go to Advanced system settings. In the window that comes up, go to the Advanced tab, then at the bottom click Environment Variables. Click in the list of system variables and start typing Python, and repeat for System variables, just to make certain that you don't have mis-set variables for PYTHONPATH or PYTHONHOME. Next, add new system variables: PYTHONPATH, set to C:\Python27\ ArcGIS10.1. PYTHONHOME, set to C:\Python27\ArcGIS10.1\ set PATH=%PYTHONHOME%;%PATH%

Related Question