<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Output spam when executing arcpy functions in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540397#M42253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I never found the cause.&amp;nbsp; I'm sure it's just internal to arcpy, and perhaps specific to Linux and/or PostgreSQL connections.&amp;nbsp; As far as I can tell there's no way to suppress it from STDERR.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not as big of an issue for me any more though -- now I'm running all arcpy functions in a new process (using subprocess.check_output) and capturing both STDERR and STDOUT output, which I don't print out unless I'm debugging, so it's hidden from view most of the time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 16:19:15 GMT</pubDate>
    <dc:creator>JasonGreenlaw</dc:creator>
    <dc:date>2012-11-07T16:19:15Z</dc:date>
    <item>
      <title>Output spam when executing arcpy functions</title>
      <link>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540395#M42251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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 (&amp;lt;AGS install dir&amp;gt;/tools/python).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.: &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;arcpy.Append_management(...)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;arcpy.MosaicToNewRaster_management(...)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; ...I get many lines of extra output as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;...
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
...&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The commands all seem to succeed, so I'm not sure where these messages are coming from.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other than using grep or otherwise postprocessing the command output, is there any way to suppress these messages?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 14:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540395#M42251</guid>
      <dc:creator>JasonGreenlaw</dc:creator>
      <dc:date>2012-06-25T14:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Output spam when executing arcpy functions</title>
      <link>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540396#M42252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm seeing the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever sort out what it is? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's annoying because it causes my except clauses to run when there does not seem to be anything wrong.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 21:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540396#M42252</guid>
      <dc:creator>JeffBurton</dc:creator>
      <dc:date>2012-09-25T21:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Output spam when executing arcpy functions</title>
      <link>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540397#M42253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I never found the cause.&amp;nbsp; I'm sure it's just internal to arcpy, and perhaps specific to Linux and/or PostgreSQL connections.&amp;nbsp; As far as I can tell there's no way to suppress it from STDERR.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not as big of an issue for me any more though -- now I'm running all arcpy functions in a new process (using subprocess.check_output) and capturing both STDERR and STDOUT output, which I don't print out unless I'm debugging, so it's hidden from view most of the time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 16:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/output-spam-when-executing-arcpy-functions/m-p/540397#M42253</guid>
      <dc:creator>JasonGreenlaw</dc:creator>
      <dc:date>2012-11-07T16:19:15Z</dc:date>
    </item>
  </channel>
</rss>

