Opened 7 years ago

Closed 7 years ago

#1668 closed defect (duplicate)

Unexpected None data given to NamedView.restore_snapshot()

Reported by: chimerax-bug-report@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Sessions Version:
Keywords: Cc: chimera-programmers
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.0.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-01-30)
Description
(Describe the actions that caused this problem to occur here)

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

> open
/Users/YingYin/Documents/Data/2018/TRPM8_manuscript/images/chimeraX/bilayer_2.cxs

opened ChimeraX session  

> set silhouettes true

> save /Users/YingYin/Desktop/bilayer_2.png supersample 3
transparentBackground true

> hide #!1 models

> hide #!1.1 models

> show #!3 models

> view cofr false

> view orient cofr false

> view orient cofr false

> select #3

63 atoms, 63 bonds selected  

> view orient cofr false

> show selAtoms surfaces

> style selAtoms stick

Changed 63 atom styles  

> hide selAtoms surfaces

> style selAtoms sphere

Changed 63 atom styles  

> show selAtoms

> ui mousemode rightMode select

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> hide sel atoms

> set silhouetteWidth 3

> save /Users/YingYin/Desktop/pip2_3.png supersample 3 transparentBackground
true

> save /Users/YingYin/Desktop/pip2_3.png supersample 3 transparentBackground
true

> color #3 coral All

> color #3 byhetero

> save /Users/YingYin/Desktop/pip2_3.png supersample 3 transparentBackground
true

> set silhouetteWidth 5

> set silhouetteWidth 6

> save /Users/YingYin/Desktop/pip2_3.png supersample 3 transparentBackground
true

> set silhouetteWidth 5

> save /Users/YingYin/Desktop/pip2_3.png supersample 3 transparentBackground
true

> open
/Users/YingYin/Documents/Data/2018/TRPM8_manuscript/images/chimeraX/m8_2.cxs

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
"/private/var/folders/jd/yf9qwcgj7gj_28mw21wytq3r0000gn/T/AppTranslocation/8F3E0D6A-2A90-46CC-
BD9F-5A23B9FB9803/d/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
"/private/var/folders/jd/yf9qwcgj7gj_28mw21wytq3r0000gn/T/AppTranslocation/8F3E0D6A-2A90-46CC-
BD9F-5A23B9FB9803/d/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/std_commands/view.py", line 214, in restore_snapshot  
for k,v in data['view attrs'].items():  
TypeError: 'NoneType' object is not subscriptable  
  
opened ChimeraX session  




OpenGL version: 4.1 INTEL-12.0.34
OpenGL renderer: Intel(R) Iris(TM) Graphics 6100
OpenGL vendor: Intel Inc.

Change History (2)

comment:1 by Eric Pettersen, 7 years ago

Cc: chimera-programmers added
Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionUnexpected None data given to NamedView.restore_snapshot()

comment:2 by Eric Pettersen, 7 years ago

Resolution: duplicate
Status: assignedclosed

Same underlying problem as #1660

Note: See TracTickets for help on using tickets.