Opened 9 years ago

Closed 9 years ago

#376 closed defect (fixed)

volume viewer close/open errrors

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: major Milestone:
Component: Volume Data Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Closing all volume data does not collapse or close Volume Viewer, which perhaps is OK, but if I close it manually with the "x" there is an error later if I try to open another map:

Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 168, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2194, in run
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/molmap.py", line 116, in molmap
display_threshold, model_id, replace, show_dialog, name, session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/molmap.py", line 141, in make_molecule_map
show_dialog = show_dialog)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/volume.py", line 2788, in volume_from_grid_data
show_volume_dialog(session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/volume_viewer/gui.py", line 4546, in show_volume_dialog
vv.show()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/volume_viewer/gui.py", line 49, in show
self.tool_window.shown = True
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/gui.py", line 1287, in _set_shown
self, shown)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/gui.py", line 1206, in _tool_window_request_shown
all_windows = self.tool_instance_to_windows[tool_instance]
KeyError: <chimerax.volume_viewer.gui.VolumeViewer object at 0x11e461be0>

Secondly, and I don't know if this is the flip side of the same problem or a totally different problem, every time I open and close a session with volume data in it, I get another blank histogram in Volume Viewer. When I use the "x" to close those, closing the last one gives another error:

Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 168, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2194, in run
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/molmap.py", line 116, in molmap
display_threshold, model_id, replace, show_dialog, name, session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/molmap.py", line 141, in make_molecule_map
show_dialog = show_dialog)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/volume.py", line 2788, in volume_from_grid_data
show_volume_dialog(session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/volume_viewer/gui.py", line 4546, in show_volume_dialog
vv.show()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/volume_viewer/gui.py", line 49, in show
self.tool_window.shown = True
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/gui.py", line 1287, in _set_shown
self, shown)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/gui.py", line 1206, in _tool_window_request_shown
all_windows = self.tool_instance_to_windows[tool_instance]
KeyError: <chimerax.volume_viewer.gui.VolumeViewer object at 0x11e461be0>

Change History (1)

comment:1 by Tom Goddard, 9 years ago

Resolution: fixed
Status: newclosed

Fixed.

Note: See TracTickets for help on using tickets.