Ed Leafe wrote: > On Jun 19, 2007, at 6:43 AM, Uwe Grauer wrote: > >> Traceback (most recent call last): >> File "test_dEditBox.py", line 34, in testValue >> edt.Value = None > [snip] >> TypeError: String or Unicode type required > > I get it on OS X with wxPython 2.8.4. The error is pretty clear: > wxPython TextCtrl objects cannot accept None as a value; they need a > string-type value, and the docs say as much. > > I created some simple tests in raw wxPython, using both the SetValue > () and newer ChangeValue() methods of the TextCtrl, in both single- > and multi-line modes, and they both throw an error when you try to > set a value of None. So IMO the test for dEditBox is correct, and the > one for dTextBox is wrong, since it doesn't throw an error for some > reason. > > So what behavior should Dabo text controls have? Should we support > None as a value? > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com >
I supposed if there is a failing test then we have a bug in dabo, otherwise the test is wrong and never succeeded. Paul did something about None values in rev 2773. I just run all tests to see if they give me a hint on why my special german chars don't work any more. If anyone of you would have firebird 2 installed you might be able to help me with these errors. I have to get firebird 2 up on ubuntu to be able to test on a different platform. I will report after i got it running. Uwe _______________________________________________ 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]
