bcohen

Sorting with Updatecursor, receiving odd error

Discussion created by bcohen on Jun 14, 2011
Latest reply on Jun 15, 2011 by bcohen
Hi all

I have some code that uses an updatecursor. When I use the line:
TableCursor = arcpy.UpdateCursor("Puma_Cumulative_Telemetry)
everything works fine.

When I try to sort using the updatecursor, I use:
TableCursor = arcpy.UpdateCursor("Puma_Cumulative_Telemetry","","","","GMT_Time A; GMT_Date A; Lion A")
I get the error:
<type 'exceptions.RuntimeError'>: ERROR 999999: Error executing function.
General function failure [Puma_Cumulative_Telemetry]
Too few parameters. Expected 13.
Failed to execute (DateTimeDiff).

It's the "Expected 13." part that I find very strange. It shouldn't be the updatecursor that is expecting 13 parameters, but i haven't changed anything else.

Any insights greatly appreciated!

Outcomes