arcgis has stopped working python add-ins

01-10-2023 12:15 AM
New Contributor


Here's the problem. I designed the tkinter library add-ins as modules. then I gave the events for these add-ins. Then I put the modules in C:\Program Files (x86)\ArcGIS\Desktop10.8\arcpy and imported them.

from MaxAddressDataButton import MaxAddressData

After this import, I took the instance of the class below and called it, everything works fine until here.

The problem is when I press the button in arcmap environment, the window comes up and stops working. What could be the cause of this problem?

I can't do it in koda debug so I can't see it either.

Tags (1)
0 Kudos
1 Reply
by Anonymous User
Not applicable

Could be python Global Interpreter Lock?  tkinter might not play nice with the python addin structure depending on how you are using it.  Cant really tell from your post since it looks like it is missing some things.

0 Kudos