<?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: error when running a system variable %n% in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355193#M12320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. Sorry for the confusion but I am using %Name% &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2012 12:47:50 GMT</pubDate>
    <dc:creator>ChrisGraves</dc:creator>
    <dc:date>2012-10-02T12:47:50Z</dc:date>
    <item>
      <title>error when running a system variable %n%</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355191#M12318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi GIS Gurus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a model that works when running it in edit mode but doesn't when running it from the tool dialog box. This is the scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got 3 shapefiles that I'm iterating in a model and processing using an in-line variable (%n%). When I run the model in edit &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mode it produces 3 shapefiles (shapefile0, Shapefile1, shapefile2) without any issues. When I run it from the tool dialog box, it runs &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;without error but for shapefile0, I get the attached error when I try to open the file in ArcCatalog or add it into ArcGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The model I'm running is not large and is running 4 tools (see screenshot). I'm running ArcGIS v10 (SP5).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done some research but unable to find any bugs on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 04:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355191#M12318</guid>
      <dc:creator>ChrisGraves</dc:creator>
      <dc:date>2012-10-02T04:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: error when running a system variable %n%</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355192#M12319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: m.gasior&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your inline variable created by iterator is %Name%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried using %Name% variable name instead of %n%?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 06:47:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355192#M12319</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-10-02T06:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: error when running a system variable %n%</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355193#M12320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. Sorry for the confusion but I am using %Name% &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 12:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355193#M12320</guid>
      <dc:creator>ChrisGraves</dc:creator>
      <dc:date>2012-10-02T12:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: error when running a system variable %n%</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355194#M12321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: j.quinn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Windows Explorer, are all of the necessary &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Shapefile_file_extensions/005600000003000000/"&gt;components&lt;/A&gt;&lt;SPAN&gt; to a shapefile present?&amp;nbsp; It needs at least the .shp, .shx, and .dbf.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 18:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355194#M12321</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-10-02T18:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: error when running a system variable %n%</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355195#M12322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. All of the files are available (see screenshot). The model works seamless when running it in edit mode but not when running the model as a tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 03:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355195#M12322</guid>
      <dc:creator>ChrisGraves</dc:creator>
      <dc:date>2012-10-03T03:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: error when running a system variable %n%</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355196#M12323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: shitijmehta&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you share your model and a sample of your data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Possible reasons that it does not work from a tool dialog could be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;You have exposed a parameter with default inline variable on the tool dialog. %Name% anywhere in a parameter on a dialog could cause problem &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;You are using some layer file which is locked or getting deleted before being used by a tool downstream. &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;One of your outputs is intermediate and is getting deleted before the next tool using it is run. &lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 17:47:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-running-a-system-variable-n/m-p/355196#M12323</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-12-05T17:47:17Z</dc:date>
    </item>
  </channel>
</rss>

