Opened 6 years ago

Closed 6 years ago

#2677 closed defect (fixed)

VR UI scene position is None

Reported by: chimerax-bug-report@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: VR Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 0.91 (2019-12-11)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Messages  
---  
notes | available bundle cache has not been initialized yet  
Updating list of available bundles failed: [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: certificate has expired (_ssl.c:1076)  
  
UCSF ChimeraX version: 0.91 (2019-12-11)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open "C:\Users\Utente principale\Downloads\4-24533" format dicom

Opened CHEST CT 4, grid size 512,512,236, pixel 0.576,0.576,1.25, shown at
step 1, values int16  

> vr true

started SteamVR rendering  

> view orient

Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 662, in next_frame  
self.process_controller_events()  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 691, in process_controller_events  
self.process_controller_motion()  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 735, in process_controller_motion  
hc.process_motion()  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 2412, in process_motion  
if ui.process_hand_controller_motion(self):  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 1551, in process_hand_controller_motion  
window_xy, z_offset = panel._panel_click_position(hc.room_position.origin())  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 1756, in _panel_click_position  
x,y,z = ui.scene_position.inverse() * scene_point  
AttributeError: 'NoneType' object has no attribute 'scene_position'  
  
Error processing trigger "new frame":  
AttributeError: 'NoneType' object has no attribute 'scene_position'  
  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\vive\vr.py",
line 1756, in _panel_click_position  
x,y,z = ui.scene_position.inverse() * scene_point  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 432.00
OpenGL renderer: GeForce GTX 1060 3GB/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionVR UI scene position is None

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

User pressed button on a VR gui panel, then while holding that button, closed the panel with a different controller button, then released the first button. The first button release then tried to send a button up event to the closed panel causing the error.

Note: See TracTickets for help on using tickets.