Opened 6 years ago
Closed 6 years ago
#2217 closed defect (wontfix)
Restored models for Objects of Basic Actions are None
Reported by: | Owned by: | Greg Couch | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Sessions | Version: | |
Keywords: | Cc: | Conrad Huang, pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Linux-4.15.0-54-generic-x86_64-with-debian-stretch-sid ChimeraX Version: 0.91 (2019-07-10) Description (Describe the actions that caused this problem to occur here) Log: UCSF ChimeraX version: 0.91 (2019-07-10) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open /home/yazan/Dropbox/Abbas_etal_2019_brainV- ATPase/Figures/Figure3/Figure3_1.cxs Unable to restore session, resetting. Traceback (most recent call last): File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/session.py", line 629, in restore obj = sm.restore_snapshot(self, data) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/basic_actions/statemgr.py", line 65, in restore_snapshot cmd.name_frozen(session, name, Objects(**value)) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/objects.py", line 53, in __init__ { m:m.triggers.add_handler("deleted", self._model_deleted_cb) for m in self._models }) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/objects.py", line 53, in <dictcomp> { 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": 'Objects' object has no attribute '_handlers': AttributeError: 'Objects' object has no attribute '_handlers' File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/objects.py", line 73, in _model_deleted_cb del self._handlers[model] See log for complete Python traceback. Summary of feedback from opening /home/yazan/Dropbox/Abbas_etal_2019_brainV- ATPase/Figures/Figure3/Figure3_1.cxs --- note | Traceback (most recent call last): File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/session.py", line 629, in restore obj = sm.restore_snapshot(self, data) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/basic_actions/statemgr.py", line 65, in restore_snapshot cmd.name_frozen(session, name, Objects(**value)) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/objects.py", line 53, in __init__ { m:m.triggers.add_handler("deleted", self._model_deleted_cb) for m in self._models }) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/objects.py", line 53, in <dictcomp> { 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 "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/triggerset.py", line 130, in invoke return self._func(self._name, data) File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site- packages/chimerax/core/objects.py", line 73, in _model_deleted_cb del self._handlers[model] AttributeError: 'Objects' object has no attribute '_handlers' opened ChimeraX session OpenGL version: 3.3.0 NVIDIA 418.56 OpenGL renderer: GeForce RTX 2070/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation
Change History (3)
comment:1 by , 6 years ago
Cc: | added |
---|---|
Component: | Unassigned → Sessions |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Restored models for Objects of Basic Actions are None |
comment:2 by , 6 years ago
Status: | assigned → feedback |
---|
comment:3 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | feedback → closed |
No response. The guess is that this was a bug when saving the session file in an older version of ChimeraX. The current version of ChimeraX will generate the error when saving the session rather than save an unusable file.
Note:
See TracTickets
for help on using tickets.
Can you tell me how to reproduce this bug? I tried by starting the Basic Actions tool, opening a structure, creating a frozen named selection, and saving the session. But it successfully restored, so clearly it's not that simple.
If you're willing attach the problematic session file, I can use that to figure out how fix the symptoms. And it might give insight to fix the cause.