Opened 6 years ago

Closed 6 years ago

#2885 closed defect (fixed)

2D arrows not restored from old sessions

Reported by: Elaine Meng Owned by: pett
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-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.92 (2020-02-26)
Description
trying to restore attached session with 2D arrows

Session was made a couple weeks ago so maybe this is a known issue. File as desired.

Log:
> open /Users/meng/Desktop/startup.cxc

> alias reset view orient; view initial

> alias start toolshed show $1

> alias whereprefs info path user unversioned config

> alias previewts toolshed url https://cxtoolshed-
> preview.rbvi.ucsf.edu;toolshed reload available

> alias normalts toolshed url https://cxtoolshed.rbvi.ucsf.edu;toolshed reload
> available

> alias btut open
> http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/tutorials/binding-
> sites.html

executed startup.cxc  
UCSF ChimeraX version: 0.92 (2020-02-26)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/meng/Desktop/arrows.cxs format session

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 653, in restore  
obj = sm.restore_snapshot(self, data)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/label/arrows.py", line 333, in restore_snapshot  
s.set_state_from_snapshot(session, data)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/label/arrows.py", line 337, in set_state_from_snapshot  
self._arrows = [Arrow(session, **ls) for ls in data['arrows state']]  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/label/arrows.py", line 337, in <listcomp>  
self._arrows = [Arrow(session, **ls) for ls in data['arrows state']]  
TypeError: __init__() got an unexpected keyword argument 'mid_point'  
  
opened ChimeraX session  




OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GTX 675MX OpenGL Engine
OpenGL vendor: NVIDIA Corporation
File attachment: arrows.cxs

arrows.cxs

Attachments (1)

arrows.cxs (2.0 KB ) - added by Elaine Meng 6 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (3)

by Elaine Meng, 6 years ago

Attachment: arrows.cxs added

Added by email2trac

comment:1 by pett, 6 years ago

Component: UnassignedSessions
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submission2D arrows not restored from old sessions

comment:2 by pett, 6 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.