Experimental Physics and
| |||||||||||||||||
|
On Thu, Apr 11, 2019 at 5:52 PM Tong Zhang <[email protected]> wrote: Hi Matt, Well, isn't the obvious solution to not use Python 3.5? For sure, you are probably better off not using system Python if you can possibly avoid it. I have no idea why you might be seeing the exception message that you include in the attached image. You did not include any code or the full traceback. Please provide a complete, minimal example of code that shows the problem you are seeing, and give the full traceback. To my understanding, the GUI case is slightly different than python Different GUI toolkits act differently in how they work with CA threads and callbacks (this is probably not limited to using Python -- the C++ event loop for the GUI and the C++ event loop for CA have to know how to work together). The solution almost certainly depends on which GUI toolkit you are using. You did not tell us what toolkit you are using. I've checked this link Are you disconnecting and reconnecting PVs in different threads? If not, I don't know why that issue would be relevant. If you are doing that, I suggest not doing that. --Matt Newville
| ||||||||||||||||
ANJ, 12 Apr 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |