On Friday, August 05, 2011 11:00:52 am Jacek Kałucki wrote: > 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.
New error from my svn Could not convert all characters in /home/johnf/dabo/dabo/ui/uiwx/dDatePicker.py when reading it as a utf-8 encoded file. Replacing unmappable characters with ?'s so saving the file may result in a corrupted file. You may want to right click on the file and set encoding in the file's properties, or reopen it after changing the Files / Default Encoding preference. _______________________________________________ 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]
