Opened 7 years ago
Closed 7 years ago
#1826 closed defect (duplicate)
'Session' object has no attribute 'preset_mgr'
| Reported by: | Owned by: | Eric Pettersen | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Sessions | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-16.7.0-x86_64-i386-64bit ChimeraX Version: 0.9 (2019-03-02) Description Restoring the session does not work. It will always report an error. Log: UCSF ChimeraX version: 0.9 (2019-03-02) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open /Users/Julia/Desktop/ETH/Kaspar/hOST/chimerax/session-5.cxs Unable to restore session, resetting. Traceback (most recent call last): File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/session.py", line 594, in restore obj = sm.restore_snapshot(self, data) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/preset_mgr/manager.py", line 48, in restore_snapshot return session.preset_mgr AttributeError: 'Session' object has no attribute 'preset_mgr' opened ChimeraX session Traceback (most recent call last): File "/Applications/ChimeraX.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 "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/map/volume.py", line 3482, in _update_drawings if v.display: File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/graphics/drawing.py", line 317, 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 "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/graphics/drawing.py", line 317, 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.25.19 OpenGL renderer: Intel(R) Iris(TM) Graphics 6100 OpenGL vendor: Intel Inc.
Change History (2)
comment:1 by , 7 years ago
| Component: | Unassigned → Sessions |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → accepted |
| Summary: | ChimeraX bug report submission → 'Session' object has no attribute 'preset_mgr' |
comment:2 by , 7 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Hi Julia,
--Eric