On Friday 24 August 2007 13:15, Mike Driscoll wrote:
> Hi,
>
> Every time I give Dabo a go, I end up with weird issues. I've been trying
> to use a grid widget from wxPython to display database information and
> then decided that Dabo might make it easier. However, when I open the Dabo
> Application Wizard Demo, it gives me an error when I switch the profile to
> MsSQL (the db server we use here at work).
>
> Traceback (most recent call last):
> File
> "c:\python24\lib\site-packages\Dabo-0.8.1s-py2.4.egg\dabo\lib\eventMixin.
> py", line 98, in raiseEvent
> bindingFunction(event)
> File
> "C:\Python24\Lib\site-packages\Dabo-0.8.1s-py2.4.egg\daboide\wizards\AppW
> izard\AppWizard.py", line 257, in onProfileChoice
> exec("self.ctl%s.Value = r'%s' " % (fld, val) )
> File "<string>", line 1, in ?
> File
> "c:\python24\lib\site-packages\Dabo-0.8.1s-py2.4.egg\dabo\ui\uiwx\dContro
> lItemMixin.py", line 361, in _setValue
> self.StringValue = value
> File
> "c:\python24\lib\site-packages\Dabo-0.8.1s-py2.4.egg\dabo\ui\uiwx\dContro
> lItemMixin.py", line 335, in _setStringValue
> raise ValueError, _("String must be present in the choices.")
> ValueError: String must be present in the choices.
>
> Not sure what that means. In an unrelated note, if I run the Dabo Runtime
> Engine, it asks me to give it a python file to open. When I do so, it
> closes the dialog and nothing happens.
>
> I'm running Python 2.4, wxPython 2.8.4 and Windows XP SP2.
>
> Mike Driscoll
> Applications Specialist
> MCIS - Technology Center
Mike I'm so sorry nobody seems to have answered your question or offered any
help. But to be honest I'm not to sure what could be causing your problem
and I don't have a way to test it. The code in question does little but copy
strings from a hard coded section in the code.
The version you are using is a little old and may have contained a bug. So
it might be best to update the code to the latest using "svn checkout".
Please review the wiki for details on how you can update your code.
Also can you update your python to 2.5? There could be issues using python
2.4 - but I am not sure.
I'm sure someone will help you - it's just the weekend.
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]