Opened 7 years ago
Closed 7 years ago
#1101 closed defect (fixed)
3D Labels breaking session restore
| Reported by: | Elaine Meng | Owned by: | Eric Pettersen |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7 |
| Component: | Graphics | Version: | |
| Keywords: | Cc: | Tom Goddard | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
open 1gcn
use right mouse mode to add a residue label
save session
(close models)
restore that session:
Unable to restore session, resetting.
Traceback (most recent call last):
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/session.py", line 579, in restore
obj = sm.restore_snapshot(self, data)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/label/label3d.py", line 380, in restore_snapshot
s.set_state_from_snapshot(session, data)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/label/label3d.py", line 392, in set_state_from_snapshot
ld[o] = ol = cls(o, v, kw)
TypeError: 'NoneType' object is not callable
Change History (4)
comment:1 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:2 by , 7 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:3 by , 7 years ago
| Cc: | added; removed |
|---|---|
| Owner: | changed from to |
| Status: | reopened → assigned |
This is somehow related to the import hook producing multiple instances of the Residue class! (maybe!)
Works with my current developer build. Appears to be fixed.
Get this error in April 23 build. Builds have been broken for a week due to code signing problem.
I notice that if I quit ChimeraX and restore the session with 3D label with the April 23 build then it works. So somehow the old closed models cause the new session restore to fail.