[MacPorts] #46007: pymol crashes on Yosemite after a while
MacPorts
noreply at macports.org
Fri Jun 30 01:42:41 UTC 2017
#46007: pymol crashes on Yosemite after a while
----------------------------+-----------------------------------
Reporter: barak.raveh@… | Owner: howarth.at.macports@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: pymol |
----------------------------+-----------------------------------
Comment (by gvdb):
I found a solution for this and I thought I'd post it here since this is
the top result in Google for the error message: "Terminating app due to
uncaught exception 'NSInternalInconsistencyException', reason: 'NSScreen
reconfig must only happen on the main thread.'"
I had literally spent days trying to fix this issue, implementing all the
suggested fixes here and elsewhere, to no avail. It still kept crashing
after 2 minutes.
Eventually I figured out it was related to some user data, but I didn't
know what exactly. I created a test account on my Mac, ran pymol and the
crash didn't happen.
The user data that was causing problems on my regular Mac account was a
plugin I'd written and installed to pymol. The particular line which was
causing problems in the plugin was importing the colour map library from
matplotlib. Once I removed that import (which I wasn't even using in my
plugin), pymol stopped crashing.
To any other poor soul that has wasted days trying to fix this crash, I
hope this helps you. Good luck.
--
Ticket URL: <https://trac.macports.org/ticket/46007#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list