![]() |
[Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
A new version of Erminig-NG is available! More information in this post
The new version sports an easy-to use GUI and is ready for a more widespread testing, since it's now available in extras-devel. Please follow the link above to get more information! This now obsolete post will stay here for historical purposes, but the old version of Erminig-NG is not available for download anymore. ************************************************** ****************************** Hi all, I'm pleased to announce the first public (and very alpha) version of Erminig-NG, a tool that allows you to perform two-way synchronization between Fremantle Calendar and Google Calendar. BIG FAT WARNING: this is still alpha-quality software, so it's not really for those people who are afraid to lose events in their calendars! Currently Erminig-NG is a command-line only tool (a GUI will follow), and no .deb file is available. At the end of this post there's a .tar.gz that you can download and unpack on your device if you are brave enough to try Erminig-NG. Please first try it on non-important calendars (or better yet, create ad-hoc calendars for the tests), since a screw-up in Erminig-NG may trash your calendars! Software dependencies: python-gdata (available in Extras). By installing it (I won't give out the instruction about how to install python-gdata, in order to restrict a little bit the audience of crazy people wanting to try Erminig-NG), it will pull all the necessary dependencies (namely Python2.5) How to install Erminig-NG Download and unpack the archive file somewhere on your device Open the file erminig_conf.py and change the first two variables (they represent your Google username and password) How to run Erminig-NG For the first run: Code:
% python2.5 erminig-ng --sync-calendars WARNING: For the moment it is important to run Erminig-NG for the first time with the --sync-calendars option, otherwise it will miss old events to import (known bug). Similarly, adding calendars to sync after the first real sync will miss old events (only new events from the time of the last sync will be synced in the the new calendar). Uhm, this is quite convoluted as an explanation...I hope that you will get the essence of this warning though :) Code:
% python2.5 erminig-ng If you added a local or Google calendar, you may want to rerun Erminig-NG with the --sync-calendars, so that it will ask you if you want to sync the newly discovered calendars (with the gotcha mentioned above!) Important: I won't take any responsibility for trashed calendars, so if you missed a date with your girlfriend/wife/boyfriend/husband/whatever, or you missed your flight, or any kind other kind of event related to calendar due to mis-synchronization I can only be sorry (and I apologize, sincerely), but it cannot go further than that. UFAQ (Upcoming FAQ ;)))
with that said, enjoy and please report any bug you may find! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
beeing one of those you (should) scare away from alpha software, I am going to trail this thread hoping it will hit repos soon.
It looks promising, good luck working on it! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Really cool, this is the type of functinality the N900 needs, for now I am using a free 3rd party server that syncs the calender via MfE and it seems to work perfectly so far, I do however look forward to this so I can do it directly within my device.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Can you tell whats the difference with syncing using Mail for exchange and Google calendar? That works here fine.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Additionally, if I'm not mistaken, the fact that MfE can sync Google Calendar is an "accidental feature", that just happens to work. At the moment I can't find the post that explicitly said that... |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
ahh i was waiting for such an app to appear..
(if java was a supported language on maemo i already would have picked it up, now i wait for a good development environment on windows first...) so this app talks directly to google api and syncs it right into the calendar of the N900 including multiply calendars? Dont know exactly the status of the google api but does it also handle/give you back the shared/public cals i have? Because i have a few that i really want to sync up with (like sports calendar of my favorite club) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Can you post some screen shots?
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Oh, no GUI. gotcha.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Will be following this closely. I was just in the process of writing an email to see if anyone was developing this type of application.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Thanks! Sounds great! I'll try to test it in the next couple days...
Quote:
Does this support syncing from multiple calendars? I use google calendar for 3 calendars, that are shared with 3 different groups of people (read-write) by sharing a google account and password. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I am eagerly following this, I can't wait to see it working!
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
erminig will scan your list of google calendars (automatically) and for each calendar on Google it will ask you if you wish to have that calendar in sync. You have to answer yes or no (y/n). If you answer y(es), it will create a local calendar with the same name as the Google one, and will keep it in sync. Then it will scan the list of local N900 calendars and will ask you if you wish to keep that local calendar in sync with Google. If you answer y(es), erminig will create a calendar on Google, with the same name as the one on your device, and will keep it in sync. Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
However, how does it know what "my" calendars are? as I was mentioning, I have 3 different google accounts that I use to share stuff with people. Where do I configure these? In the contacts application? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
for the moment (since no GUI is available), you have to edit a config file to specify your username/password. erminig will then fetch the calendars associated with that username. It is however not possible (yet) to specify multiple username/passwords in order to fetch multiple calendars spread on multiple account. I have to admit that I never considered this possibility, but this is a great suggestion for an enhancement of erminig. I hope that this time I understood correctly ;) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hi Lorelei,
I just tested your tool. This is what I was waiting for - thanks for programming! I found some issues: - I have 7 local cals. Erminig does not recognize one of them (name: privat), so I can not sync this cal. I have no idea what so special about this one cal, but this cal I also can not rename ;-) - Erminig crashed on a cal having an umlaut (Geschäft) in the title (I'm in austria). Renamed to "Geschaeft" to work around this problem, it's a minor issue. - I looked at the python script and saw that there is no recognition if a local calendar is already on google. Looks like a complicated thing keeping tracking of all the IDs, so it's a "nice-to-have" thing. - A big problem is that after Erminig created 5 cals on google, three of them had wrong titles - they had the google-id as the title (the looooong string with groop.calendar.google.com at the end). Erminig could sync all the events of these cals, however it's hard to recognize the real title of these calcs in Google now. After correcting the titles in google, Erminig could not sync with them anymore. A renaming back to the google-ids as titles did not help. The only way to get Erminig to work again is to delete Erminig's database. At the moment is this the biggest problem for me - any ideas? It's a great start - thanks again. For the issues: I'd be happy to help in debugging... Petibub |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
i much prefer the gpe calendar over the nokia implementation. the nokia calendar doesn't seem to have the same flexibility or ease of use. i look forward to having erminig working on the n900 as well as it does on my n800. moving the calendar from the n800 to the n900 by working through google was a hassle. i am waiting for an update to m4e so i can sync the nokia calendar with google while i wait for erminig. once i have the gpe calendar synced and working on the n900 i can decide what i want to do about keeping the n800. i love the n900.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Petibub:
thank you for testing Erminig-NG! I appreciate! Please find below my comments on the bugs you encountered so far: Quote:
Quote:
In the meantime I will simply display a dialog box with the question. Quote:
Quote:
thanks again for the bug reports! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
Code:
feed = gd_client.GetAllCalendarsFeed() However, we are not lost because I could rename the wrong-title cals using google web interface but I had to do it just after using "--sync-calendars" and before the first real syncing. Otherwise something went wrong with the query (l. 262) because Code:
feed = gd_client.CalendarQuery(query) I added some additional "print"s to get more infos during syncing and I will use it in the next few days, let's see what happens :-) Thanks again, Petibub |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
If someone is tired of typing (like me): here is the code for an application icon which calls erminig:
Code:
[Desktop Entry] |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
OK, to summarize the issues that petibub reported:
- calendar named "Privat", or "Private" in the English version of Maemo: to sync that one, you have to accept to sync the calendar named "cal_ti_calendar_private" - calendars with umlauts or any other diacritic, or any other non-ascii symbol: now Erminig won't crash. It will instead display the question about syncing a calendar in a UI dialog, to avoid problems with the terminal - recognition of calendars already in google: no fix for the moment. But this is not really a bug, more a convenience. Can be "fixed" easily only once the GUI is done. - calendars shown with IDs instead of title: according to petibub (thank you very much for the research on that bug!) the problem looks to be on Google's side and not on erminig's. As a workaround (which I'm not sure that it is effective, but it won't do any harm), a newly created calendar is immediately updated with its real name (even if it is already correct). This may help. ---------------- Upcoming version of Erminig-NG will contain the fixes shown above, plus a big change: instead of accessing directly the calendar database, I will use the published calendar API, shis is the correct way of interacting with the Calendar DB. SInce there's no python binding to access CCalendar DB, I will write a C++ wrapper library that will be used by Erminig-NG to access easily the Calendaring API. This should be rather straightforward (famous last words), and I hope to get that new version out by this Sunday. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
This looks like one of the most useful applications for the N900.
Thanks for your work lorelei! What happens with birthdays from contacts? They are displayed in the Maemo Calendar but I don't know if they could be synced because they are based on the contacts entry. Also MfE has a problem with them and they are always +- 2 days different after a sync :( Do you have any plans to support Google Contacts sync as well? Together with Google Mail IMAP MfE wouldn't be needed to have everything in sync with Google :) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Sorry for the off-topic, Lorelei - I'm just curious when feydrutha is adding work by having three separate accounts...
Quote:
Why have three separate accounts on Google with shared passwords, when you could just have one account each (and associated email address etc) and just create three shared calendars that you can all still access in the same way? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
In general people sometimes have multiple accounts of services for a variety of reasons (like 2 skype accounts for instance) and applications should try to support that, like I think the contacts/conversations app does nicely on the n900. Of course, even without this feature this is still a useful application ;-) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I am sorry about the kinda off topic here, but where can I find MfE so I can give it a try?
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
http://wiki.maemo.org/Sync#Synchronising_with_Google There was also a post (several of them in fact) on the forum with some more information... |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
This project looks very promising! One of my biggest annoyances is that the N900 doesn't have a proper sync possibilty with Google Calendar incl multiple calendars.
I can't test Erminig right now but I will certainly try it asap. But you mentioned also a GUI, when do you think this is ready for testing? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
- fixes for items with diacritics; transition to a C wrapper to interact with the CCalendar API (by the end of this week) - support for birthday calendar (to be confirmed once I've checked the API), support for recurrent events, code clean-up - GUI, plus any other bug fix for issues found up to that point. This will also be the moment when I will properly package the application, since it will be also usable by people not comfortable with the command line. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
First of all, thanks for this! I started working on the same thing (2-way multi-calendar sync), but only got as far as playing with the python-gdata and wrapping the necessary parts of the calendar-backend API with C (accessed using python ctypes). Was figuring out recurring events in the calendar-backend API when I was last working on it. I'm gonna ditch my own effort and start playing with this. Hopefully I'll have some contributions soon. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Just out of curiosity, why don't you guys use mail for exchange?
So far I have been able to update both ways. :) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
http://talk.maemo.org/showpost.php?p=469828&postcount=5 I'm sure other people will have additional arguments... |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
I somewhat crashed my development environment, and coupled with the repository outage made for a not really productive weekend. Well, in any case I got everything running again, and I'm progressing toward my goal, albeit with a few days of delays. All my apologies! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
why not let your personal one have access to the work one (or the other way around) Or if you really dont want that, make another account that you just use for synching and let that account have the calendars of both personal and work? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I agree with Quanzel that this is one of the most important applications in development. I'm just surprised that it has taken this long for someone to pick up the task.
That said, is there anything other than feedback that the community can give you to help this along? |
All times are GMT. The time now is 06:39. |
vBulletin® Version 3.8.8