﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1590	Session restore of graphics: self._positions is None	chimerax-bug-report@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Darwin-15.3.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-01-05)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.9 (2019-01-05)  
How to cite UCSF ChimeraX  

> open /Users/jliu/Desktop/T7-Ian/T7-BIN2/20190105-Figure.cxs

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File ""/Volumes/ChimeraXInstaller
1/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/session.py"", line 593, in restore  
obj = sm.restore_snapshot(self, data)  
File ""/Volumes/ChimeraXInstaller
1/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/std_commands/view.py"", line 214, in restore_snapshot  
for k,v in data['view attrs'].items():  
TypeError: 'NoneType' object is not subscriptable  
  
opened ChimeraX session  
Traceback (most recent call last):  
File ""/Volumes/ChimeraXInstaller
1/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/triggerset.py"", line 130, in invoke  
return self._func(self._name, data)  
File ""/Volumes/ChimeraXInstaller
1/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/map/volume.py"", line 3376, in _update_drawings  
if v.display:  
File ""/Volumes/ChimeraXInstaller
1/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/graphics/drawing.py"", line 311, 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"": object of type 'NoneType' has no
len():  
TypeError: object of type 'NoneType' has no len()  
  
File ""/Volumes/ChimeraXInstaller
1/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/graphics/drawing.py"", line 311, in get_display  
return self._any_displayed_positions and len(self._positions) > 0  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 INTEL-10.12.13
OpenGL renderer: Intel(R) HD Graphics 6000
OpenGL vendor: Intel Inc.

}}}
"	defect	closed	normal		Sessions	0.9	can't reproduce		Greg Couch				all	ChimeraX
