<?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: Tkinter, ArcPy and Threading in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/1243715#M66344</link>
    <description>&lt;P&gt;ArcGIS Classes (Featureclass, Layers, Fields, Maps, etc.,.) in arcpy do not play well with being transferred between python threads due to python's pickling. I haven't met anyone yet that has created their own pickling class to transfer the esri classes either. I think if you can figure out how to pickle the arcpy data class being transferred, you'll be able to get closer to a solution.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2022 01:52:56 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-12-27T01:52:56Z</dc:date>
    <item>
      <title>Tkinter, ArcPy and Threading</title>
      <link>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/13443#M1066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wanted to get a solid answer from someone.&amp;nbsp; My question is very similar to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/63390-Bug-with-arcpy-in-a-thread"&gt;http://forums.arcgis.com/threads/63390-Bug-with-arcpy-in-a-thread&lt;/A&gt;&lt;SPAN&gt; (2012)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to intermittently inject data into an SDE in Python (via a Tkinter interface).&amp;nbsp; I would like to start the function in a thread so that the UI will not be locked up but everytime I call InsertCursor, for example, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;arcpy.InsertCursor(self.featureClassList[5])&lt;/SPAN&gt;&lt;SPAN&gt; within a Thread I get a catastrophic crash...&amp;nbsp; Is this an impossible task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/13443#M1066</guid>
      <dc:creator>TangoPapa</dc:creator>
      <dc:date>2014-02-25T18:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tkinter, ArcPy and Threading</title>
      <link>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/1243686#M66341</link>
      <description>&lt;P&gt;Encountered the same problem, any answer?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2022 21:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/1243686#M66341</guid>
      <dc:creator>moriapedhazur</dc:creator>
      <dc:date>2022-12-25T21:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tkinter, ArcPy and Threading</title>
      <link>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/1243715#M66344</link>
      <description>&lt;P&gt;ArcGIS Classes (Featureclass, Layers, Fields, Maps, etc.,.) in arcpy do not play well with being transferred between python threads due to python's pickling. I haven't met anyone yet that has created their own pickling class to transfer the esri classes either. I think if you can figure out how to pickle the arcpy data class being transferred, you'll be able to get closer to a solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 01:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tkinter-arcpy-and-threading/m-p/1243715#M66344</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-12-27T01:52:56Z</dc:date>
    </item>
  </channel>
</rss>

