Opened 6 years ago

Closed 6 years ago

#3040 closed defect (fixed)

Error with close session

Reported by: Eric Pettersen Owned by: Greg Couch
Priority: normal Milestone: 1.0
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-18.7.0-x86_64-i386-64bit
ChimeraX Version: 0.93 (2020-04-03)
Description
File->Close Session with the attached session

Log:
UCSF ChimeraX version: 0.93 (2020-04-03)  
© 2016-2020 Regents of the University of California. All rights reserved.  

> open /Users/pett/rm/orig.cxs format session

Log from Mon Apr 13 11:16:42 2020 Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
  
UCSF ChimeraX version: 0.93 (2020-04-03)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 1moh format mmCIF fromDatabase pdb

1moh title:  
Ferric monomeric hemoglobin I (HB I) [more info...]  
  
Chain information for 1moh #1  
---  
Chain | Description  
A | monomeric hemoglobin I  
  
Non-standard residues in 1moh #1  
---  
H2S — hydrosulfuric acid (hydrogen sulfide)  
HEM — protoporphyrin IX containing Fe (HEME)  
  
  

> select /A:9

8 atoms, 7 bonds, 1 model selected  

> toolshed show Rotamers

> swapaa interactive sel CYD lib Dunbrack

/A ASN 9: phi -61.8, psi -45.6 trans  
Changed 9 bond radii  

> save2 /Users/pett/rm/orig.cxs

opened ChimeraX session  

> close session

Traceback (most recent call last):  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 875, in <lambda>  
close_action.triggered.connect(lambda arg, s=self, sess=session:
s.file_close_cb(sess))  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 605, in file_close_cb  
run(session, 'close session')  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/run.py", line 31, in run  
results = command.run(text, log=log)  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2848, in run  
result = ci.function(session, **kw_args)  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/std_commands/close.py", line 60, in close_session  
session.reset()  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 465, in reset  
for tag in self._state_containers:  
RuntimeError: dictionary changed size during iteration  
  
RuntimeError: dictionary changed size during iteration  
  
File "/Applications/ChimeraX
4-3-20.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 465, in reset  
for tag in self._state_containers:  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 INTEL-12.10.16
OpenGL renderer: Intel(R) Iris(TM) Pro Graphics 6200
OpenGL vendor: Intel Inc.
File attachment: orig.cxs

orig.cxs

Attachments (1)

orig.cxs (217.2 KB ) - added by Eric Pettersen 6 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (3)

by Eric Pettersen, 6 years ago

Attachment: orig.cxs added

Added by email2trac

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedSessions
Milestone: 1.0
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionError with close session

comment:2 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

Guard against state_containers changing during reset.

Note: See TracTickets for help on using tickets.