![]() |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
This is something that I can implement for sure: now the question is when :) Let's say that I will keep this idea in mind for the future developments, once I have stable release rolling. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
The second one includes seconds and 1/100 of seconds. Never seen that before, but maybe it's normal. The error messages are the same, but the first two errors have a line number of one less (525 and 504). Guess you removed a line between the versions. Quote:
Is it possible to run screen on N900? If so, and if you want to debug this, I could let you in through ssh and watch over you with screen -x. Bonus URL. /P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
1 Attachment(s)
Quote:
updated_min=2010-02-03T22:47:08Z updated_max=2010-02-04T22:56:54.78Z notice how I don't have a trailing TZ but only a Z. I now understand why Google is barfing on the dates it receives from you (TZ is not valid). Now the question is why does Erminig generates stuff with TZ. Please put the file attached to this post in the same directory as erminig-ng, and run it like this (I've just extracted a fragment of the code that manages the dates): Code:
python2.5 testdate.txt 126511062 I get this output, and yours should be exactly the same: Code:
['__builtins__', '__date_re', '__datetime_re', '__datetime_rx', '__doc__', '__extract_date', '__extract_time', '__extract_tzd', '__file__', '__find_julian', '__name__', '__time_re', '__tzd_re', '__tzd_rx', '__version__', 'ctime', 'parse', 'parse_timezone', 'time', 'tostring'] Quote:
thanks |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Should I still run the time converter? /P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
thanks |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Code:
['__builtins__', '__date_re', '__datetime_re', '__datetime_rx', '__doc__', '__extract_date', '__extract_time', '__extract_tzd', '__file__', '__find_julian', '__name__', '__time_re', '__tzd_re', '__tzd_rx', '__version__', 'ctime', 'parse', 'parse_timezone', 'time', 'tostring'] Quote:
Quote:
I get the exact same output, except that the line beginning with three stars is not there: Code:
['__builtins__', '__date_re', '__datetime_re', '__datetime_rx', '__doc__', '__extract_date', '__extract_time', '__extract_tzd', '__file__', '__find_julian', '__name__', '__time_re', '__tzd_re', '__tzd_rx', '__version__', 'ctime', 'parse', 'parse_timezone', 'time', 'tostring'] |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
In fact I've been able to replicate the problem this morning, and I also have the right solution in mind. Please expect an updated by the end of the day (i.e. as soon as I get back to home :)) The problem is that in some cases the iso8601 module doesn't return the string date in the a format that Google likes, and your timestamp in particular is one of those that make it spit out bad values. Originally there's already code to manage those cases (it's part of the snippet of code I made you try a few posts ago), but for some reason that I can't come up with, the part of the code that generates the date boundaries for Google doesn't make use of the "workaround code" (albeit being used elsewhere in the code...I gather that the buggy code is probably the very first part of Erminig written, when I did not hit date problems at that moment). thank you very much for your patience! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
A new version (with an easy-to-use GUI) is now available at
this post. The version that was available here has been removed, and only the text of this post will remain for historical purposes. ************************************************** ****************** Here is an updated version of Erminig-NG (namely version 0.1.2). It fixes the bug Palleman was having in respect of dates incorrectly formatted. This is the only bug fix in this new release. This is not a mandatory update, but under specific conditions the bug can be triggered, so I advise to make the update if you have the occasion to. There's a chance in 60 (very exactly!) that you will get this bug: in fact it is triggered when the timestamp of the last update falls exactly at a whole minute (for instance 12:30:00). |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Just a quick note: When the sync-calenders option is executed as root (standard for anyone using ssh server) the calendars, the operation runs without a problem (calendars GUI prompts and all) but the calendars aren't created under 'user'. Removing ~/.erminig.db and resyncing as 'user' fixes the problem.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
(fixed in my internal release, will be available in the next public release) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
/P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
The bug report formerly in this post was just me being to impatient, but here's another one that might interest you:
Code:
/erminig-ng-0.1.2 $ python erminig-ng --sync-calendars 1. Answering no to all calendars. 2. Answering yes to create N900 on Google - got error. 3. Answering yes to create N900 on Google - worked. Although it seems that it didn't export the existing stuff in the N900 calendar to the Google N900 calendar? Is there a way to remove this N900 configuration and recreate the bond, without affecting the other connection I have (where my main Google calendar created a calendar on my N900)? /P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
To fix in the interim: you can redo the actions (i.e. asking for the creation of calendars on Google) until Google cooperates. Usually on the second try everything goes well. A more definitive fix will come up in the next release (I still don't know whether it will be a major release with GUI, or just a bugfix release). |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
I think you missed this edit: Quote:
/P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Woops, missed the edit, indeed! To answer your question: yes, what makes Erminig ask for a new calendar is the entry in googleIDs. If an entry alread exist, then it won't ask you about that calendar. The format of that table is: local_calendar_id | google_calendar_id you should also perform cleanup in the events table (in erminigdb), by removing local events ids and the corresponding google id. Local events (and their IDs) are stored in ~/.calendar/calendardb sqlite3 file, so you may be able to track down which events you want to remove (many events information are stored in the Components table). Beware that fiddling with the calendar db can be dangerous... |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Reran --sync-calendars and a couple of ordinary syncs, but the existing data still won't get synced. The data in the N9i00 calendar is synced to my N900 calendar via MfE (from another Exchange server than the one mentioned in an earlier post). So I'm trying another approach - chaning MfE to sync to the calendar created by Erminig when I did --sync-calendar from my main Google calendar. Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Just when you thought I ran out of bug reports:
Code:
------------------------------------------- Before the error it successfully synced a lot of events. Edit: The error is repeating at each run, but not until the same bunch of birthdays has been ignored, and a couple of updates have been updated (or at least it says so on screen). /P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
This is a shortcoming that will also be fixed in the next major version. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Ah, that explains it. So I should have deleted all calendars on N900, deleted the .erminigdb file and then run --sync-calendars.
I can also report that changing which calendar MfE should sync with made MfE delete a few thousand entries on that Exchange server and then added all entries from the calendar (the one I changed to) on my N900. :) /P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hi everybody! A little help please.
Everytime I try to unzip it I get "permission denied" as you can see...I am totaly new at this. thanx in advance! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
At any rate, erminig-ng cannot be installed in MyDocs (or any subdirectory of it), since it relies on the executability of a library that cannot be there....For the moment the best location is directly in /home/user, at least until I manage to properly package it in a .deb. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Great news !!
Perhaps ideas for future would be if you could add on: google contacts, docs bi-directional sync You would have a powerful took !! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Google Contacts would be great. I've been struggling for a while now, trying to sync both directly from N900 (Syncevolution) or via Outlook, Plaxo, Soocial and a couple of other services. None of them work.
Lorerei: Did you notice this? /P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Thanx a lot Rod:o |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
In the meantime, just a question: is that event from a shared calendar? Also, to determine which calendar Erminig is talking about: - go to Google Calendar - settings - Calendars - select one of the calendar - near the bottom (under the heading "Calendar Address") there's the ID of the calendar. Does the calendar where Erminig is crashing has something special? thanks |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
- to decompress the archive: Code:
tar zxvf erminig-ng-0.1.2.tar.gz |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Thanx again |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
/P |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
I think that you are trying to synchronize a calendar that doesn't exist anymore on Google (did you delete one or several of them?). To repair the problem from the command line, we must unbind the local calendar with the non-existing Google one: Code:
$ sqlite3 ~/.erminig.db Once that entry is removed, you should be able to continue the synchronization. If another similar error comes up, please remove also that entry from the Erminig database. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
FYI: As we thought, preserving the read-only status is trivial.
On the calendar-backend side (calaccess.cc), we need to set the read-only flag when we create the local calendar (third parameter to mc->addCalendar, currently hard coded to false). Obviously cwrapper.py needs to be updated accordingly. Before we create the calendar in erminig-ng, we just read 'cal.access_level.value'. Simple approach would be if it is set to "read", then create the local calendar read-only. A more complete approach would be to consider all possible values which might indicate that we don't have any access to the calendar (then why is it in the feed?) or that we only have access to free/busy information from the calendar. I did this in a quick hack and it does work, setting the "US Holidays" shared calendar from google as read-only locally. If I try to add a new event on the n900, it doesn't present the "US Holidays" calendar as an option. I'm assuming the code is somewhat in flux as lorelei is flushing out the initial features and GUI. If you want me to throw together a patch now, let me know. Otherwise I'll wait until core features are flushed out, including a GUI. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
I would prefer the arrows even though it not might be just as clear, but it would reduse the amount (and therefore errors) of translating if that is to be done some day. Just my opinion. Thank you very much for your work on Erminin-NG!!! ...it is much appreciated.:) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Thanks for having looked up this issue for me: I will integrate the patch within the current "non-GUI" branch, to be later picked up by the GUI branch (which, by the way, is almost complete: all what remains to do is to interface the GUI with the core functionalities, and a few GUI remodeling, since I'm not entirely happy with the wizard functionality of hildon) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Code:
[N900] <-> G (oogle logo) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
1 Attachment(s)
Something like this?
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Instead of Local and Remote in the headers I would use
N900 and Google To minimize confusion (since some people may not know local or remote). |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
"N900" is the name of the default calendar in N900, so it might only add to the confusion. But you could put "Phone" and "Google" as headers (as long as this thingy doesn't support other sync partners).
Also, the "Type" column could be headerless and use icons for calendar and contacts, freeing some horizontal space. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
If I get the time I will put up a new screenshot of the main window, so that we can further discuss that. Just to sum it up, the layout of the different column will be like this: green/red dot, profile name, sync type (with cal/abook icon), source (built-in/GPE), name of local calendar, direction icon, name of remote calendar, last sync |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
New error:
Code:
Deleting Google event _60q30c1g60o30e1i60o4ac1g60rj8gpl88rj2c1h84s34h9g60s30c1g60o30c1g60o42h2264q32h2561346g9g64o30c1g60o30c1g60o30c1g60o32c1g60o30c1g8cr36c9i88p34h1k68pj8d1k610jih1g6gr4ce218p342dhl6gpg |
All times are GMT. The time now is 15:32. |
vBulletin® Version 3.8.8