<?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 ERROR 000732: Input Features: Dataset _&amp;nbsp; does not exist or is not supported in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740667#M24371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know people are not new to this error and some have actually overcome it. But strangely I have not been so lucky.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy&amp;nbsp; gaugeTablePath = arcpy.GetParameterAsText(0)&amp;nbsp;&amp;nbsp; #input place = arcpy.GetParameterAsText(1) #input watershedTablePath = arcpy.GetParameterAsText(2) #input outFileName = arcpy.GetParameterAsText(3)&amp;nbsp; if arcpy.Exists(outFileName): &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("File " + outFileName + " is deleted!!") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management(outFileName)&amp;nbsp; row = arcpy.SearchCursor(gaugeTablePath, "\"STANDORT\"='"+place+"'","","PEGEL_NR")&amp;nbsp; gaugeStationNum = "" for line in row: &amp;nbsp;&amp;nbsp;&amp;nbsp; gaugeStationNum = line.PEGEL_NR&amp;nbsp; whereClause = '\"PEGEL_NR\"='+str(gaugeStationNum) wsTable = arcpy.Describe(watershedTablePath)&amp;nbsp; arcpy.Select_analysis(wsTable.basename,outFileName,whereClause)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running this script from inside the model builder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the path of the feature class which &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;does not exist&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;!!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;H:\CIV\Customization_Exercise\LabExercise_1\File_Geodatabase.gdb\fd\watershed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see it has no space, wrong slash or anything else. About the "." I cannot help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the error I get...&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000732: Input Features: Dataset watershed does not exist or is not supported&lt;BR /&gt;Failed to execute (Select).&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strangely arcpy is able to Describe my "watershed" perfectly. Also "gauge" which is inside the same feature dataset is being found and operated on by SearchCursor perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also worth mentioning is that arcpy.Exists() is also not working. Because I created the result file by normal select and hardcoding and it was there but still Exists returned 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am at my wits end, please somebody help!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Avishek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 19:26:57 GMT</pubDate>
    <dc:creator>AvishekDutta</dc:creator>
    <dc:date>2012-05-29T19:26:57Z</dc:date>
    <item>
      <title>ERROR 000732: Input Features: Dataset _  does not exist or is not supported</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740667#M24371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know people are not new to this error and some have actually overcome it. But strangely I have not been so lucky.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy&amp;nbsp; gaugeTablePath = arcpy.GetParameterAsText(0)&amp;nbsp;&amp;nbsp; #input place = arcpy.GetParameterAsText(1) #input watershedTablePath = arcpy.GetParameterAsText(2) #input outFileName = arcpy.GetParameterAsText(3)&amp;nbsp; if arcpy.Exists(outFileName): &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("File " + outFileName + " is deleted!!") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management(outFileName)&amp;nbsp; row = arcpy.SearchCursor(gaugeTablePath, "\"STANDORT\"='"+place+"'","","PEGEL_NR")&amp;nbsp; gaugeStationNum = "" for line in row: &amp;nbsp;&amp;nbsp;&amp;nbsp; gaugeStationNum = line.PEGEL_NR&amp;nbsp; whereClause = '\"PEGEL_NR\"='+str(gaugeStationNum) wsTable = arcpy.Describe(watershedTablePath)&amp;nbsp; arcpy.Select_analysis(wsTable.basename,outFileName,whereClause)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running this script from inside the model builder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the path of the feature class which &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;does not exist&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;!!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;H:\CIV\Customization_Exercise\LabExercise_1\File_Geodatabase.gdb\fd\watershed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see it has no space, wrong slash or anything else. About the "." I cannot help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the error I get...&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000732: Input Features: Dataset watershed does not exist or is not supported&lt;BR /&gt;Failed to execute (Select).&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Strangely arcpy is able to Describe my "watershed" perfectly. Also "gauge" which is inside the same feature dataset is being found and operated on by SearchCursor perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also worth mentioning is that arcpy.Exists() is also not working. Because I created the result file by normal select and hardcoding and it was there but still Exists returned 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am at my wits end, please somebody help!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Avishek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 19:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740667#M24371</guid>
      <dc:creator>AvishekDutta</dc:creator>
      <dc:date>2012-05-29T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features: Dataset _  does not exist or is not supported</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740668#M24372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The preferred syntax for describe should be .baseName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should have spaces around your where clause operators.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;None of those issues should give you that kind of error though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a little confused by your description of your problem. Did it create the output or not? Is "H:\CIV\Customization_Exercise\LabExercise_1\File_Geodatabase.gdb\fd\watershed" the path to your input or output feature class?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740668#M24372</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-05-29T20:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features: Dataset _  does not exist or is not supported</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740669#M24373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;watershed is one the input's. No I am not getting the result. (watershed has no subtypes, I checked later!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The task is to select the PEGEL_NR(gauge station number) corresponding to the place parameter from gauge feature class, and use it select the watershed polygon corresponding to that PEGEL_NR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry about that, but both basename and baseName are working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Didn't understand which spaces you are talking about. Please explain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script didnot create a result. I did the task using other tools and created a file. I provided it as my output file name hoping that the script might work. Then I discovered arcpy.Exists() is also not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this clears it up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Avishek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:30:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740669#M24373</guid>
      <dc:creator>AvishekDutta</dc:creator>
      <dc:date>2012-05-29T20:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features: Dataset _  does not exist or is not supported</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740670#M24374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What exactly are you using for your parameters? And, are they all entire file paths or file names (particularly "outFileName")?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: Oh. "wsTable.basename" would give you "watershed". That's not a file path, it's a word. Either set your workspace environment first, or change it to: arcpy.Select_analysis(watershedTablePath,outFileName,whereClause)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 21:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740670#M24374</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2012-05-29T21:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000732: Input Features: Dataset _  does not exist or is not supported</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740671#M24375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phew!!!Setting the workspace and/or giving full path worked!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a ton!!!..was pretty careless of me!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But arcpy.Exists() is still not working!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outFileName - has the &lt;/SPAN&gt;&lt;STRONG&gt;full path&lt;/STRONG&gt;&lt;SPAN&gt; from the script parameter. I have deliberately kept the same output file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;outFileName = arcpy.GetParameterAsText(3)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also now the workspace is set to my feature dataset. I tried restarting ArcMAP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 22:57:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-000732-input-features-dataset-nbsp-does-not/m-p/740671#M24375</guid>
      <dc:creator>AvishekDutta</dc:creator>
      <dc:date>2012-05-29T22:57:18Z</dc:date>
    </item>
  </channel>
</rss>

