Hi folks,
I'm getting the below error but it's funny because sometimes it works.
The error is associated with a dDateTextBox and uses the extended
Calendar as in:
dabo.ui.dDateTextBox(self, RegID ='list_start_dateID',Value = startDay,
ExtendedCalendar = True))
The error occurs with Dabo2 and Dabo-Phoenix.
On versions of OS windows 7 and 10, and Linux using python 2.7.x,
wxPython 3.0.x I'm getting the following traceback:
This is the windows 10 version but is the same on Linux.
Traceback (most recent call last):
File "h:\dabo2\dabo\ui\uiwx\dPemMixin.py", line 598, in __onWxKeyChar
self.raiseEvent(dEvents.KeyChar, evt)
File "h:\dabo2\dabo\ui\uiwx\dPemMixin.py", line 1086, in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
File "h:\dabo2\dabo\lib\eventMixin.py", line 81, in raiseEvent
bindingFunction(event)
File "h:\dabo2\dabo\ui\uiwx\dDateTextBox.py", line 201, in __onChar
self.adjustDate(key, ctrl, shift)
File "h:\dabo2\dabo\ui\uiwx\dDateTextBox.py", line 334, in adjustDate
self.showCalendar()
File "h:\dabo2\dabo\ui\uiwx\dDateTextBox.py", line 150, in showCalendar
cp = self._CalendarPanel
File "h:\dabo2\dabo\ui\uiwx\dDateTextBox.py", line 449, in _getCalendarPanel
extended=self.ExtendedCalendar)
File "h:\dabo2\dabo\ui\uiwx\dDateTextBox.py", line 29, in __init__
super(CalPanel, self).__init__(parent, pos=pos)
File "h:\dabo2\dabo\ui\uiwx\dPanel.py", line 275, in __init__
attProperties=attProperties, *args, **kwargs)
File "h:\dabo2\dabo\ui\uiwx\dPanel.py", line 250, in __init__
properties=properties, attProperties=attProperties, *args, **kwargs)
File "h:\dabo2\dabo\ui\uiwx\dPanel.py", line 40, in __init__
properties=properties, attProperties=attProperties, *args, **kwargs)
File "h:\dabo2\dabo\ui\uiwx\dPemMixin.py", line 212, in __init__
self._afterInit()
File "h:\dabo2\dabo\ui\uiwx\dPemMixin.py", line 342, in _afterInit
self.afterInit()
File "h:\dabo2\dabo\ui\uiwx\dDateTextBox.py", line 39, in afterInit
self.cal.Date = self.date
File "h:\dabo2\dabo\ui\uiwx\dCalendar.py", line 228, in _setDate
evt = evtClass(self, self._evtCalDayType)
File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\calendar.py", line 197, in
__init__
_calendar.CalendarEvent_swiginit(self,_calendar.new_CalendarEvent(*args,
**kwargs))
TypeError: Required argument 'type' (pos 3) not found
Anybody know how to fix it?
Johnf
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]