gui (and gui test) occasionally unresponsive on some computers
On one computer the GUI test always runs in 1-2 seconds or so.
On another (Ubuntu 18.04) it often gets stuck randomly and can take 10-1000 seconds to run. It appears to generally recover but completely at random. Also, sometimes the GUI locks up under normal use, probably due to the same underlying issue.
While it's stuck I can interrupt it with Ctrl+C for this stacktrace:
^CException in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.6/tkinter/__init__.py", line 1705, in __call__
return self.func(*args)
File "/usr/lib/python3.6/tkinter/__init__.py", line 749, in callit
func(*args)
File "/home/askhl/src/ase/ase/test/gui/run.py", line 154, in f
test(gui)
File "/home/askhl/src/ase/ase/test/gui/run.py", line 73, in nanopartickle
n.apply()
File "/home/askhl/src/ase/ase/gui/nanoparticle.py", line 528, in apply
self.gui.new_atoms(self.atoms)
File "/home/askhl/src/ase/ase/gui/gui.py", line 369, in new_atoms
self.set_frame(frame=0, focus=True)
File "/home/askhl/src/ase/ase/gui/view.py", line 135, in set_frame
self.focus()
File "/home/askhl/src/ase/ase/gui/view.py", line 287, in focus
self.draw()
File "/home/askhl/src/ase/ase/gui/view.py", line 523, in draw
self.window.update()
File "/home/askhl/src/ase/ase/gui/ui.py", line 637, in update
self.canvas.update_idletasks()
File "/usr/lib/python3.6/tkinter/__init__.py", line 1182, in update_idletasks
self.tk.call('update', 'idletasks')
Has anyone else seen this problem?