Opened 10 years ago

Closed 10 years ago

#261 closed defect (fixed)

ribbon hide gives error

Reported by: Tom Goddard Owned by: Greg Couch
Priority: major Milestone:
Component: Command Line Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

open 1a0m
ribbon hide

Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2137, in run
_used_aliases=used_aliases))
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2461, in call
return cmd.run(text, _used_aliases=_used_aliases, log=log)
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2091, in run
raise UserError(self._error)
chimerax.core.errors.UserError: Missing "hideBackbone" keyword argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 120, in on_enter
cmd.run(cmd_text)
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2141, in run
cmd = ci.function.cmd
AttributeError: 'Alias' object has no attribute 'cmd'

Change History (1)

comment:1 by Greg Couch, 10 years ago

Resolution: fixed
Status: newclosed

Alias invocation needs to save Command object to allow for underlying error to be reported.

Note: See TracTickets for help on using tickets.