﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2613	Sessions + Basic Actions + Objects == buggy	phil.cruz@…	Conrad Huang	"{{{
The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-10-08)
Description
I am having trouble reading in ChimeraX session files. This is one example but there are others.

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 ""/Users/cruzp2/OneDrive - National Institutes of Health/Pathogen
Explorer/H1plusAB/H1plusABchimerax.cxs""

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py"", line 653, in restore  
obj = sm.restore_snapshot(self, data)  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/statemgr.py"", line 65, in restore_snapshot  
cmd.name_frozen(session, name, Objects(**value))  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 54, in __init__  
self._handlers = { m:m.triggers.add_handler(""deleted"", self._model_deleted_cb)
for m in self._models }  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 54, in <dictcomp>  
self._handlers = { m:m.triggers.add_handler(""deleted"", self._model_deleted_cb)
for m in self._models }  
AttributeError: 'NoneType' object has no attribute 'triggers'  
  
Error processing trigger ""deleted"":  
AttributeError: 'Objects' object has no attribute '_handlers'  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 74, in _model_deleted_cb  
del self._handlers[model]  
  
See log for complete Python traceback.  
  
Summary of feedback from opening /Users/cruzp2/OneDrive - National Institutes
of Health/Pathogen Explorer/H1plusAB/H1plusABchimerax.cxs  
---  
note | Traceback (most recent call last):  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py"", line 653, in restore  
  
obj = sm.restore_snapshot(self, data)  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/basic_actions/statemgr.py"", line 65, in restore_snapshot  
  
cmd.name_frozen(session, name, Objects(**value))  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 54, in __init__  
  
self._handlers = { m:m.triggers.add_handler(""deleted"", self._model_deleted_cb)
for m in self._models }  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 54, in <dictcomp>  
  
self._handlers = { m:m.triggers.add_handler(""deleted"", self._model_deleted_cb)
for m in self._models }  
  
AttributeError: 'NoneType' object has no attribute 'triggers'  
  
  
  
During handling of the above exception, another exception occurred:  
  
  
  
Traceback (most recent call last):  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/triggerset.py"", line 130, in invoke  
  
return self._func(self._name, data)  
  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 74, in _model_deleted_cb  
  
del self._handlers[model]  
  
AttributeError: 'Objects' object has no attribute '_handlers'  
  
  
  
  
opened ChimeraX session  
Exception ignored in: <function Objects.__del__ at 0x1283ead40>  
Traceback (most recent call last):  
File
""/Users/cruzp2/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/objects.py"", line 57, in __del__  
for handler in self._handlers.values():  
AttributeError: 'Objects' object has no attribute '_handlers'  




OpenGL version: 4.1 ATI-1.68.23
OpenGL renderer: AMD Radeon Pro 560 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.
File attachment: H1plusABchimerax.cxs

}}}

[attachment:""H1plusABchimerax.cxs""]
"	defect	closed	normal		Sessions		fixed		chimera-programmers				all	ChimeraX
