Opened 8 years ago

Closed 8 years ago

#883 closed defect (fixed)

command "select clear" gives traceback (undo-related)

Reported by: Elaine Meng Owned by: Conrad Huang
Priority: major Milestone:
Component: Undo/Redo Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Problem does not occur when selection is cleared by Ctrl-click in empty space, only with the command. From Log:

select clear
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 188, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2513, in run
result = ci.function(session, kw_args)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/select.py", line 109, in select_clear
clear_selection(session, "clear", undo_state)
NameError: name 'undo_state' is not defined

Change History (1)

comment:1 by Conrad Huang, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed in fd7ca83a2.

Note: See TracTickets for help on using tickets.