Opened 9 years ago

Closed 9 years ago

#467 closed defect (fixed)

Density map toolbar thinks it is the mouse modes tool

Reported by: tic20@… Owned by: Greg Couch
Priority: major Milestone:
Component: Tool Shed Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Menu Tools / Toolbar / Density Map Toolbar gives this bizarre error where the shortcuts tool start_tool() method is called with the name of the mouse modes tool.

This is probably related to another bug where the Side View panel title is "Mouse Modes for Right Button".

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/gui.py", line 551, in <lambda>
tool_action.triggered.connect(lambda arg, ses=session, bi=bi: bi.start_tool(ses, tool_name))
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/toolshed/init.py", line 1960, in start_tool
ti = f(session, tool_name, *args, kw)
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/shortcuts/init.py", line 21, in start_tool
cls = panel_classes[tool_name]
KeyError: 'Mouse Modes for Right Button'

KeyError: 'Mouse Modes for Right Button'

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/shortcuts/init.py", line 21, in start_tool
cls = panel_classes[tool_name]
See log for Python traceback.

Change History (2)

comment:1 by tic20@…, 9 years ago

After reporting this to Tom I played around a little more and realised that all options on the General/Toolbar menu give the same error.

 
 
Tristan Croll
Research Fellow
Cambridge Institute for Medical Research
University of Cambridge CB2 0XY
 

 


comment:2 by Greg Couch, 9 years ago

Resolution: fixed
Status: newclosed

Fixed. Had used value of variable from outer scope, which, of course, changed.

Note: See TracTickets for help on using tickets.