Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a tool that I created from a Python script which I update from time to time. Usually I will right-click the tool and choose Import Script, but lately this has been unavailable, as shown below:

enter image description here

This has been happening to almost all the tools I create, usually after a few imports. The problem is that if the script is cached the only workaround is to create a whole new interface, which can be pretty time-consuming. Does anyone know why this happens?

I found this post on the Esri forums describing the same problem:


share|improve this question
Is the script for ArcGIS Desktop or Server and is it currently running? – Mintx Dec 3 '12 at 19:06
It's for Desktop (10.1 SP1) and not currently running. – Mapbert Dec 3 '12 at 19:17
Do you have a strong need to import the script into the tools cache? Why not just allow the ArcGIS script tool to point to the script (on disk) itself. Unless it is for portability or to "hide" the script from a user, there is no need to "Import Script"... – RyanDalton Dec 3 '12 at 21:16
I've never seen Python scripts get cached using the method @RyanDalton suggests so would recommend using that rather than Import Script which seems to be for Embedding scripts and password protecting tools – PolyGeo Dec 4 '12 at 3:11
I rebuilt the tool without importing and it seems to be working better, so maybe that is the way to go. Thanks guys. I still don't understand though what would make the Import Script option disappear like that (suppose I did need to embed the script, for example). Anyone from Esri listening? :) – Mapbert Dec 4 '12 at 19:06

The question has been answered in Geonet:

you need to export script and then you gonna be able to add a new script... Don't overwrite the script you want to import.

share|improve this answer
Could you link to the source? – nmpeterson Oct 27 '14 at 18:28

In your Comment you ask if anyone from Esri is listening.

Although a number of Esri staff are regular users of this site, I suspect each will be focussed on their own area(s) of expertise.

Consequently, if this issue is still of concern to you then I think that you should submit this to your local Esri Support. However, before doing that I recommend that you try to have it in a reproducible form.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.