<?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 000837 and Error 000732: Folder Location with Create Feature Dataset in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-000837-and-error-000732-folder-location-with/m-p/80298#M6458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I exported a script listed from a model (both listed below) and keep getting the two errors Error 000837 and Error 000732 right around the Create Feature Dataset.&amp;nbsp; The script is also not creating folders within folders like it shows in the model.&amp;nbsp; The script obviously needs to be tweaked but I'm am a novice with Python and have no idea what exactly is causing all the issues in python.&amp;nbsp; Is anyone willing to point me in the right direction for fixing these error?&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Import arcpy module&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Script arguments&lt;/P&gt;&lt;P&gt;a500yr = arcpy.GetParameterAsText(0)&lt;/P&gt;&lt;P&gt;if a500yr == '#' or not a500yr:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a500yr = "C:\\Users\\mgreen\\Desktop\\a500yr" # provide a default value if unspecified&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coordinate_System = arcpy.GetParameterAsText(1)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Local variables:&lt;/P&gt;&lt;P&gt;WSEL_02PCT = a500yr&lt;/P&gt;&lt;P&gt;Work = WSEL_02PCT&lt;/P&gt;&lt;P&gt;WSEL_02PCT_gdb = Work&lt;/P&gt;&lt;P&gt;FSB_02PCT = WSEL_02PCT_gdb&lt;/P&gt;&lt;P&gt;FSM_02PCT = FSB_02PCT&lt;/P&gt;&lt;P&gt;Fin_Dlvb = WSEL_02PCT&lt;/P&gt;&lt;P&gt;WSEL_Tin = Fin_Dlvb&lt;/P&gt;&lt;P&gt;Depth_Gr = Fin_Dlvb&lt;/P&gt;&lt;P&gt;WSE_Gr = Fin_Dlvb&lt;/P&gt;&lt;P&gt;Bounding_Polygon = Fin_Dlvb&lt;/P&gt;&lt;P&gt;Floodplain_Final = Fin_Dlvb&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(a500yr, "WSEL_02PCT")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (2)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(WSEL_02PCT, "Work")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create File GDB&lt;/P&gt;&lt;P&gt;arcpy.CreateFileGDB_management(Work, "WSEL_02PCT", "CURRENT")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Feature Dataset&lt;/P&gt;&lt;P&gt;arcpy.CreateFeatureDataset_management(WSEL_02PCT_gdb, "FSB_02PCT", Coordinate_System)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Feature Dataset (2)&lt;/P&gt;&lt;P&gt;arcpy.CreateFeatureDataset_management(WSEL_02PCT_gdb, "FSM_02PCT", Coordinate_System)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (3)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(WSEL_02PCT, "Fin_Dlvb")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (4)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "WSEL_Tin")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (5)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "Depth_Gr")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (6)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "WSE_Gr")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (7)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "Bounding Polygon")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (8)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "Floodplain_Final")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="/legacyfs/online/60248_Export Graphic.jpg"&gt;&lt;IMG alt="Export Graphic.jpg" class="image-1 jive-image" height="752" src="/legacyfs/online/60248_Export Graphic.jpg" style="line-height: 1.5; width: 620px; height: 547px;" width="853" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 14:08:28 GMT</pubDate>
    <dc:creator>MeredithGreen</dc:creator>
    <dc:date>2015-02-09T14:08:28Z</dc:date>
    <item>
      <title>Error 000837 and Error 000732: Folder Location with Create Feature Dataset</title>
      <link>https://community.esri.com/t5/python-questions/error-000837-and-error-000732-folder-location-with/m-p/80298#M6458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I exported a script listed from a model (both listed below) and keep getting the two errors Error 000837 and Error 000732 right around the Create Feature Dataset.&amp;nbsp; The script is also not creating folders within folders like it shows in the model.&amp;nbsp; The script obviously needs to be tweaked but I'm am a novice with Python and have no idea what exactly is causing all the issues in python.&amp;nbsp; Is anyone willing to point me in the right direction for fixing these error?&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Import arcpy module&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Script arguments&lt;/P&gt;&lt;P&gt;a500yr = arcpy.GetParameterAsText(0)&lt;/P&gt;&lt;P&gt;if a500yr == '#' or not a500yr:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a500yr = "C:\\Users\\mgreen\\Desktop\\a500yr" # provide a default value if unspecified&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Coordinate_System = arcpy.GetParameterAsText(1)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Local variables:&lt;/P&gt;&lt;P&gt;WSEL_02PCT = a500yr&lt;/P&gt;&lt;P&gt;Work = WSEL_02PCT&lt;/P&gt;&lt;P&gt;WSEL_02PCT_gdb = Work&lt;/P&gt;&lt;P&gt;FSB_02PCT = WSEL_02PCT_gdb&lt;/P&gt;&lt;P&gt;FSM_02PCT = FSB_02PCT&lt;/P&gt;&lt;P&gt;Fin_Dlvb = WSEL_02PCT&lt;/P&gt;&lt;P&gt;WSEL_Tin = Fin_Dlvb&lt;/P&gt;&lt;P&gt;Depth_Gr = Fin_Dlvb&lt;/P&gt;&lt;P&gt;WSE_Gr = Fin_Dlvb&lt;/P&gt;&lt;P&gt;Bounding_Polygon = Fin_Dlvb&lt;/P&gt;&lt;P&gt;Floodplain_Final = Fin_Dlvb&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(a500yr, "WSEL_02PCT")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (2)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(WSEL_02PCT, "Work")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create File GDB&lt;/P&gt;&lt;P&gt;arcpy.CreateFileGDB_management(Work, "WSEL_02PCT", "CURRENT")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Feature Dataset&lt;/P&gt;&lt;P&gt;arcpy.CreateFeatureDataset_management(WSEL_02PCT_gdb, "FSB_02PCT", Coordinate_System)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Feature Dataset (2)&lt;/P&gt;&lt;P&gt;arcpy.CreateFeatureDataset_management(WSEL_02PCT_gdb, "FSM_02PCT", Coordinate_System)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (3)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(WSEL_02PCT, "Fin_Dlvb")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (4)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "WSEL_Tin")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (5)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "Depth_Gr")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (6)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "WSE_Gr")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (7)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "Bounding Polygon")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Process: Create Folder (8)&lt;/P&gt;&lt;P&gt;arcpy.CreateFolder_management(Fin_Dlvb, "Floodplain_Final")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="/legacyfs/online/60248_Export Graphic.jpg"&gt;&lt;IMG alt="Export Graphic.jpg" class="image-1 jive-image" height="752" src="/legacyfs/online/60248_Export Graphic.jpg" style="line-height: 1.5; width: 620px; height: 547px;" width="853" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 14:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000837-and-error-000732-folder-location-with/m-p/80298#M6458</guid>
      <dc:creator>MeredithGreen</dc:creator>
      <dc:date>2015-02-09T14:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000837 and Error 000732: Folder Location with Create Feature Dataset</title>
      <link>https://community.esri.com/t5/python-questions/error-000837-and-error-000732-folder-location-with/m-p/80299#M6459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Update:&amp;nbsp; Figured it out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN&gt;a500yr = arcpy.GetParameterAsText(0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Coordinate_System = arcpy.GetParameterAsText(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Needs to match the order of Parameters in the Script Properties in the toolbox.&amp;nbsp; (i.e. a500yr needs to be listed first and Coordinate_System needs to be listed second in the parameters.)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 18:54:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000837-and-error-000732-folder-location-with/m-p/80299#M6459</guid>
      <dc:creator>MeredithGreen</dc:creator>
      <dc:date>2015-02-10T18:54:43Z</dc:date>
    </item>
  </channel>
</rss>

