<?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 Python RuntimeError in Geoprocessing Service: DescribeData: Method * does not exist in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-runtimeerror-in-geoprocessing-service/m-p/115030#M8979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Python developer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a script, which adds a field to a feature class and adds a value to this new field for each feature in the class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On my local machine everything works just fine as a Tool in ArcGIS Desktop, but when I try to share the Tool as a geoprocessing service with my ArcGIS Server 10.0 (.net) I get a RuntimeError for my Describe Object. It seems that no call to the describe object properties can be made. I always get the message&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;type 'exceptions.RuntimeError'&amp;gt;: DescribeData: Method ****** does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can exchange the ***** to any property of the describe object (e.g. catalogpath, path or DataType)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I tried to use another ArcGIS Server 10.0 (.net) and everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have an idea why one Server can use the descrie object from arcpy and the other ArcGIS Server can not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All ideas are highly welcome!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2012 09:17:58 GMT</pubDate>
    <dc:creator>MartinRick</dc:creator>
    <dc:date>2012-10-26T09:17:58Z</dc:date>
    <item>
      <title>Python RuntimeError in Geoprocessing Service: DescribeData: Method * does not exist</title>
      <link>https://community.esri.com/t5/python-questions/python-runtimeerror-in-geoprocessing-service/m-p/115030#M8979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Python developer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a script, which adds a field to a feature class and adds a value to this new field for each feature in the class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On my local machine everything works just fine as a Tool in ArcGIS Desktop, but when I try to share the Tool as a geoprocessing service with my ArcGIS Server 10.0 (.net) I get a RuntimeError for my Describe Object. It seems that no call to the describe object properties can be made. I always get the message&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;type 'exceptions.RuntimeError'&amp;gt;: DescribeData: Method ****** does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can exchange the ***** to any property of the describe object (e.g. catalogpath, path or DataType)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I tried to use another ArcGIS Server 10.0 (.net) and everything works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have an idea why one Server can use the descrie object from arcpy and the other ArcGIS Server can not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All ideas are highly welcome!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 09:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-runtimeerror-in-geoprocessing-service/m-p/115030#M8979</guid>
      <dc:creator>MartinRick</dc:creator>
      <dc:date>2012-10-26T09:17:58Z</dc:date>
    </item>
  </channel>
</rss>

