Skip to content

TraitsUIPanel has no attribute GetValue #1

@joshmarshall

Description

@joshmarshall

When running the Traits examples/demo/Standard_Editors/ColorEditor_demo.py, I tried to enter a text value ("olive") into the Color field as well as modify the rgb() value, and both times received the following traceback:

Traceback (most recent call last):
File "/home/jmarshall/env/ets/lib/python2.7/site-packages/traitsui-3.6.1-py2.7.egg/traitsui/wx/color_editor.py", line 250, in update_object
self.value = w3c_color_database.Find(self.control.GetValue())
AttributeError: 'TraitsUIPanel' object has no attribute 'GetValue'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions