Opened 10 years ago

Closed 10 years ago

#216 closed defect (fixed)

coloring is broken today

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: critical Milestone:
Component: Graphics Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

in the Graphics icons, the ones that change background color are broken, cause traceback:

White background (wb)
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/shortcuts/gui.py", line 51, in button_press_cb
ks.run_shortcut(keys)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/shortcuts/shortcuts.py", line 357, in run_shortcut
sc.run(self.session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/shortcuts/shortcuts.py", line 250, in run
commands.run(s, f)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/run.py", line 21, in run
command.parse_text(text, final=True)
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 2135, in parse_text
self._process_keyword_arguments(final, prev_annos)
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 2089, in _process_keyword_arguments
value, text = self._parse_arg(anno, text, session, final)
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 1860, in _parse_arg
value, replacement, rest = annotation.parse(text, session)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/colorarg.py", line 42, in parse
from .colordef import _find_named_color
ImportError: No module named 'chimerax.core.commands.colordef'

Change History (2)

comment:1 by Elaine Meng, 10 years ago

Summary: clicking "Graphics" icon to change background color brokencoloring is broken today

Doh, I see it is not the icon specifically.

All coloring is broken, including with the "color" command.

I would add others to the CC except that I can't see any way to change this after submitting the initial ticket. Grr.

comment:2 by Greg Couch, 10 years ago

Resolution: fixed
Status: newclosed

.colordef should have been changed to .colorname.

Note: See TracTickets for help on using tickets.