#1074: test_dEditBox.py fails with Value getting set to None
--------------------+-------------------------------------------------------
Reporter: paul | Owner: paul
Type: defect | Status: new
Priority: major | Milestone: 0.9
Component: ui | Version:
Keywords: |
--------------------+-------------------------------------------------------
{{{
sol:~/dabo/dabo/ui/uiwx/test pmcnett$ python test_dEditBox.py
testValue (__main__.Test_dEditBox) ... Dabo Info Log: Tue Jun 19 09:34:53
2007: 0 database connection definition(s) loaded.
Dabo Info Log: Tue Jun 19 09:34:55 2007: PyOpenGL not present, so
dGlWindow is not loaded.
Dabo Info Log: Tue Jun 19 09:34:55 2007: User interface set to 'wx' by
dApp.
Dabo Info Log: Tue Jun 19 09:34:55 2007: wxPython Version: 2.8.4.0 wxMac
(unicode)
Dabo Info Log: Tue Jun 19 09:34:55 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 "/home/pmcnett/dabo-full/trunk/dabo/ui/uiwx/dTextBoxMixin.py", line
310, in _setValue
self._afterValueChanged()
File "/home/pmcnett/dabo-full/trunk/dabo/ui/dDataControlMixinBase.py",
line 304, in _afterValueChanged
self.flushValue()
File "/home/pmcnett/dabo-full/trunk/dabo/ui/uiwx/dTextBoxMixin.py", line
44, in flushValue
self.SetValue(self.getStringValue(self.Value))
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
/site-packages/wx-2.8-mac-unicode/wx/_controls.py", line 1701, in SetValue
return _controls_.TextCtrl_SetValue(*args, **kwargs)
TypeError: String or Unicode type required
----------------------------------------------------------------------
Ran 1 test in 1.923s
FAILED (errors=1)
}}}
--
Ticket URL: <http://svn.dabodev.com/trac/dabo/ticket/1074>
Dabo <http://svn.dabodev.com/trac/dabo>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]