When calculating a field value, either via the Field Calculator dialog or ArcToolbox, sometimes there is an error, which results in a message and a new node in the Results window. I have found that the error could provide more information to me, which would be helpful in tracking down the problem. Currently, error messages express too little information, and it can be very time-consuming to figure out where *I* went wrong (not the software, of course)
The error message could tell me if there's a syntax error or not. It could tell me what row it crashed on, in case the field calculation relies on other field values in the table. Perhaps it could tell me the values of my variables, or what method it was in when the field calculator threw the exception. Maybe it could give me a Python call stack or something. I don't want the impossible; I just want more information in the error message than I have now.
I see a similar problem when the value I calculate isn't proper for the field, like an empty string for a date field, or a string for a number field. It would be nice if the error message showed me the value of what I'm trying to put in the field. Together with the knowledge of what row in the database the calculator was on, I could backtrack and figure out the problem and try again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.