Opened 6 years ago

Closed 6 years ago

#2857 closed defect (fixed)

Error showing VR tool window

Reported by: goddard@… 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.18362
ChimeraX Version: 0.92 (2020-02-15)
Description
Volume viewer panel shown by opening map from recent file history in VR, but maybe the image grab happened before the window was mapped leading to a zero size image.

Log:
Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
  
UCSF ChimeraX version: 0.92 (2020-02-15)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 6bb5 format mmCIF fromDatabase pdb

6bb5 title:  
Human Oxy-Hemoglobin [more info...]  
  
Chain information for 6bb5 #1  
---  
Chain | Description  
A | Hemoglobin subunit α  
B | Hemoglobin subunit β  
  
Non-standard residues in 6bb5 #1  
---  
HEM — protoporphyrin IX containing Fe (HEME)  
OXY — oxygen molecule  
  
6bb5 mmCIF Assemblies  
---  
1| author_and_software_defined_assembly  
  
  

> vr true

started SteamVR rendering  

> toolshed show "Build Structure"

> vr false

> vr true

started SteamVR rendering  

> vr true

> open 20205 fromDatabase emdb

Opened emd_20205.map, grid size 98,112,104, pixel 1.07,1.07,1.07, shown at
level 0.287, step 1, values float32  
Traceback (most recent call last):  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\vive\vr.py", line 693, in next_frame  
self.user_interface.update_if_needed()  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\vive\vr.py", line 1641, in update_if_needed  
self._update_ui_images()  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\vive\vr.py", line 1652, in _update_ui_images  
panel._update_image(rgba)  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\vive\vr.py", line 1818, in _update_image  
rgba = self._panel_image(main_window_rgba)  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\vive\vr.py", line 1891, in _panel_image  
rgba = self._widget_rgba()  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\vive\vr.py", line 1905, in _widget_rgba  
rgba = qimage_to_numpy(im)  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\graphics\drawing.py", line 2032, in qimage_to_numpy  
buf = qi.bits().asstring(qi.byteCount())  
AttributeError: 'NoneType' object has no attribute 'asstring'  
  
Error processing trigger "new frame":  
AttributeError: 'NoneType' object has no attribute 'asstring'  
  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\graphics\drawing.py", line 2032, in qimage_to_numpy  
buf = qi.bits().asstring(qi.byteCount())  
  
See log for complete Python traceback.  
  

> vr false




OpenGL version: 3.3.0 NVIDIA 442.19
OpenGL renderer: GeForce GTX 1080 Ti/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Tom Goddard, 6 years ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionError showing VR tool window

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Log panel was squished to zero size by creation of Build Structure and Volume Viewer tool windows and the zero size led to an error refreshing the panel image.

Note: See TracTickets for help on using tickets.