![]() |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I get this error a lot at the moment, can't seem to connect at all. Any idea where I might be going wrong?
Code:
Traceback (most recent call last):EDIT: It still seems to work on wifi connection, but not over 3G (despite the fact that I am getting 3G speeds of over 150KB/s with browsing and downloading). EDIT 2: If an event is created in Google calendar, then changed in Google calendar (eg open and change times), then sync-ed in Erminig, then it will not appear on the phone. (is this clear?) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I noticed a bug with repeating monthly events. It's simple enough to repeat: create an event that repeats the 2nd Tuesday of each month (instead of the same day of the month each month). Erminig will crash when it attempts to sync that calendar. I've even created a new google calendar with just that single entry and created a new calendar on the n900 to sync with and the crash happened so I know it's being caused by this particular type of recurring event.
I did notice that the N900 calendar didn't seem to support this type of recurring event so maybe that's the cause of the problem? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I'm getting loads of errors along the lines of
"RequestError({'status': 400, 'body': 'Invalid recurrence data', 'reason': 'Bad Request'},)" Whenever this happens it also seems to drop the remote source from the settings too. As far as I can see, nothing is being synced at all. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hi there!
I'm getting an issue using Erminig on my N900. It worked fine the first time I used this great app, but now I'm getting the following error when launching it (I cannot reach the menu of Erminig): Quote:
Thanks in advance for you help. :) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I get the following traceback:
Traceback (most recent call last): File "/usr/bin/erminig", line 153, sync_all_profiles(widget=<gtk.ToolButton object at 0x41d07a58 (GtkToolButton at 0x4c69b8)>, data=<hildon.StackableWindow object at 0x41d07030 (HildonStackableWindow at 0x456060)>) id = i[0] do_profile_sync(id, data) variables: {'data': ('local', <hildon.StackableWindow object at 0x41d07030 (HildonStackableWindow at 0x456060)>), 'id': ('local', 2), 'do_profile_sync': ('global', <function do_profile_sync at 0x41d332f0>)} File "/usr/bin/erminig", line 125, do_profile_sync(id=2, data=<hildon.StackableWindow object at 0x41d07030 (HildonStackableWindow at 0x456060)>) profile['remoteSource'], \ profile['lastUpdate'], progress) variables: {'profile': ('local', {'lastUpdate': 1278953736, 'direction': 0, 'lastLocalUpdate': 1278953738, 'remoteSourceTitle': u'Belgie', 'remoteAccountId': 1, 'enabled': 1, 'localSource': u'8', 'remoteSource': u'rfiu8krjre5je6t5i3kdkd3fdc@group.calendar.google .com', 'localSourceTitle': u'Belgie', 'id': 2}), 'progress': ('local', <gtk.ProgressBar object at 0x41d0a260 (GtkProgressBar at 0x4d80b0)>)} File "/usr/share/erminig/erminig_core.py", line 495, syncFromGoogle(pid=2, localSource=u'8', remoteSource=u'rfiu8krjre5je6t5i3kdkd3fdc@group.ca lendar.google.com', lastSync=1278953736, progress=<gtk.ProgressBar object at 0x41d0a260 (GtkProgressBar at 0x4d80b0)>) getNewEventsFromGoogle(pid, int(localSource), remoteSource, lastSync, \ progress) variables: {'progress': ('local', <gtk.ProgressBar object at 0x41d0a260 (GtkProgressBar at 0x4d80b0)>)} File "/usr/share/erminig/erminig_core.py", line 256, getNewEventsFromGoogle(pid=2, localSource=8, remoteSource=u'rfiu8krjre5je6t5i3kdkd3fdc@group.ca lendar.google.com', lastSync=1278953736, progress=<gtk.ProgressBar object at 0x41d0a260 (GtkProgressBar at 0x4d80b0)>) else: insertGoogleEventLocally(event, int(localSource), pid) variables: {'int': ('builtin', <type 'int'>), 'localSource': ('local', 8), 'pid': ('local', 2), 'event': ('local', <Event.Event instance at 0x41ae9b70>), 'insertGoogleEventLocally': ('global', <function insertGoogleEventLocally at 0x419c2a70>)} File "/usr/share/erminig/erminig_core.py", line 91, insertGoogleEventLocally(event=<Event.Event instance at 0x41ae9b70>, cid=8, pid=2) if localID: updateGoogleEventLocally(event, cid, localID) else: variables: {'updateGoogleEventLocally': ('global', <function updateGoogleEventLocally at 0x419c2ab0>), 'localID': ('local', u'2360'), 'event': ('local', <Event.Event instance at 0x41ae9b70>), 'cid': ('local', 8)} File "/usr/share/erminig/erminig_core.py", line 100, updateGoogleEventLocally(event=<Event.Event instance at 0x41ae9b70>, cid=8, localID=u'2360') # XXX Check for failed updates! cwrapper.updateLocalEvent(cid, event, localID) variables: {'cwrapper.updateLocalEvent': ('global', <function updateLocalEvent at 0x413f5eb0>), 'localID': ('local', u'2360'), 'event': ('local', <Event.Event instance at 0x41ae9b70>), 'cid': ('local', 8)} File "/usr/share/erminig/cwrapper.py", line 97, updateLocalEvent(cid=8, evt=<Event.Event instance at 0x41ae9b70>, lid=u'2360') 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 0x41ae9b70>>), 'evt.get_rtype': ('local', <bound method Event.get_rtype of <Event.Event instance at 0x41ae9b70>>)} File "/usr/share/erminig/Event.py", line 98, get_until(self=<Event.Event instance at 0x41ae9b70>) # ?? return int(iso8601.parse(iso_date)) + 1 variables: {'int': ('builtin', <type 'int'>), 'iso8601.parse': ('global', <function parse at 0x419c24b0>), '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: '--::' Adding some prints to the code, it seems this type of recurrence rule triggers it: DTSTART;VALUE=DATE:20090901 DTEND;VALUE=DATE:20090902 RRULE:FREQ=YEARLY;WKST=MO THOMAS: rules ['FREQ=YEARLY', 'WKST=MO'] I'll see if I can work up a patch. Is ermining maintained somewhere where it's easier to see the code repository, collaborate, submit patches, and get downloads ? A forum thread is a really horrible place to go look for bugs and updates... |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Digging a little deeper, I'd like to understand the API better. Is there any API docs for libcalaccess ? I'm looking at updateLocalEvent and not finding it in these docs for example: http://maemo.org/api_refs/5.0/5.0-fi...endar-backend/
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I've been eager to try this for a long time, but was a bit wary of installing something so early in development.
I'm about to take the plunge, is there somewhere (e.g. a wiki page) which gives instructions? The thread is a bit unwieldy. Thanks for all the hard work in getting it to this stage. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
is it possible to let erminig update the calender more than once a day?
like with an interval of 1 / 2 hours? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
A couple of things I've noticed...
It didn't delete anything (that I've noticed), and I managed to actually send my calendar to google... so thank's very much for your efforts so far! problems... I can't create more than 1 profile... which is annoying since I've just organised my google calendar into multiple calendars for this purpose. Whenever I click the + button, it presents the add profile screen, but when I save it, it overwrites the first one. The log is always empty, so I can't send you the log of what happened. Also, what does the 1 button and 'refresh' looking buttons actually do? I pressed both anyway. So far though.... looking very promising! If you haven't already got a lot of supporters, you will soon. Please keep ontop of this. Edit: Just noticed that every time I edit the first (and only possible) profile, the google calendar it want's to sync with is changed to "Weather" (a google created calendar). |
| All times are GMT. The time now is 06:41. |
vBulletin® Version 3.8.8