Opened 7 years ago

Closed 7 years ago

#1732 closed defect (duplicate)

Unexpected None data given to AtomicStructure.restore_snapshot()

Reported by: sitins07@… Owned by:
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:        Windows-10-10.0.17763
ChimeraX Version: 0.9 (2019-02-19)
Description
Doesn't load sessions

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

> toolshed show '"Density Map Toolbar"'

> open "D:\\\Lab\\\Projects\\\EM50\\\slides\\\chain\\\SecY.cxs"

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File "D:\Soft\ChimeraX\bin\lib\site-packages\chimerax\core\session.py", line
594, in restore  
obj = sm.restore_snapshot(self, data)  
File "D:\Soft\ChimeraX\bin\lib\site-packages\chimerax\atomic\structure.py",
line 2360, in restore_snapshot  
if data.get('AtomicStructure version', 1) == 1:  
AttributeError: 'NoneType' object has no attribute 'get'  
  
opened ChimeraX session  
Traceback (most recent call last):  
File "D:\Soft\ChimeraX\bin\lib\site-packages\chimerax\core\triggerset.py",
line 130, in invoke  
return self._func(self._name, data)  
File "D:\Soft\ChimeraX\bin\lib\site-packages\chimerax\map\volume.py", line
3464, in _update_drawings  
if v.display:  
File "D:\Soft\ChimeraX\bin\lib\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 "D:\Soft\ChimeraX\bin\lib\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: 3.3.0 - Build 22.20.16.4708
OpenGL renderer: Intel(R) HD Graphics 630
OpenGL vendor: Intel
File attachment: SecY.cxs

SecY.cxs

Attachments (1)

SecY.cxs (683.9 KB ) - added by sitins07@… 7 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (2)

by sitins07@…, 7 years ago

Attachment: SecY.cxs added

Added by email2trac

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedSessions
Platform: all
Project: ChimeraX
Resolution: duplicate
Status: newclosed
Summary: ChimeraX bug report submissionUnexpected None data given to AtomicStructure.restore_snapshot()

Duplicate of #1660; adding reporter to that ticket

Note: See TracTickets for help on using tickets.