Opened 8 years ago

Closed 8 years ago

#820 closed defect (not a bug)

'Session' object has no attribute 'undo'

Reported by: Eric Pettersen Owned by: Conrad Huang
Priority: blocker Milestone:
Component: Core Version:
Keywords: Cc: chimera-programmers, Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Open 5uak and click the 'hide ribbon' toolbar icon.

Traceback (most recent call last):
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/shortcuts/tool.py", line 47, in button_press_cb
ks.run_shortcut(keys)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/shortcuts/shortcuts.py", line 373, in run_shortcut
sc.run(self.session)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/shortcuts/shortcuts.py", line 270, in run
commands.run(s, f)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/run.py", line 31, in run
results = command.run(text, log=log)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2405, in run
result = ci.function(session, kw_args)
File "/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/hide.py", line 65, in hide
session.undo.register("hide", undo, redo)
AttributeError: 'Session' object has no attribute 'undo'

Change History (1)

comment:1 by Eric Pettersen, 8 years ago

Resolution: not a bug
Status: assignedclosed

I don't think my development install was completely up to date.

Note: See TracTickets for help on using tickets.