Re: vCalendar Import available for testing
Vic Heintz <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
On Friday, February 4, 2005, at 10:44 AM, [email protected] wrote: > > Vic, I just committed the latest changes which removed the Outlook > dependencies from vCalendar, please give it another try. Note that > this is vCal (v1.0), not iCal which is next on my list. Fails on import of vCal 1.0 file output from Palm desktop. I have attached exception and the vcal file. - Vic Traceback (most recent call last): File "/Users/vic/Projects/bitpim/vcal_calendar.py", line 424, in OnImport self.populate(self.__oc.get_display_data()) File "/Users/vic/Projects/bitpim/common_calendar.py", line 126, in populate s=l[3](d, entry) File "/Users/vic/Projects/bitpim/common_calendar.py", line 29, in bp_date_str return '%04d-%02d-%02d %02d:%02d'% v TypeError: int argument required Variables by last 8 frames, innermost last Frame MainLoop in //Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- packages/wx/_core.py at line 5262 self = <gui.MainApp; proxy of C++ wxPyApp instance at _022cfbd0_p_wxPyApp> Frame MainLoop in //Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- packages/wx/_core.py at line 4732 args = (<gui.MainApp; proxy of C++ wxPyApp instance at _022cfbd0_p_wxPyApp>,) kwargs = Keys [] {} Frame __call__ in /Users/vic/Projects/bitpim/gui.py at line 445 self = <gui.MenuCallback instance at 0x22b2e90> args = (<wx._core.CommandEvent; proxy of C++ wxCommandEvent instance at _bfffe0d0_p_wxC Frame OnFileImportVCal in /Users/vic/Projects/bitpim/importexport.py at line 1651 dlg = <vcal_calendar.VcalImportCalDialog; proxy of C++ wxDialog instance at _03eb7180_ parent = <gui.MainWindow; proxy of C++ wxFrame instance at _031ad3d0_p_wxFrame> Frame ShowModal in //Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- packages/wx/_windows.py at line 596 args = (<vcal_calendar.VcalImportCalDialog; proxy of C++ wxDialog instance at _03eb7180 kwargs = Keys [] {} Frame OnImport in /Users/vic/Projects/bitpim/vcal_calendar.py at line 424 evt = <wx._core.CommandEvent; proxy of C++ wxCommandEvent instance at _bfffc6c0_p_wxCo self = <vcal_calendar.VcalImportCalDialog; proxy of C++ wxDialog instance at _03eb7180_ dlg = <wx._windows.ProgressDialog; proxy of C++ wxProgressDialog instance at _046204b0 Frame populate in /Users/vic/Projects/bitpim/common_calendar.py at line 126 d = Keys ['categories', 'description', 'repeat', 'start'] {'start': (1986, 5, 26, 5, 0), 'repeat': False, 'description': u'Someone Birthda i = 2 m_count = 0 m = Keys [] {} l = ('end', 'End', 150, <function bp_date_str at 0x40c4030>) col_idx = 0 self = <vcal_calendar.VcalImportCalDialog; proxy of C++ wxDialog instance at _03eb7180_ mm = Keys [0, 1] {0: 'Someone Birthday', 1: '1986-05-26 05:00'} s = '' entry = None data = Keys [0] {0: {'start': (1986, 5, 26, 5, 0), 'repeat': False, 'description': u'Someone Bir k = 0 Frame bp_date_str in /Users/vic/Projects/bitpim/common_calendar.py at line 29 dict = Keys ['categories', 'description', 'repeat', 'start'] {'start': (1986, 5, 26, 5, 0), 'repeat': False, 'description': u'Someone Birthda v = None
vcaltest2.vcs
(application/octet-stream, 193 B) - not displayed