<?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: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153922#M64058</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/449443"&gt;@MulfordnSons&lt;/a&gt;&amp;nbsp; this bug has been addressed in ArcGIS Pro 3.0.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 17:40:25 GMT</pubDate>
    <dc:creator>DrewFlater</dc:creator>
    <dc:date>2022-03-15T17:40:25Z</dc:date>
    <item>
      <title>arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1152979#M64017</link>
      <description>&lt;P&gt;I'm attempting to use the arcpy method DeleteIdentical_management on an ESRI geometry type sqlite database. However, no records are removed from the database upon running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run delete identical in ArcPro, the identical records are deleted as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a known issue?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 16:40:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1152979#M64017</guid>
      <dc:creator>MulfordnSons</dc:creator>
      <dc:date>2022-03-11T16:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153008#M64020</link>
      <description>&lt;P&gt;I don't think we're aware of this issue. If you have reproducible steps and example data that demonstrate the problem, I'd highly encourage you to report it as a bug here:&amp;nbsp;&lt;A href="https://support.esri.com/en/report-bug" target="_blank"&gt;https://support.esri.com/en/report-bug&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 18:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153008#M64020</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2022-03-11T18:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153015#M64021</link>
      <description>&lt;P&gt;I ran a quick test, and I got the same Delete Identical result when running inside Pro using the tool UI and running using arcpy in standalone Python.exe. In both case the single duplicate in my sqlite polygon feature class was deleted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrewFlater_0-1647023010646.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36156i3AEF1258BF88ED9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrewFlater_0-1647023010646.png" alt="DrewFlater_0-1647023010646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 18:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153015#M64021</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2022-03-11T18:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153017#M64022</link>
      <description>&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;The code sample below doesn't delete any duplicates, even if I just specify the shape field. Can ArcPro be open when this runs?&lt;/P&gt;&lt;P&gt;EDIT: when the application is closed, the duplicates still remain after running this tool on the sqlite feature class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;fields = ['SHAPE', 'CommonName', 'ObservationDate']
arcpy.DeleteIdentical_management(r'F:\portfolio_projects\database\PA_Birds1.sqlite\main.pa_birds_pnts', fields)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 18:50:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153017#M64022</guid>
      <dc:creator>MulfordnSons</dc:creator>
      <dc:date>2022-03-11T18:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153024#M64023</link>
      <description>&lt;P&gt;I tried with a list of fields as well and it still is correctly deleting one record. Make sure your field names are matching the real field names, including SHAPE (I don't think upper vs lower case will really matter, but it's something to check)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DrewFlater_0-1647025344935.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36158i2D8664683D154A34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DrewFlater_0-1647025344935.png" alt="DrewFlater_0-1647025344935.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 19:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153024#M64023</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2022-03-11T19:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153038#M64025</link>
      <description>&lt;P&gt;Tried doing this within the ArcPro Python window - when I run the arcpy method, the feature class in the contents shows that the tool recognizes the feature class (it greys out, locks). However, after it runs, no identical geometries are deleted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I run delete identical from the UI using only 'Shape' and all of the identical records are deleted as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deleteidentical.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36162i6008F4DFD11B5DD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="deleteidentical.PNG" alt="deleteidentical.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 19:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153038#M64025</guid>
      <dc:creator>MulfordnSons</dc:creator>
      <dc:date>2022-03-11T19:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153071#M64026</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;However, after it runs, no identical geometries are deleted.&amp;nbsp;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;Does the tool messages say if any duplicates were deleted? It might be that some cache inside the application is not updating and the deleted records are still showing. If the messages say that duplicates were deleted, try to close and reopen Pro and see if the duplicates still show or are gone now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I see in your Python window that you encountered an ERROR 999999. Can you show me what parameter settings you were using to produce that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 21:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153071#M64026</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2022-03-11T21:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153077#M64027</link>
      <description>&lt;P&gt;Printed the messages for you to view below. Does seem to find the duplicates and it says they were deleted. However, after closing Pro and reopening, the number of features in the feature class is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error was randomly caused when I tried running in the python window the first time, I referenced the layer by name in the tool (as is was in the TOC) and it gave me that error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deleteidentical2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36174iE52E8260965A1B5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="deleteidentical2.PNG" alt="deleteidentical2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 21:09:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153077#M64027</guid>
      <dc:creator>MulfordnSons</dc:creator>
      <dc:date>2022-03-11T21:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153104#M64029</link>
      <description>&lt;P&gt;Thanks I could reproduce the error 999999, we will work to get that fixed. I am not sure why the tool messaging and what displays in the app are different. A developer is looking into that as well. If you use the Report A Bug system linked above by Kory you will have an issue # for tracking when the issue will be addressed.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 21:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153104#M64029</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2022-03-11T21:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153130#M64031</link>
      <description>&lt;P&gt;using the GetCount() method returns the number of features before the delete identical as well, so it doesn't seem to actually be deleting anything in this instance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 23:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153130#M64031</guid>
      <dc:creator>MulfordnSons</dc:creator>
      <dc:date>2022-03-11T23:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteIdentical_management does not delete identicals in ESRI sqlite database.</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153922#M64058</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/449443"&gt;@MulfordnSons&lt;/a&gt;&amp;nbsp; this bug has been addressed in ArcGIS Pro 3.0.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 17:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleteidentical-management-does-not-delete/m-p/1153922#M64058</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2022-03-15T17:40:25Z</dc:date>
    </item>
  </channel>
</rss>

