1

I have written a few custom Python Toolboxes that my office uses.

One of my coworkers has an interesting issue that I cannot replicate on a different machine:

When he runs the tool, ArcGIS Desktop crashes and tries to send an error report. The script does not begin running. This happens when running the script in both ArcCatalog and ArcMap.

Only one of the scripts I have written causes this, others behave normally. The script began causing this behavior recently, it previously worked fine for him.

Is there anything I should check?

Re-installing ArcGIS Desktop seems like the only thing that might fix this problem.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Feb 15, 2018 at 22:58
4
  • 4
    Application errors like this are really the domain of Esri Tech Support. It's unlikey we could reproduce the issue, especially if you can't reproduce it on all systems at your site. Commented Feb 15, 2018 at 23:06
  • 1
    Look for another or different install of python than that which is installed by the ArcGIS installer. If I had any money that's what I would bet on! Can this user run the Esri scripts in the toolbox? They have a different picture to the tools.. Is this users' install a different version to the others? Prior to 10 instead of importing arcpy one used gp = arcgisscripting.create() to instantiate a geoprocessor. Commented Feb 15, 2018 at 23:06
  • 1
    I would also ask your coworker whether he has installed/upgraded any third-party python libraries. I have in the past broken ArcGIS Desktop by accidentally upgrading numpy (by pip install pandas which automatically upgraded numpy) Commented Feb 16, 2018 at 0:28
  • while developing python I have to reinstall arcgis every few months. Commented Apr 4, 2018 at 20:32

1 Answer 1

3

You could review these previous Q&As tagged but, if you have not already uninstalled and reinstalled ArcGIS Desktop (and Python with it), then I think the expedient would be to do that first.

Also, check to see whether the user has tried turning off Background Geoprocessing.

answered Feb 15, 2018 at 23:03
2
  • Thanks for informing me of the serious-application-error tag, and yes he has turned off background geoprocessing. Commented Feb 15, 2018 at 23:23
  • 2
    Re-installing Arc solved the problem, answer accepted. Commented Apr 4, 2018 at 20:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.