![]() |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
I'll take that into account during the re-implementation of this feature. This of course will complicate a bit the management of the first sync, but it doesn't seem too hard to manage :) thanks. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I know there's a new version out soon, but wanted to just chime in and say the current one doesn't seem to signal to bring up on-demand internet connections before attempting the scheduled sync, which throws up a bunch of error boxes once a day :-)
Also, with the connection up, and only one of several profiles disabled, I get a number of boxes saying 'Profile is disabled!' when pressing the sync all button. These appear after the progress bar goes all the way to the end. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
@tomchiverton:
- the error boxes should not appear anymore with the new version in the works. It will however not bring up an internet connection - I will try to reproduce the second bug you reported, and fix it accordingly. Thanks for the report! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
While I'm pleased the annoying popup is gone, what happens now when the sync time is reached is that it silently fails to work (if you have connect-on-demand on, like must ppl probably have).
This is a bad experience - is there just no Python binding for bringing up the connection (and waiting for it) ? Or do you need some assistance in that area ? I cna go digging through the Python docs for you if so :-) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
@tomchiverton:
OK, the bug about disabled profiles is confirmed, and I just fixed it. If you have the time and you are willing to dig out the doc for bringing up a connection from within Python, I'm more than interested, thanks! I will release the "sync" version of Erminig in a few hours. Please don't expect tons of updates/new features, since this is more to get everybody on the same version to facilitate the debugging. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hello all,
version 0.2.12 has just been uploaded to extras-devel. There aren't tons of new features nor bug fixes. This release is more a collection of all patches floating around, plus a few bug fixes of my own. Please note that now the package is properly optified (we may as well prepare ourselves to the transition to extras-testing :)) the Changelog: * FIX: Do not try to sync disabled relationships * FIX: More robust parsing of ISO8601 dates (patch by thomasvs) * FIX: Silent errors in alarmed mode (patch by Jaffa) * FIX: Remote source not populated (patch by mdengler) * NEW: Initial framework for alarms sync (patch by geni4u) * NEW: Added bug-tracker URL * NEW: Proper optification I'm well aware that there are still bugs with the synchronization, so please report any bug to the bug-tracker (https://bugs.maemo.org/enter_bug.cgi?product=erminig)! Alarm sync is not functional as of yet, but the initial framework is there thanks to geni4u. Now that I'm well back in the loop (at last!), I will be much more reactive with bug reports and releases, so let's get this software in shape and ready for general availability :) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Yeah! Thank you!
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Apparently, this should work, but I get an unsupported method type error (http://talk.maemo.org/showthread.php...366#post915366).
import dbus self.bus = dbus.SystemBus(); self.icd2_obj = self.bus.get_object('com.nokia.icd2', '/com/nokia/icd2') self.icd2_obj.connect_to_signal('state_sig', self.icd2_state_listener, 'com.nokia.icd2', byte_arrays=True) self.icd2_iface = dbus.Interface(self.icd2_obj, 'com.nokia.icd2') self.icd2_iface.connect_req(dbus.UInt32(1))#ICD_CO NNECTION_FLAG_UI_EVENT(0x8000) def icd2_state_listener(self, *args): print "icd2_state_listener got args:\n"; print args There are some great guys on http://talk.maemo.org/showthread.php?t=42588, more docs on DBUS are http://dbus.freedesktop.org/doc/dbus.../tutorial.html and the various calls and signals you get back are here http://wiki.maemo.org/Documentation/...#D-Bus_signals should you need 'em. For instance there is a 'show_conn_dlg' you could call if connect_req timesout (it puts up a dialogue). |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
@tomchiverton:
cool, thank you for the pointers! I will give them a shot and look what I can do with them! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I think it may be better to set up a listener for the connection. That way Erminig can sync when a connection is established, just like e-mail is checked. A setting would come in handy so that it wouldn't sync too often, for example: sync when a connection is detected, but not more than once per hour.
I prefer my apps not to connect automatically, because of my limited data plan and possible roaming. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
On my end, no luck : it's very unresponsive (each button press takes ages to do anything) it crashed during the registration of my google account, and refused to edit said account everafter, and then silently synced... Nothing. I tried syncing a built-in full one, and the create a dummy one w/ only one evend two days ahead, but nope, nothing, silently syncing nothing. In the log, google seem to not like what it sees (bad request) and upon editing google account, the crash trace said something about some var being of the wrong type (seemd to expect a GTK tree object)
Gosh I would have like this app to work, you have no idea. I hope my feedback is helpful, good luck ! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
OTOH, the built-in ill-named "email for exchange" client is not doing much better, I tried again and it errors at every sync, including first one. :(
what is that "exchange" server anyway ? Can't we just setup our own ? A Drupal module, that would display a list of contacts, a calendar and a tasklist online, and some kind of sync system, I don't know, using email ? anything that works. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Exchange server is a product sold by Microsoft. You can setup your own if you have the money for it ;)
For me, the build-in sync works fine, except for the birthday bug. Every few months it fails to sync, but either a full resync (manual) or empty calendar + full sync does the trick every time |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hi Lorelei - I'm getting the "Bug Detected" error message whilst it's trying to sync one of my calendars. How can I figure out which event is causing it?
The stack trace takes me down as far as: Code:
_AddMembersToElementTree with AttributeError: 'int' object has no attribute 'decode' |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
this morning i have a problem with the local calendar properly syncing to google's but the google calendar not being synced to the n900.
and ideas? erminig has worked before with no issues, but this is the first sync i've attempted since dec 31. john |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
2 Attachment(s)
Quote:
Saved the traces though, will edit this post from phone and attach. (edit:finally done it!) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
erminig still does not sync from the google calendar to the n900, but it does a very good job of syncing from the n900 to the google calendar. i wonder if it has anything to do with the latest update? or perhaps a change at google?
john |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I can confirm the issue as well.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I also have a sync problem here - some of the google events appear at a wrong day on N900. It started two weeks ago - could the last update have introduced a bug?
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I just noticed also, that I can't seem to stop it synchronising daily either. I enabled it quite a while ago when I first installed it.
With the now-regular failure to synchronise (and then reporting the error and half-killing my phone in the process until it becomes responsive enough to close down the error-reporting dialog), I decided to stop it automatically sync-ing later at night (usually when I'm in bed, which also causes a problem with the alarm not properly working in the morning when erminig-ng dies). But even though its unticked, it still runs at the scheduled time and kills my phone! Please fix this inability to remove itself from the scheduler! I have Alarmed installed, btw, in case that could cause a conflict; but nothing else I can think of that is scheduled to run (except normal system alarms and gpodder, which isn't running to synchronise itself automatically since my last reflash of PR1.3 but has been set so in the past). |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
How can I get rid of error messages after alarmed have run command "/usr/bin/erminig -a 2>/dev/null 1>&1"? I still get it everytime, even if it should have been fixed in the version that I am currently running, naturally the latest.
Should I remove erminig and then remove all configs and .erminig*-files in order to be sure that I am running the latest version? Actually the fix seems to be on /usr/bin/erminig, but still? Apart the error message, it seems to doing the sync, so I am happy with the rest. BR, nibbe |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Are you getting error dialog boxes popping up? See my post way back in this thread about the -d option and patching erminig to make it work fully. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I assume u mean this:
"I had the same problem. There are less than a handful of places in the code where it calls some gtk exception reporting class - just add an "if not <-d set>" test to them." Can u give me an example how line should look after adding "if not <-d set>" to the code? BR, nibbe |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
I can't find any better source code repo than this: https://thomas.apestaart.org/thomas/...?rev=1705#L103 ...and I meant to change the code to be like this: http://pastie.org/1654142 ...which is basically a new line at 103 and a change to the indenting of line 104 (old line 103). I haven't tested that change; I think I just commented out the error_win.display(...) line because I never want to see it (I run erminig frequently and don't care about transient connection-related errors). |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
I tried that code snippet, but not luck. It claims about unindents that don't match... Also tried to comment those, but still I get error messages... So am I getting error messages from somewhere else than google-connction itself? At least I tend to have some "strange until values" on log produced by erminig.
If GUI-error messages are raised by those, how I can deprecate those? |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
Quote:
Quote:
Quote:
If GUI-error messages are raised by those, how I can deprecate those?[/QUOTE] |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hi,
I am running pr 1.3 no additional changes to the kernel or other main config. Just had a problem with having changed my gmail password. Trying to "Edit Account" I get Code:
Traceback (most recent call last): |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Lorelei, thanks for good work on Erminig-NG. I am using it and I am almost happy ;) however you know the way you can have your calendar 'shared' with someonelse.
In Google Calendar you might have, let's say, two calendars: yours, the main one in blue and another one, the shared one, coloured in pink. As you know you can define new calendars using 'Settings' and you can define there their colours and visibility but I remind you that only N900 would be marked with 'syncronised' and the rest would be 'Local' type calendars. As you know, in Erminig-NG you can define how many 'calendar profiles' you want. i.e: two calendar google accounts from/to where you can syncronise your calendar. How we can associate different colours to different calendars syncronised to/from two calendar google accounts? It would make more sense to have differentiate them using different colours in let's say, Home Calendar Widget by Nicolai, as Google is doing it Enjoy the weekend, Stefan |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Just curious, but am I the only one who had the alarm setting for the calendar set to 0 minutes after a sync? I only just started using it.
|
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Can anyone tell me what is the difference between the yellow arrow button and the blue arrow button? I guess the yellow one only synchronizes the currently selected profile whereas the blue one synchronizes all profiles... But if true, why the yellow button is a single direction arrow? Does it mean it only synchronize from the remote calendar and not to it?
I'm confused by this icon as it provides two different informations: the "1" seems to indicate that it will only synchronize one profile, the single arrow seems to indicate that it will only synchronize in one direction. Oh, and I have an issue with the synchronization by itself as all events synchronized from Google will be delayed by one day in the N900 calendar. I double checked, the clock and date of the N900 are correctly set. I don't understand why everything is postponed. Halp. :[ By the way, great app! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
In other words those buttons control whether to run one rule or to run all rules. |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Thank your for your quick answer uvatbc! The direction of the arrow is confusing but this is just appearance so!
Now I have to figure out why the synchronization delays my events in the N900! |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
So what is the new version? Can you put all the recent updates on in the first post? It is way easier to find that way..rather than reading through all the posts to find it.
Thanks |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
another issue i realized is that full day events coming from google take 2 days on n900 after sync (e.g. "german holidays") this app is really essential. thanks a lot and keep up the good work! cheers! jens |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Quote:
bug #12064 |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
Hi, im try to apply the patch given for [Bug 12064] Full-day events from Google are synced to two day events and im unsure how.
its a *.patch file. any help would be great :) |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
1 Attachment(s)
Quote:
Code:
/opt/maemo/usr/share/erminig/erminig_core.py Code:
start_time += time.timezone Code:
tz = time.timezone 1- make a copy of the current file 2- overwrite it by the new one The easiest way is to use ssh from another computer, but perhaps this can be not really friendly if this computer is not under Linux. The other way is to install rootsh in the N900, and perform all the task from the terminal: - download the file in your N900, and choose to put it in your main folder, not a sub-directory. -then open a terminal, and go to the good directory: Code:
cd MyDocs Code:
cd mysub/folder/ Code:
tar -zxf erminig_bug12064.tar.gz Code:
root Code:
cp /opt/maemo/usr/share/erminig/erminig_core.py /opt/maemo/usr/share/erminig/erminig_core.py.bak Code:
cd /home/user/MyDoc Code:
cp -f erminig_core.py /opt/maemo/usr/share/erminig/erminig_core.py |
Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
It worked perfectly :) thanks for taking the time to make the great howto
|
now we can add tasks
Updates:
Status: Fixed Comment #616 on issue 987 by api.nico...@gmail.com: Request API for Tasks (in the Google Mail Interface) http://code.google.com/p/gdata-issue.../detail?id=987 This issue is now resolved. We are happy to announce the launch of the Tasks API :) More details on our blog post: http://googleappsdeveloper.blogspot....tasks-api.html |
All times are GMT. The time now is 16:39. |
vBulletin® Version 3.8.8