Pymol crash

Issue #21 resolved
Robert Welch created an issue

Pymol version 1.8.2.1

Python version 2.7.12

OS: Ubuntu 16.04 LTS

Very odd error. Runs perfectly (loading, viewing playing back etc) until after the last frame is loaded, then crashes with this error.

...
loading frame  100  for blob  0
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a40c>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a38c>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a30c>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method StringVar.__del__ of <Tkinter.StringVar instance at 0xac13a3cc>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a2cc>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a34c>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a44c>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a28c>> ignored
Exception RuntimeError: 'main thread is not in main loop' in <bound method IntVar.__del__ of <Tkinter.IntVar instance at 0xac13a24c>> ignored
Tcl_AsyncDelete: async handler deleted by the wrong thread
Aborted (core dumped)

Will take a look at what happens in the plugin after the trajectory is loaded.

Comments (1)

  1. Robert Welch reporter

    If mtTkinter is present, the viewer will now import that instead, which is a thread-safe version of Tkinter.

    Given that the crash only happens when the trajectory has been fully loaded, it seems likely that there is another way to fix it. But the release candidate is due tomorrow!

  2. Log in to comment