Opened 7 years ago

Closed 7 years ago

#1893 closed defect (duplicate)

Unexpected None data given to AtomicStructure.restore_snapshot()

Reported by: cma@… Owned by: Greg Couch
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:        Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
ChimeraX Version: 0.9 (2019-04-24)
Description
Cannot open saved session
CentOS7

Log:
UCSF ChimeraX version: 0.9 (2019-04-24)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /home/thchen/xray/MC813_xray/chimeraX/mc813cdr.cxs format session

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/core/session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/structure.py", line 2369, in restore_snapshot  
if data.get('AtomicStructure version', 1) == 1:  
AttributeError: 'NoneType' object has no attribute 'get'  
  
opened ChimeraX session  

> open /home/thchen/xray/MC813_xray/chimeraX/mc813cdr.cxs

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/core/session.py", line 594, in restore  
obj = sm.restore_snapshot(self, data)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/structure.py", line 2369, in restore_snapshot  
if data.get('AtomicStructure version', 1) == 1:  
AttributeError: 'NoneType' object has no attribute 'get'  
  
opened ChimeraX session  




OpenGL version: 3.3.0 NVIDIA 418.39
OpenGL renderer: GeForce RTX 2080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionUnexpected None data given to AtomicStructure.restore_snapshot()

comment:2 by Eric Pettersen, 7 years ago

Resolution: duplicate
Status: assignedclosed

Hi Alex,

Unfortunately the real error occurred when the session was saved, but the session-saving code ignored the error and put incorrect data into the session file. We are working on have the error actually get reported when you save a session so that we have some ability to fix the problem when you report it. With the error being delayed until session restore, we have no good idea what the original error actually was.
I am going to add you to the ticket we already have open for this problem.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.