View Single Post
jcompagner's Avatar
Posts: 290 | Thanked: 165 times | Joined on Sep 2009
#385
Since support for recurring events i am not able to sync my main gmail calendar.
I started completely new (deleting the .erminig.db file in the user dir)

But still the same error:

Code:
Traceback (most recent call last):
  File "/usr/bin/erminig", line 80, sync_profile(widget=<gtk.ToolButton object at 0x40ba8c10 (GtkToolButton at 0x4bf150)>, data=<hildon.StackableWindow object at 0x40b62e40 (HildonStackableWindow at 0x454060)>)
      if selected_id:
        do_profile_sync(selected_id, data)
  variables: {'data': ('local', <hildon.StackableWindow object at 0x40b62e40 (HildonStackableWindow at 0x454060)>), 'selected_id': ('local', 1), 'do_profile_sync': ('global', <function do_profile_sync at 0x40bd1d70>)}
  File "/usr/bin/erminig", line 125, do_profile_sync(id=1, data=<hildon.StackableWindow object at 0x40b62e40 (HildonStackableWindow at 0x454060)>)
            profile['remoteSource'], \
            profile['lastUpdate'], progress)
  variables: {'profile': ('local', {'lastUpdate': 0, 'direction': 0, 'lastLocalUpdate': 0, 'remoteSourceTitle': u'Johan Compagner', 'remoteAccountId': 1, 'enabled': 1, 'localSource': u'10', 'remoteSource': u'xxxxxxxxxxxx@gmail.com', 'localSourceTitle': u'Gmail Prive', 'id': 1}), 'progress': ('local', <gtk.ProgressBar object at 0x40b55af8 (GtkProgressBar at 0x54e460)>)}
  File "/usr/share/erminig/erminig_core.py", line 495, syncFromGoogle(pid=1, localSource=u'10', remoteSource=u'xxxxxxxxxxxx@gmail.com', lastSync=0, progress=<gtk.ProgressBar object at 0x40b55af8 (GtkProgressBar at 0x54e460)>)
      getNewEventsFromGoogle(pid, int(localSource), remoteSource, lastSync, \
          progress)
  variables: {'progress': ('local', <gtk.ProgressBar object at 0x40b55af8 (GtkProgressBar at 0x54e460)>)}
  File "/usr/share/erminig/erminig_core.py", line 221, getNewEventsFromGoogle(pid=1, localSource=10, remoteSource=u'xxxxxxxxxxxx@gmail.com', lastSync=0, progress=<gtk.ProgressBar object at 0x40b55af8 (GtkProgressBar at 0x54e460)>)
        if e.recurrence <> None:
          recurrence = process_recurrence(e.recurrence.text)
          if not recurrence:
  variables: {'recurrence': ('local', {'dtend': '1950-03-18', 'dtstart': '1950-03-17', 'rrule': 'FREQ=MONTHLY;INTERVAL=12;UNTIL=20990316T230000Z;WKST=MO;BYMONTHDAY=17'}), 'process_recurrence': ('global', <function process_recurrence at 0x40b46730>), 'e.recurrence.text': ('local', 'DTSTART;TZID=Europe/Berlin:19810901T010000\nDTEND;TZID=Europe/Berlin:19810901T020000\nRRULE:FREQ=MONTHLY;INTERVAL=12;WKST=MO;BYMONTHDAY=31\nBEGIN:VTIMEZONE\nTZID:Europe/Berlin\nX-LIC-LOCATION:Europe/Berlin\nBEGIN:DAYLIGHT\nTZOFFSETFROM:+0100\nTZOFFSETTO:+0200\nTZNAME:CEST\nDTSTART:19700329T020000\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\nEND:DAYLIGHT\nBEGIN:STANDARD\nTZOFFSETFROM:+0200\nTZOFFSETTO:+0100\nTZNAME:CET\nDTSTART:19701025T030000\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\nEND:STANDARD\nEND:VTIMEZONE\n')}
  File "/usr/share/erminig/erminig_core.py", line 182, process_recurrence(rstring='DTSTART;TZID=Europe/Berlin:19810901T010000\nDTEND...BYMONTH=10;BYDAY=-1SU\nEND:STANDARD\nEND:VTIMEZONE\n')
      recurrence['dtstart'] = convert_date(start.group(1))
      recurrence['dtend'] = convert_date(end.group(1))
  variables: {'recurrence': ('local', {'dtstart': '1970-03-29T02:00:00', 'rrule': 'FREQ=MONTHLY;INTERVAL=12;WKST=MO;BYMONTHDAY=31'}), 'convert_date': ('global', <function convert_date at 0x40b466f0>), 'end': ('local', None)}
AttributeError: 'NoneType' object has no attribute 'group'
After this the sync just keeps hanging and i have to kill erminig process
There is something synched i have about 489 events now in that new calendar. But i dont know how far it got (first time i did go pretty far), and that last update still says "never" and i if i sync again it comes with an other error very quickly:

Code:
Traceback (most recent call last):
  File "/usr/bin/erminig", line 153, sync_all_profiles(widget=<gtk.ToolButton object at 0x40b62df0 (GtkToolButton at 0x4bc1d8)>, data=<hildon.StackableWindow object at 0x40b62e40 (HildonStackableWindow at 0x451060)>)
        id = i[0]
        do_profile_sync(id, data)
  variables: {'data': ('local', <hildon.StackableWindow object at 0x40b62e40 (HildonStackableWindow at 0x451060)>), 'id': ('local', 1), 'do_profile_sync': ('global', <function do_profile_sync at 0x40bd1d70>)}
  File "/usr/bin/erminig", line 125, do_profile_sync(id=1, data=<hildon.StackableWindow object at 0x40b62e40 (HildonStackableWindow at 0x451060)>)
            profile['remoteSource'], \
            profile['lastUpdate'], progress)
  variables: {'profile': ('local', {'lastUpdate': 0, 'direction': 0, 'lastLocalUpdate': 0, 'remoteSourceTitle': u'Johan Compagner', 'remoteAccountId': 1, 'enabled': 1, 'localSource': u'10', 'remoteSource': u'xxxxxxxxxxxxx@gmail.com', 'localSourceTitle': u'Gmail Prive', 'id': 1}), 'progress': ('local', <gtk.ProgressBar object at 0x40ba9850 (GtkProgressBar at 0x4ce350)>)}
  File "/usr/share/erminig/erminig_core.py", line 495, syncFromGoogle(pid=1, localSource=u'10', remoteSource=u'xxxxxxxxxxxxx@gmail.com', lastSync=0, progress=<gtk.ProgressBar object at 0x40ba9850 (GtkProgressBar at 0x4ce350)>)
      getNewEventsFromGoogle(pid, int(localSource), remoteSource, lastSync, \
          progress)
  variables: {'progress': ('local', <gtk.ProgressBar object at 0x40ba9850 (GtkProgressBar at 0x4ce350)>)}
  File "/usr/share/erminig/erminig_core.py", line 256, getNewEventsFromGoogle(pid=1, localSource=10, remoteSource=u'xxxxxxxxxxxxx@gmail.com', lastSync=0, progress=<gtk.ProgressBar object at 0x40ba9850 (GtkProgressBar at 0x4ce350)>)
        else:
          insertGoogleEventLocally(event, int(localSource), pid)
  variables: {'int': ('builtin', <type 'int'>), 'localSource': ('local', 10), 'pid': ('local', 1), 'event': ('local', <Event.Event instance at 0x43b3b170>), 'insertGoogleEventLocally': ('global', <function insertGoogleEventLocally at 0x40b46530>)}
  File "/usr/share/erminig/erminig_core.py", line 91, insertGoogleEventLocally(event=<Event.Event instance at 0x43b3b170>, cid=10, pid=1)
      if localID:  
        updateGoogleEventLocally(event, cid, localID)
      else:
  variables: {'updateGoogleEventLocally': ('global', <function updateGoogleEventLocally at 0x40b46570>), 'localID': ('local', u'2573'), 'event': ('local', <Event.Event instance at 0x43b3b170>), 'cid': ('local', 10)}
  File "/usr/share/erminig/erminig_core.py", line 100, updateGoogleEventLocally(event=<Event.Event instance at 0x43b3b170>, cid=10, localID=u'2573')
      # XXX Check for failed updates!
      cwrapper.updateLocalEvent(cid, event, localID)
  variables: {'cwrapper.updateLocalEvent': ('global', <function updateLocalEvent at 0x407a8e70>), 'localID': ('local', u'2573'), 'event': ('local', <Event.Event instance at 0x43b3b170>), 'cid': ('local', 10)}
  File "/usr/share/erminig/cwrapper.py", line 97, updateLocalEvent(cid=10, evt=<Event.Event instance at 0x43b3b170>, lid=u'2573')
          evt.get_start(), evt.get_end(), evt.get_rrule(), \
          evt.get_rtype(), evt.get_until())
  variables: {'evt.get_until': ('local', <bound method Event.get_until of <Event.Event instance at 0x43b3b170>>), 'evt.get_rtype': ('local', <bound method Event.get_rtype of <Event.Event instance at 0x43b3b170>>)}
  File "/usr/share/erminig/Event.py", line 98, get_until(self=<Event.Event instance at 0x43b3b170>)
        # ??
        return int(iso8601.parse(iso_date)) + 1
  variables: {'int': ('builtin', <type 'int'>), 'iso8601.parse': ('global', <function parse at 0x40b41f30>), 'iso_date': ('local', '--::')}
  File "/usr/share/erminig/iso8601.py", line 22, parse(s='--::')
        if m is None or m.group() != s:
            raise ValueError, "unknown or illegal ISO-8601 date format: " + `s`
        gmt = __extract_date(m) + __extract_time(m) + (0, 0, 0)
  variables: {'s': ('local', '--::'), 'ValueError': ('builtin', <type 'exceptions.ValueError'>)}
ValueError: unknown or illegal ISO-8601 date format: '--::'

Last edited by jcompagner; 2010-06-01 at 09:30.