<?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 Problem deleting table with editor tracking and creating new feature class in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842460#M3572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a table and wanted to replace it with a feature class. Therefore, I deleted to table and wanted to create a feature class. Later is not possible, issuing the following error:&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.Delete_management(in_dataset)
&amp;lt;Result 'true'&amp;gt;
&amp;gt;&amp;gt;&amp;gt; arcpy.CreateFeatureclass_management&amp;nbsp; (sde, fc, 'POINT', has_z='ENABLED', spatial_reference='D:\devsbb\workspaces\didokbackend\DB\Scripts\SpacialReferences\CH1903+.prj')
Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\management.py", line 1806, in CreateFeatureclass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 999999: Error executing function. An expected Field was not found or could not be retrieved properly. [ERSTELLT_VON] DBMS table not found [ORA-04043: object GSU_DIDOK.SUBSIDIARY_LOCATIONS does not exist] Failed to execute (CreateFeatureclass).&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; desc = arcpy.Describe(in_dataset)
&amp;gt;&amp;gt;&amp;gt; desc.editorTrackingEnabled
True

&amp;gt;&amp;gt;&amp;gt; in_dataset
'...GS_DIDOK_ENTW_GSU_DIDOK.sde\\GSU_DIDOK.SUBSIDIARY_LOCATIONS'
&amp;gt;&amp;gt;&amp;gt; sde
'...GS_DIDOK_ENTW_GSU_DIDOK.sde'
&amp;gt;&amp;gt;&amp;gt; fc
'GSU_DIDOK.SUBSIDIARY_LOCATIONS'‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I want to delete the table, I get the message that it does not exist. If I try to rename another feature class to the name of the new name, the system tells me that this feature class does already exists.&lt;/P&gt;&lt;P&gt;If I check the description for the corresponding feature class, I get the answer that editor tracking is enabled for this feature class.&amp;nbsp;&lt;BR /&gt;How can I get rid of this leftover?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:18:14 GMT</pubDate>
    <dc:creator>RebeccaHiller</dc:creator>
    <dc:date>2021-12-12T10:18:14Z</dc:date>
    <item>
      <title>Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842460#M3572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a table and wanted to replace it with a feature class. Therefore, I deleted to table and wanted to create a feature class. Later is not possible, issuing the following error:&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.Delete_management(in_dataset)
&amp;lt;Result 'true'&amp;gt;
&amp;gt;&amp;gt;&amp;gt; arcpy.CreateFeatureclass_management&amp;nbsp; (sde, fc, 'POINT', has_z='ENABLED', spatial_reference='D:\devsbb\workspaces\didokbackend\DB\Scripts\SpacialReferences\CH1903+.prj')
Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\management.py", line 1806, in CreateFeatureclass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 999999: Error executing function. An expected Field was not found or could not be retrieved properly. [ERSTELLT_VON] DBMS table not found [ORA-04043: object GSU_DIDOK.SUBSIDIARY_LOCATIONS does not exist] Failed to execute (CreateFeatureclass).&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; desc = arcpy.Describe(in_dataset)
&amp;gt;&amp;gt;&amp;gt; desc.editorTrackingEnabled
True

&amp;gt;&amp;gt;&amp;gt; in_dataset
'...GS_DIDOK_ENTW_GSU_DIDOK.sde\\GSU_DIDOK.SUBSIDIARY_LOCATIONS'
&amp;gt;&amp;gt;&amp;gt; sde
'...GS_DIDOK_ENTW_GSU_DIDOK.sde'
&amp;gt;&amp;gt;&amp;gt; fc
'GSU_DIDOK.SUBSIDIARY_LOCATIONS'‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I want to delete the table, I get the message that it does not exist. If I try to rename another feature class to the name of the new name, the system tells me that this feature class does already exists.&lt;/P&gt;&lt;P&gt;If I check the description for the corresponding feature class, I get the answer that editor tracking is enabled for this feature class.&amp;nbsp;&lt;BR /&gt;How can I get rid of this leftover?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842460#M3572</guid>
      <dc:creator>RebeccaHiller</dc:creator>
      <dc:date>2021-12-12T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842461#M3573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see an error&lt;/P&gt;&lt;P&gt;"...&amp;nbsp;Template Feature Class: Dataset D:\data\csv_export est.shp does not exist Or us not supported..."&lt;/P&gt;&lt;P&gt;in your first attempt to create the featureclass. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My network is fine right now so can't test &amp;nbsp; ...but are you using the tool dialog, or just trying to type it in. &amp;nbsp; If you are using the tool, I would try those first, the copy the snippet from the results tab (if successful ) and try to modify that vide. &amp;nbsp;It may be you are missing/skipping an input parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 18:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842461#M3573</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-11-16T18:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842462#M3574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are true about this particular error. But it is the result of trying different options that didn't work either. I copied too much of the console output... and now edited it to omit confusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 20:07:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842462#M3574</guid>
      <dc:creator>RebeccaHiller</dc:creator>
      <dc:date>2017-11-16T20:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842463#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try testing to see if your in_dataset exists both before and after trying to delete (line one)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arcpy.Exists(in_dataset)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;when you are listing the dataset in line 9, the output does not look correct.&amp;nbsp; if it was a ..\ at the beginning instead of ... it would bring you up a (folder) level from the current workstation environment (I believe) but ...AndSomeName&amp;nbsp; does not seem like a proper name.&amp;nbsp; However, based on the error, it looks like maybe you are dealing with Oracle??&amp;nbsp; And I use SQL and fgdb not Oracle, so can't be of much help.&amp;nbsp; However, just an fyi the ERROR 999999 is a default message when they have no additional info on the specific issues.&amp;nbsp; But grabbing that part of the error you got and makin it a little more legible might help.&amp;nbsp; Basically, it is not finding the table, so it can't find anything else it needs.&amp;nbsp; Make sense at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;ERROR 999999: Error executing function. 
An expected Field was not found or could not be retrieved properly. 
[ERSTELLT_VON] DBMS table not found 
[ORA-04043: object GSU_DIDOK.SUBSIDIARY_LOCATIONS does not exist] 
Failed to execute (CreateFeatureclass)&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842463#M3575</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2021-12-12T10:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842464#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was editor tracking disabled before attempting to delete the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 21:41:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842464#M3576</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2017-11-16T21:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842465#M3577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I didn't, but it is too late now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 06:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842465#M3577</guid>
      <dc:creator>RebeccaHiller</dc:creator>
      <dc:date>2017-11-20T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842466#M3578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp;&lt;BR /&gt;I truncated the path of the files as I didn't wanted to publish all that information. The paths are correct and the creation of a new feature class works perfectly, if I choose a different name for the feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested and indeed, the dataset exists before, but also after deleting it. In the database, I do not find a corresponding table as I normally do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.Exists(in_dataset)
True
&amp;gt;&amp;gt;&amp;gt; arcpy.Delete_management(in_dataset)
&amp;lt;Result 'true'&amp;gt;
&amp;gt;&amp;gt;&amp;gt; arcpy.Exists(in_dataset)
True
&amp;gt;&amp;gt;&amp;gt; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I assume, that there is a leftover somewhere in a metadata table or similar place that was not deleted on the first attempt to delete the data set. Does anyone has an idea where this information is stored and how I can delete the entry?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842466#M3578</guid>
      <dc:creator>RebeccaHiller</dc:creator>
      <dc:date>2021-12-12T10:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842467#M3579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this will work or not, but sometimes when things are partially deleted, for whatever reason (e.g. because of edit tracking) some times recreating the fc with the same name, then then trying again (maybe able to turn tracking off) will work.&amp;nbsp; Doesn't always, but might be worth a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 18:12:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842467#M3579</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-11-20T18:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem deleting table with editor tracking and creating new feature class</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842468#M3580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I'm not able to create a new fc with the same name. However, after manually deleting the leftovers in the sde tables as described in &lt;A href="https://community.esri.com/thread/162578"&gt;https://community.esri.com/thread/162578&lt;/A&gt;&amp;nbsp; solved the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:11:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/problem-deleting-table-with-editor-tracking-and/m-p/842468#M3580</guid>
      <dc:creator>RebeccaHiller</dc:creator>
      <dc:date>2017-11-22T13:11:18Z</dc:date>
    </item>
  </channel>
</rss>

