Simen Haugen wrote: > I'm on WinXP using python 2.4 and wx 2.8 and dont get any errors running > this test. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Uwe Grauer > Sent: 19. juni 2007 12:43 > To: [email protected] > Subject: [dabo-users] Error with "python test_dEditBox.py" > > I get errors when i run: > [EMAIL PROTECTED]:~/src/dabo/dabo/ui/uiwx/test> python test_dEditBox.py > testValue (__main__.Test_dEditBox) ... Dabo Info Log: Tue Jun 19 > 12:40:11 2007: 0 database connection definition(s) loaded. > Dabo Info Log: Tue Jun 19 12:40:12 2007: User interface set to 'wx' by > dApp. > Dabo Info Log: Tue Jun 19 12:40:12 2007: wxPython Version: 2.6.3.3 wxGTK > (unicode) (gtk2) > Dabo Info Log: Tue Jun 19 12:40:12 2007: WARNING: No BasePrefKey has > been set for this application. > ERROR > > ====================================================================== > ERROR: testValue (__main__.Test_dEditBox) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "test_dEditBox.py", line 34, in testValue > edt.Value = None > File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dTextBoxMixin.py", > line 310, in _setValue > self._afterValueChanged() > File > "/usr/lib/python2.5/site-packages/dabo/ui/dDataControlMixinBase.py", > line 304, in _afterValueChanged > self.flushValue() > File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/dTextBoxMixin.py", > line 44, in flushValue > self.SetValue(self.getStringValue(self.Value)) > File > "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_controls.py", > line 1798, in SetValue > return _controls_.TextCtrl_SetValue(*args, **kwargs) > TypeError: String or Unicode type required > > ---------------------------------------------------------------------- > Ran 1 test in 1.590s > > FAILED (errors=1) > > > I'm using: > opensuse 10.2 > Platform: GTK > Python Version: 2.5 on linux2 > Dabo Version: Version 0.9a; Revision 3179 > UI Version: 2.6.3.3 on wxGTK (gtk2) > > Dabo IDE version: 0.9a (Revision 857) > > > Do others get this error too? > > Uwe >
I get the same error on ubuntu 7.04 with: Platform: GTK Python Version: 2.5.1 on linux2 Dabo Version: Version 0.9a; Revision 3181 UI Version: 2.8.1.1 on wxGTK (gtk2) 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]
