-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyqtgraph related exceptions - traceback not helping #28
Comments
Does the version that come with the environment work? (Trying to figure out if the error originates from psocake or pyqtgraph) |
Unfortunately it throws the same errors |
Ok, it must be the library then. That's actually good news. Someone was posting in an email a minimal snippet that could reproduce the error. Do you remember where we can find it please? |
If you mean for Error 3, it must be this:
|
I think that error just means that hardware acceleration could not be enabled |
Here's the actual error (below). I've started porting psocake to python3 today, so let me see what I can do. We won't need to worry about this if I get it done. @fredericpoitevin: if you want to get rid of libGL errors, you will need to do something like: (ana-4.0.9) [yoon82@psanagpu103 psocake]$ python
[20:01:14] Ignored exception:
[20:01:14] Ignored exception:
[20:01:14] Ignored exception:
[20:01:14] Ignored exception:
|
Ah yes I tried to extract the relevant part from the whole traceback, but the actual error actually keeps throwing exceptions as we use the GUI. OK will be in standby |
After replacing |
On 1/4/21, we started noticing that psocake on ana-4.0.5 was throwing multiple exceptions; they are ignored and do not prevent some of the usage of psocake. They however mess with the display of histograms and small data.
Two TypeErrors messages appear repeatedly in the Traceback:
In addition, when psocake is run in verbose mode (
-v 1
), an additional error shows up:It seems that all errors are somewhat related to pyqtgraph, yet the traceback does not really tell us which call triggered what error, which would help hone in on a particular function to debug.
To that effect, we tried the idea explained in this blog post found by Chris: https://fman.io/blog/pyqt-excepthook/
The script was slightly edited to make it look like what is done in psocake:
fman.py.zip
Interestingly, running this script in ana-4.0.5 still results in Error3:
Adding the idea of that script to
gui.py
in psocake unfortunately did not result in a more informative traceback...The text was updated successfully, but these errors were encountered: