Phoenix - DatePickerCtrl

Hi,

Also with Dabo I see this exception:

File "c:\dev\dabo - phoenix\dabo\ui\uiwx\datepicker.py", line 396, in <module>
   test.Test().runTest(TestBase, AllowNullDate=True, Value=datetime.date(1970, 12, 03))
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\test.py", line 51, in runTest
   obj = class_(parent=panel, LogEvents=logEvents, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\datepicker.py", line 87, in __init__
   properties, attProperties, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\datacontrolmixinbase.py", line 33, in __init__
   dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\pemmixin.py", line 191, in __init__
   preClass.__init__(self, *args, **kwargs)

SystemError: NULL result without error in PyObject_Call

Values at line 191 are:
preClass
<class 'wx._adv.DatePickerCtrl'>
args
()
kwargs
{'style': 10, 'id': -1, 'parent': <panelTest (baseclass dabo.ui.panel.dPanel, id:-31972)>}

Any hint what might cause this?

Phoenix version is the snapshot from yesterday.

Werner

Werner wrote:

Hi,

Also with Dabo I see this exception:

File "c:\dev\dabo - phoenix\dabo\ui\uiwx\datepicker.py", line 396, in
<module>
test.Test().runTest(TestBase, AllowNullDate=True,
Value=datetime.date(1970, 12, 03))
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\test.py", line 51, in runTest
obj = class_(parent=panel, LogEvents=logEvents, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\datepicker.py", line 87, in
__init__
properties, attProperties, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\datacontrolmixinbase.py", line 33,
in __init__
dabo.ui.dControlMixin.__init__(self, *args, **kwargs)
File "c:\dev\dabo - phoenix\dabo\ui\uiwx\pemmixin.py", line 191, in
__init__
preClass.__init__(self, *args, **kwargs)

SystemError: NULL result without error in PyObject_Call

Basically this means that something that was supposed to return a PyObject* returned NULL but no Python exception was set.

Values at line 191 are:
preClass
<class 'wx._adv.DatePickerCtrl'>
args
()
kwargs
{'style': 10, 'id': -1, 'parent': <panelTest (baseclass
dabo.ui.panel.dPanel, id:-31972)>}

Any hint what might cause this?

Phoenix version is the snapshot from yesterday.

I'm not sure what would cause that in this case though... Can you duplicate this with a plain DatePickerCtrl in a standalone sample?

···

--
Robin Dunn
Software Craftsman