Użytkownik John Fabiani napisał: > Hi, > openSUSE 11.3 , PYTHON 2.6.5, wxPython 2.8.11, latest Dabo > > I'm getting an error from dateTimePy2Wx(date) > > retVal = wx.DateTimeFromTimeT(mktime(date.timetuple())) > > from > agebox=dabo.ui.dDatePicker(self, Width=175,RegID="bornID", ForceShowCentury = > True, Value = datetime.date(1940,01,01)) > > When I set the Value I get an error message (not a traceback) > 2011-08-05 10:35:57 - ERROR - Could not set value of dDatePicker to > 1940-01-01. Error message: in method 'new_DateTimeFromTimeT', expected > argument 1 of type 'time_t' >
It seems I'm not old enough to figure it out :-) Try current commit please. -- Regards Jacek Kałucki _______________________________________________ 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/[email protected]
