﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2492	Error closing RealSense camera	goddard@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 0.91 (2019-10-08)
Description
Turning off RealSense camera display gives this error.  Turning off closes the camera model which should deregister the graphics update trigger that is leading to this error where it tries to use the deleted model.

Log:
UCSF ChimeraX version: 0.91 (2019-10-08)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 5d8v format mmCIF fromDatabase pdb

Summary of feedback from opening 5d8v fetched from pdb  
---  
warning | Atom H1 is not in the residue template for ALA #1 in chain A  
  
5d8v title:  
Ultra-high resolution structure of high-potential iron-sulfur protein [more
info...]  
  
Chain information for 5d8v #1  
---  
Chain | Description  
A | High-potential iron-sulfur protein  
  
Non-standard residues in 5d8v #1  
---  
GOL — glycerol (glycerin; propane-1,2,3-triol)  
SF4 — iron/sulfur cluster  
SO4 — sulfate ion  
  
  

> device realsense true

color image type uint8 (540, 960, 3)  
depth image type uint16 (720, 1280) mean 2055.1636241319443 min 0 max 60542  
color intrinsics width: 960, height: 540, ppx: 478.483, ppy: 269.869, fx:
691.582, fy: 691.708, model: 2, coeffs: [0, 0, 0, 0, 0]  
color fov [69.52588653564453, 42.64518737792969]  
depth intrinsics width: 1280, height: 720, ppx: 635.687, ppy: 360.856, fx:
644.493, fy: 644.493, model: 4, coeffs: [0, 0, 0, 0, 0]  
depth fov [89.59813690185547, 58.37339401245117]  
extrinsics color to depth rotation: [0.999973, -0.00522042, 0.00517934,
0.00520003, 0.999979, 0.00394242, -0.00519981, -0.00391538, 0.999979]  
translation: [-0.0148815, -0.000297291, -0.000232553]  

> device realsense false

closed RealSense camera 1  
Traceback (most recent call last):  
File ""C:\cygwin64\home\goddard\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\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\realsense\depth_video.py"", line 120, in _update_image  
if not self.display:  
File ""C:\cygwin64\home\goddard\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 334, in get_display  
return self._any_displayed_positions and len(self._positions) > 0  
TypeError: object of type 'NoneType' has no len()  
  
Error processing trigger ""graphics update"":  
TypeError: object of type 'NoneType' has no len()  
  
File ""C:\cygwin64\home\goddard\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\graphics\drawing.py"", line 334, in get_display  
return self._any_displayed_positions and len(self._positions) > 0  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 430.39
OpenGL renderer: Quadro P6000/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

}}}
"	defect	closed	normal		VR		fixed						all	ChimeraX
