Opened 6 years ago

Closed 6 years ago

#2248 closed defect (fixed)

KeyError hiding tools when map series closed

Reported by: goddard@… Owned by: pett
Priority: normal Milestone:
Component: Volume Data 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.17134
ChimeraX Version: 0.91 (2019-07-20)
Description
Used the "close" command with a map series shown.

Log:
UCSF ChimeraX version: 0.91 (2019-07-20)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open
C:/cygwin64/home/goddard/ucsf/data/tara_ocean/TARA_HCS1_H5_G100004727_G100004940
--2013_12_08_21_26_28/slice--S00/chamber--U00--V01/field--X04--Y09/image--L00
--S00--U00--V01--J08--E00--O00--X04--Y09--T00--Z00--C00.ome.tif

Opened multi-channel map image--L00--S00--U00--V01--J08--E00--O00--X04--Y09--
T00--Z00--C00.ome.tif, 5 channels, grid size 2048,2048,20, pixel
0.188,0.188,1.09, shown at step 2, values uint8  

> vr on

started SteamVR rendering  

> close

> open "D:\\\vrdemos\\\neutrophil-feb2016\\\neutrophil.cxc"

> open c7ch0step221.cmap

Opened map series c7ch0step221.cmap, 110 images, grid size 128,256,151, pixel
0.2,0.2,0.25, shown at level 285, step 1, values float32  

> volume #1 step 1 level 100 color wheat

No volumes specified  
No volumes specified  
No volumes specified  

> vr off

> close

Traceback (most recent call last):  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\ui\gui.py", line 778, in <lambda>  
ghb_action.toggled.connect(lambda checked: setattr(self, 'hide_tools',
checked))  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\ui\gui.py", line 657, in hide_tools  
tw.shown = True  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\ui\gui.py", line 1497, in shown  
self.session.ui.main_window._tool_window_request_shown(self, shown)  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\ui\gui.py", line 1352, in _tool_window_request_shown  
all_windows = self.tool_instance_to_windows[tool_instance]  
KeyError: <chimerax.map.series.slider.MapSeriesSlider object at
0x000002361A813348>  
  
KeyError:  
  
File "C:\cygwin64\home\goddard\ucsf\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\ui\gui.py", line 1352, in _tool_window_request_shown  
all_windows = self.tool_instance_to_windows[tool_instance]  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 398.35
OpenGL renderer: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (4)

comment:1 by Tom Goddard, 6 years ago

Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionKeyError hiding tools when map series closed

comment:2 by Tom Goddard, 6 years ago

Owner: changed from Tom Goddard to pett

This error happens when the hide/show tools icon in the lower right corner of the main window is pressed to show the tools after some tools have been closed, for instance by closing models. Here is a simpler example that produces the same error

open 1a0m
# Show sequence with log chain table link.
# Hide tool panels with button in lower right corner of main window
close
# Show tool panels with button in lower right corner

comment:3 by pett, 6 years ago

Status: assignedaccepted

comment:4 by pett, 6 years ago

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