1

I've been asked to support a legacy script that was "made" (read: found) by a former coworker.

My python skills are pretty basic, so I went right to installing the applet like I would for a VBS applet, got an error saying no python, so I put on python, similar error, I read about python win32, and got that on all nicely matched up with bit (32) and version (2.7.7). Ran the applet, and it starts python and does some string manipulations to create an output name so I know Python is working, then it crashes on "import arcgisscripting".

Now I have enough Python experience to know that's the usual call you make in the Desktop environment... A quick check and sure enough the laptop where this applet currently works has a copy of ArcGIS on it...

I have read in a few places that a ArcGIS runtime SDK might solve the problem, but which one...? Does python even care? How do you buy a runtime sdk license and how much?

Many many thanks for any help at all. At this point I'm open to any suggestions.

  • 1
    what is your version of ArcGIS ? – radouxju Sep 17 '14 at 14:40
  • 1
    In the event you want to tweak it to work with ArcPy instead (which I'd do personally, but "pretty basic" python skills might not want to), this checklist can be helpful for upgrading. – Erica Sep 17 '14 at 14:49
  • I agree with @Erica I would start by replacing references to the older arcgisscripting geoprocessor with arcpy. +1 for that check list link that is a very useful starting point when upgrading a python script. – Hornbydd Sep 18 '14 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.