I found a complete toolbox (Animal Movement tbx, by Regan Sarwas) for my tasks and I tried it.

I had a systematic problem with the codes for all tools (line 1), for exemple:

Executing: MinimumConvexPolygon D_VIVEK C:\Users\student\Documents\ArcGIS\Default.gdb\D_VIVEK_MinimumConvexPolygon 100 Fixed_Mean # #
Start Time: Sun Apr 13 13:12:47 2014
Running script MinimumConvexPolygon...
Failed script MinimumConvexPolygon...
SyntaxError: invalid syntax (HomeRange_MinimumConvexPolygon.py, line 1)
Failed to execute (MinimumConvexPolygon).
Failed at Sun Apr 13 13:12:47 2014 (Elapsed Time: 0.16 seconds)

Could anyone help me to understand and correct the problem?

ArcGIS 10.2.1 for Desktop - Windows 7


There appears to be a solution on your duplicate post on the Esri forums:

You just need to delete this part (first three lines of the script):

Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit
(Intel)] on win32 Type "copyright", "credits" or "license()" for more

I think the author of this tool meant to delete this portion of the code. This is the text that appears at the top of the Python shell window.

Your Answer

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

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