-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hi,
I have a problem using xrtQook.
For example, when I opened C:\Pycharm\Projects\20240805xrt-master\examples\withRaycing_QookBeamlines\1crystal.xml, then I clicked the 3D button to show xrtGlow, after that I tried to open another xml file(or the same one), I got error as below.
This error seems connected with xrtGlow, because if I didn't click 3D button to show xrtGlow, I can open another xml file without error.
Thanks.
C:\Pycharm\Projects\20240805xrt-master\xrt\gui>python xrtQookStart.py
Class crystalSi01 successfully initialized.
Class bendingMagnet01 successfully initialized.
Class oe01 successfully initialized.
Class screen01 successfully initialized.
Class crystalSi01 successfully initialized.
Class bendingMagnet01 successfully initialized.
Class oe01 successfully initialized.
Class screen01 successfully initialized.
25431 rays of 100000
50412 rays of 100000
75409 rays of 100000
100528 rays of 100000
OE1 pitch: 0.19904998741747607
Screen1 center: [0, 21000, np.float64(420.564721205651)]
Screen1 center: [0, 21000, np.float64(420.56472120869563)]
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
Traceback (most recent call last):
File "C:\Pycharm\Projects\20240805xrt-master\xrt\gui....\xrt\gui\xrtGlow_init_.py", line 943, in updateColorMap
if self.paletteWidget.span.visible:
AttributeError: 'RectangleSelector' object has no attribute 'visible'. Did you mean: '_visible'?