maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar (https://talk.maemo.org/showthread.php?t=40408)

shanttu 2011-05-24 13:14

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
1 Attachment(s)
Syncing between Google Calendar and N900 calendar have not worked for four days now. Log attached. Thanks for help in advance.

bbogart 2011-06-07 22:11

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Hi all,

I'm not sure this is the best place for it, but it seems only erminig and not NG have a proper place for bug reports.

My partner has an n910, and is using erminig to sync to google calendar, where we have a shared calendar.

I have an n900 and am using ermining-ng to sync to google.

We have two problems:

1. Some events get duplicated in sync, not all, just some, and we don't see why.

2. Some events my partner syncs end up in google calendar, but never get synced to the n900. It's as if erminig-ng can't see those events at all. Looking at google I can't see any different between that event and others, they have the same kinds of options, only the date/time/where fields are different.

How can I help and debug this?

bbogart 2011-06-07 22:11

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
My partner has an n810 not an n910!

nibbe 2011-06-08 13:21

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by shanttu (Post 1014403)
Syncing between Google Calendar and N900 calendar have not worked for four days now. Log attached. Thanks for help in advance.

I think that I have same issue: Since some days (4?) erminig-ng stopped to work properly. First it made my calendar totally empty on device and now I cannot make it sync all meetings, only part of meetings are synced.

-nibbe-

tomchiverton 2011-06-16 18:10

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Still working for me. Did you trying deleting and redoing the config ?

bbogart 2011-06-17 18:46

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by tomchiverton (Post 1030422)
Still working for me. Did you trying deleting and redoing the config ?

I just tried deleting the account through the GUI and I get this: (and the account does not get deleted):

Traceback (most recent call last):
File "/opt/maemo/usr/share/erminig/settings_ui.py", line 15, del_google_acct(widget=<hildon.Button object at 0x41eab328 (HildonButton at 0x8a1488)>, data=<hildon.Dialog object at 0x418360d0 (HildonDialog at 0x88d2f0)>)
def del_google_acct(widget, data):
id = get_google_acct_id()
account = google_accounts.get_account_by_id(id)
variables: {'id': ('builtin', <built-in function id>), 'get_google_acct_id': ('global', <function get_google_acct_id at 0x410a0b30>)}
File "/opt/maemo/usr/share/erminig/settings_ui.py", line 12, get_google_acct_id()
(model, iter) = ts.get_selected()
return model.get_value(iter, 0)
variables: {'model.get_value': ('local', <built-in method get_value of gtk.ListStore object at 0x41ea9fd0>), 'iter': ('local', None)}
TypeError: iter must be a GtkTreeIter

Where is the config stored so I can delete it manually?

bbogart 2011-06-20 18:20

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by bbogart (Post 1031036)
Where is the config stored so I can delete it manually?

So I deleted the .erminig.db db file, and reconfigured the program.

Upon sync (one way to google) it seems to have duplicated all my entries. Is there no duplicate event detection?

Seems in this situation (having two r/w syncs to one calendar) is not a good idea. So we'll start again from scratch, deleting the current google calendars and having only one of us be able to push events, and the other pull only.

Here is a concrete example of one failure:

I put in a new event in the shared calendar. It was a repeating event at a certain day of the week.

I synced (two way) to google.

I noticed after syncing that I messed up the end date, putting it in the next month. So I changed the end date on my n900 (looks fine in the local calendar)

I synced (two way) to google to propagate my changes.

Google still shows the incorrect end date that I initially synced.

Seems erminig has issues with events changing after they are synced.

Is this program going to continue to be actively maintained?

B.

vi_ 2011-07-02 19:59

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Did GPE <-> google sync ever get implemented in erminig-ng or has this program become another orphan?

thomasvs 2011-08-10 18:11

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by codeMonkey (Post 954584)
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'

I think you ran into the same bug as I did. I fixed it today; the bug is at https://garage.maemo.org/tracker/ind...=702&atid=2623

It's a simple one-line fix, but nevertheless I made a package for it from my repository:

Try to add the repo by going to
http://thomas.apestaart.org/pkg/maem...ll/tao.install

then update erminig and see if you get version 0.2.12.2 from my repo ? Please tell me if that fixes the bug for you.

ade 2011-08-11 19:48

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by thomasvs (Post 1067414)
I think you ran into the same bug as I did. I fixed it today; the bug is at https://garage.maemo.org/tracker/ind...=702&atid=2623

It's a simple one-line fix, but nevertheless I made a package for it from my repository:

Try to add the repo by going to
http://thomas.apestaart.org/pkg/maem...ll/tao.install

then update erminig and see if you get version 0.2.12.2 from my repo ? Please tell me if that fixes the bug for you.

Thomas,
I ran into some indent issues in the code which I had to correct before I could run your version. You didn't experience that yourself?

thomasvs 2011-08-13 19:32

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by ade (Post 1068063)
Thomas,
I ran into some indent issues in the code which I had to correct before I could run your version. You didn't experience that yourself?

Ouch, that's embarassing.

The code uses tabs and I used spaces to indent. I added modelines not to have that happen again. I built the package from my svn checkout (where that problem existed for some reason) and not from the new git tree I put on github (where it didn't exist). I made a package quickly to test from the one tree, and then built a final one from the other tree which I didn't test.

I just pushed 0.2.12.3 to my repository.

Can you let me know if it works?

ade 2011-08-13 20:27

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by thomasvs (Post 1069366)
Ouch, that's embarassing.

The code uses tabs and I used spaces to indent. I added modelines not to have that happen again. I built the package from my svn checkout (where that problem existed for some reason) and not from the new git tree I put on github (where it didn't exist). I made a package quickly to test from the one tree, and then built a final one from the other tree which I didn't test.

I just pushed 0.2.12.3 to my repository.

Can you let me know if it works?

It now starts up without problems, thanks for restoring that.
I can't tell if your initial fix works, because I have not encountered that situation.

But I do have the issue that reminders are not synchronized from google calendar. It is set to zero minutes in advance, while I set to (for example) 55 minutes in advance. It has worked correctly in the past for a while (is not related to your changes).

Does someone has the same issue or a clue what may cause this?

Jarige 2011-08-14 20:13

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
1 Attachment(s)
I can't get it working atm. I just click the blue + and enter my gmail account details (without @gmail.com). After that it gives me an error, included as attachment. After that, I can't select any google calendar because there aren't any.
If you need more information, I'd be happy to give it :)

pinsh 2011-08-15 14:56

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
How can I install Erminig-NG? I can't find it in extras-devel or extras-testing.

thomasvs 2011-08-15 15:08

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
My fix was only for that particular bug, otherwise the package is the same as before. From your traceback it looks like you had a network error.

thomasvs 2011-08-15 15:09

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by pinsh (Post 1070302)
How can I install Erminig-NG? I can't find it in extras-devel or extras-testing.

The package name is 'erminig' and you should find it in extras.

My version is in my repository as linked to in a previous post.

fleetwood 2011-08-22 07:15

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Just installed this today and it seems to work quite well. Easy to install and the UI is nice too. Thank you! :)

Frank Sumatra 2011-09-01 16:47

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
I'm posting this just to thank the developer behind this very promising tool.

Looking for a simple google calendar sync solution (who doesn't) and I was testing nuevasync free trial - but it suddently stopped syncing after 2 days for no reason (also the MfE confirguration wizard within maemo may sucks actually.) so that was a no-go.

Then, I discovered this useful application - and I must say it really empowers my n900.

So thank you for this tool.


Reading myself, looks like an ad - but it's not :D

ymb 2011-09-14 14:49

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
I also made some edits to the sync page in an effort to help folks who might be struggling with Erminig (like include a link to the image where the icons have labels).
Pretty solid package (so far, for me at least :p )

Quote:

Originally Posted by Jarige (Post 1069860)
I can't get it working atm. I just click the blue + and enter my gmail account details (without @gmail.com).

did you ever try it WITH the @gmail.com ?
I put that in and it works fine for me (also with a Google Apps Domain account).

thomasvs 2011-09-14 15:00

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
[QUOTE=ymb;1088225]I also made some edits to the sync page in an effort to help folks who might be struggling with Erminig (like include a link to the image where the icons have labels).
Pretty solid package (so far, for me at least :p )

Hi ymb,

can you make your changes available through github so I can package them for people?

Thomas

ymb 2011-09-15 08:43

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Err, they were edits to the wiki page, not code. But sure, if the documentation is on github, I could fight with that and try and get it on there.

gbuergisser 2011-09-16 06:19

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by ade (Post 1069394)
It now starts up without problems, thanks for restoring that.
I can't tell if your initial fix works, because I have not encountered that situation.

But I do have the issue that reminders are not synchronized from google calendar. It is set to zero minutes in advance, while I set to (for example) 55 minutes in advance. It has worked correctly in the past for a while (is not related to your changes).

Does someone has the same issue or a clue what may cause this?

I'm also having this issue: All Google reminders are being synced as zero minutes in advance alarms. I've played around in erminig_core.py in getNewEventsFromGoogle() and tried to set a hard-coded alarm of 15 minutes in advance but just couldn't get it to work.
Maybe the underlying C-API doesn't set it correctly?

romu 2011-09-16 15:22

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Hi everybody,
This is a last chance message for Eminig-NG for me. Because, right now, I have too many problems by using this software.

Erminig-NG worked a bit for some time, with my own GCalendar (sync in both ways), and my wife's one (sync only from Google to my N900).

Few days ago, I created new calendar in Google, and I added it to Erminig. And now, the whole configuration is broken, my new calendar doesn't sync at all (events were created on Google), and even on my own calendar, sync only works from the N900 to Google and not on the other way.

If someone can provide me a fix, I take it, and if not, I'll remove Erminig, and use only one calendar using MFE.

Thanks.

Jarige 2012-01-21 00:55

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
This thread hasn't been very active now, has it? I'm wondering whether this very usefull app is still in development.

I've posted a trace file a few pages ago, and the weird thing is, I only get that error when I'm connected to wifi. I just synced using 3.5G flawlessly (allthough for some reason a 2 year old calander that I had deleted a long time ago re-appeared making me wonder why Google kept that data). But I can not get it working for wifi. And since I'm on a wifi connection far more often this is an annoying bug for me.

This is the post I previously made:
http://talk.maemo.org/showpost.php?p...&postcount=573
On this page:
http://talk.maemo.org/showthread.php?t=40408&page=58

lorelei, thank you very much for this brilliant piece of work :)

corwin78 2012-01-21 10:00

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Hello guys, I agree that this is very usefull application and it is very sad that development is sleeping, because I am facing bugs as well. Every morning when I have set automatic synchronization with my Google Apps account I am getting error - strange is, that actualization more - less working, so thanks god for it.

ade 2012-01-21 10:25

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
I have given up on Erminig-NG some months ago. Somehow it no longer synced reminders with my google calendar and I could not find the cause. Trying to cleanup only resulted in double entries.

I decided to give Syncevolution a try and never looked back.
It is said Syncevolution has some trouble with big volumes (initial sync gave some warnings), but I am no heavy user and it does it job without issues for me.

corwin78 2012-01-21 11:37

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
I am little bit afraid from Syncevolution. I am tried it approx. year ago and only result was my totaly corrupted contact on phone :(

ade 2012-01-21 11:53

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by corwin78 (Post 1153626)
I am little bit afraid from Syncevolution. I am tried it approx. year ago and only result was my totaly corrupted contact on phone :(

I must add I only use it for calendar sync. I never used it for syncing contacts.

But I think it has seen improvements since a year ago and you could leave out a contact synchronization. Erminig-NG is not maintained currently, so don't expect fixes there any time soon.

corwin78 2012-01-21 12:07

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
You are probably right, that it can be used only for calendar syncing. Can you please past here yours Syncevoution configuration? I will try it. Thanks.

ade 2012-01-21 12:15

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Syncevolution has a very simple graphical wizard for defining a new service. Just try that first I would say.

corwin78 2012-01-21 13:56

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by ade (Post 1153637)
Syncevolution has a very simple graphical wizard for defining a new service. Just try that first I would say.

Unfortunately I am trying, but always getting error during synchronization. The same situation like here :(

reinob 2012-01-23 08:59

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Just a quick note: I use syncevolution only for *contacts*, and still use erminig-ng for calendar (both with google)

I plan to move from erminig-ng to syncevolution (or at least test it), but for now erminig is working fine, so I may wait until I get a problem..

darodi 2012-02-16 12:54

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Hi all,

I haven't had the time to read all the posts in this thread but does Ermining-NG support google tasks now that their API is available?

Thanks in advance for your answers.

lazyfai 2012-03-14 04:08

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
I just updated Erminig-NG to latest version on my N900 last week.

But since then, the newly synchronized events on my local calendar all have a "0 minute" alarm, but I never setup any alarm on my Google Calendar events.

Are there any settings or workarounds that I can deploy?

gbuergisser 2012-03-14 05:56

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by lazyfai (Post 1179172)
I just updated Erminig-NG to latest version on my N900 last week.

But since then, the newly synchronized events on my local calendar all have a "0 minute" alarm, but I never setup any alarm on my Google Calendar events.

Are there any settings or workarounds that I can deploy?

As you may have seen on the previous page I have reported the same problem. I suspect a problem or incompatibility in the C progamming API which erminig uses. As far as I know there is no workaround...

lazyfai 2012-03-14 07:39

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Just read the code and see a difference with the last version, and I have reverted one function in /opt/maemo/usr/share/erminig/Event.py

def get_alarm(self):
return self.alarm

This will fix the "0 minute alarm" bug, this is the old version get_alarm function, and the latest version of erminig-ng changed it to "fix" an issue but caused the "0 minute alarm" issue... revert and fixed for now.

gbuergisser 2012-03-14 09:15

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Not sure what you mean whit old and new. Can you provide a patch, please? The get_event function on my device looks exaclty like to one you posted. Is this the way it should look like or is this the old one?

reinob 2012-03-14 12:35

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
@lazyfai,

I updated ermining yesterday to 0.2.12.3 (extras-devel) and also noticed the str(self.alarm) bug, so I've reverted it, like to, to "return self.alarm".

I guess this is what you get from using "easy" languages with no type checking. I'll add to my to-do list to make a version of this in C.. some day..

Joseph9560 2012-03-15 21:33

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Today I have noticed that some of my events are messed up. I upgraded erminig in 2012-03-13. I haven't run erming for quite some time and I don't think it runs in background automatically. Is it possible that erminig has anything to do with this mess up? The problem seems to be a time zone problem, as I can see in live/hotmail calendar, those messed up events have a time zone of Nepal (where I lived previously) and others have time zone of GMT-8. I can see that time zones in my hotmail as well as my mobile is set to that time zone for quite some time but I can't figure out how those events now have time zone from my home country.

MfE sync worked perfectly, should I blame ermining for this messing up?

reinob 2012-03-16 12:41

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Quote:

Originally Posted by reinob (Post 1179302)
@lazyfai,

I updated ermining yesterday to 0.2.12.3 (extras-devel) and also noticed the str(self.alarm) bug, so I've reverted it, like to, to "return self.alarm".

I guess this is what you get from using "easy" languages with no type checking. I'll add to my to-do list to make a version of this in C.. some day..

Just to add: I've decided to remove all support for synchronizing alarms, so the alarms I set on the N900 stay there and the alarms I set in google calendar stay also there.

Now I'm a fully happy user of erminig :)


All times are GMT. The time now is 16:36.

vBulletin® Version 3.8.8