greenlaw

Output spam when executing arcpy functions

Discussion created by greenlaw on Jun 25, 2012
Latest reply on Nov 7, 2012 by greenlaw
I've been working with ArcGIS Server 10.1 beta, prerelease, and now final (Red Hat Enterprise Linux, if that matters) for several months and have noticed the same issue with all three when executing ArcPy functions using the python interpreter packaged with the software (<AGS install dir>/tools/python).

I have an ArcSDE 10.1 Enterprise Geodatabase on top of a PostgreSQL 9.0 database, and whenever I execute an arcpy function that imports data into the geodatabase, e.g.:
arcpy.Append_management(...)
or
arcpy.MosaicToNewRaster_management(...)
...I get many lines of extra output as follows:

...
column number 38 is out of range 0..37
column number 38 is out of range 0..37
column number 38 is out of range 0..37
column number 38 is out of range 0..37
column number 38 is out of range 0..37
column number 38 is out of range 0..37
...


The commands all seem to succeed, so I'm not sure where these messages are coming from. 

Other than using grep or otherwise postprocessing the command output, is there any way to suppress these messages?

Outcomes