Re: [dabo-users] Very Simple dropdownlist

Author: Paul McNett

Posted: 2009-07-15 at 19:30:20

Paul McNett wrote:

> Carey Gagnon wrote:

>> John, thanks so much! I knew there had to be a simpler way. Ihad already

>> successfully created the drop downlist it was getting it populated without a

>> db look up that I was having an issue with. Now it is populating and

>> correctly saving everything to the database.

>>

>> Still one issue however. I am now getting the following error shown in the

>> terminal window (I'm running linux) This is only a partial trace back:

>>

>> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dControlItemMixin.py",

>> line 356, in _setStringValue

>> raise ValueError(_("String must be present in the choices."))

>> ValueError: String must be present in the choices.

>>

>> Any ideas?

>

> Could you please post the entire traceback? I just changed this behavior

> yesterday (raising a ValueError instead of just outputting the message

> to the log).

Actually I misspoke. I changed something else similar in dRadioList. But

still, the entire traceback is what we really need to diagnose why this

is happening in your case...

Paul

©2009 Paul McNett