<?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 / ArcMap 9.3.1: &amp;amp;amp;quot;Error in getting parameter as text&amp;amp;amp;quot; in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-arcmap-9-3-1-amp-amp-quot-error-in-getting/m-p/153950#M5174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting an error that I can't understand, when trying to run a Python script (my first with ArcMap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;type 'exceptions.RuntimeError'&amp;gt;: Object: Error in getting parameter as text&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Boolean).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find this error anywhere, Google returns no hits at all for "Error in getting parameter as text", which is somewhat disturbing, maybe it will now). The ESRI error page: &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=tool_errors_and_warnings:576-600"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=tool_errors_and_warnings:576-600&lt;/A&gt;&lt;SPAN&gt; has this "000580: Error getting parameter information". The solution is: "This error is only likely to occur in a custom tool. Please contact the tool's developer for more assistance."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That would be me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the tool perfectly fine by taking the arguments from the error message and running it from the command line (using a batch file), but I can't get the toolbox interface to execute a full set of parameters (it will execute some parameters - I have the tool set up so you can give it a configuration file instead of pointing and clicking, and that works, but it stops reading the parameters once it has the configuration file and output format). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sending a series of paths to raster files, and some arguments are multiple files (separated by semicolons). Still, the command line argument generated by &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone seen this before? Is there a way around it? Any clues about what is causing it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I might try using sys.argv&lt;X&gt;, maybe that will give me more information...&lt;/X&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Oct 2010 14:48:12 GMT</pubDate>
    <dc:creator>JPGlutting</dc:creator>
    <dc:date>2010-10-02T14:48:12Z</dc:date>
    <item>
      <title>Python / ArcMap 9.3.1: &amp;amp;quot;Error in getting parameter as text&amp;amp;quot;</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-arcmap-9-3-1-amp-amp-quot-error-in-getting/m-p/153950#M5174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting an error that I can't understand, when trying to run a Python script (my first with ArcMap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;type 'exceptions.RuntimeError'&amp;gt;: Object: Error in getting parameter as text&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Boolean).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find this error anywhere, Google returns no hits at all for "Error in getting parameter as text", which is somewhat disturbing, maybe it will now). The ESRI error page: &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=tool_errors_and_warnings:576-600"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=tool_errors_and_warnings:576-600&lt;/A&gt;&lt;SPAN&gt; has this "000580: Error getting parameter information". The solution is: "This error is only likely to occur in a custom tool. Please contact the tool's developer for more assistance."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That would be me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the tool perfectly fine by taking the arguments from the error message and running it from the command line (using a batch file), but I can't get the toolbox interface to execute a full set of parameters (it will execute some parameters - I have the tool set up so you can give it a configuration file instead of pointing and clicking, and that works, but it stops reading the parameters once it has the configuration file and output format). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sending a series of paths to raster files, and some arguments are multiple files (separated by semicolons). Still, the command line argument generated by &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone seen this before? Is there a way around it? Any clues about what is causing it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I might try using sys.argv&lt;X&gt;, maybe that will give me more information...&lt;/X&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Oct 2010 14:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-arcmap-9-3-1-amp-amp-quot-error-in-getting/m-p/153950#M5174</guid>
      <dc:creator>JPGlutting</dc:creator>
      <dc:date>2010-10-02T14:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python / ArcMap 9.3.1: "Error in getting parameter as text"</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-arcmap-9-3-1-amp-amp-quot-error-in-getting/m-p/153951#M5175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As usual, the solution occurred to me right after I posted - this is from calling an index value with GetParameterAsText() beyond the length of the arguments. I have three tools calling the same script with different parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now on to other errors :-).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Oct 2010 15:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-arcmap-9-3-1-amp-amp-quot-error-in-getting/m-p/153951#M5175</guid>
      <dc:creator>JPGlutting</dc:creator>
      <dc:date>2010-10-02T15:50:25Z</dc:date>
    </item>
  </channel>
</rss>

