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)

surlykke 2010-03-11 20:38

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

Originally Posted by lorelei (Post 564272)
Thanks for the report. This bug has been fixed yesterday, after I got notified here and by mail of the problem and a new release (containing, among others, this bug fix) will be made available in one week or two.

Thanks for the swift reply. And sorry - I hadn't seen it was previously reported.

Olle 2010-03-12 16:34

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

i've got several crashes while playing around with ermining,
when i just click close in the bug message ist all fine
but when i clicked on detail it freeze the device and after waiting some minutes i removed the battery

the bug appeares when using ermining and you are not connected to the net

syncing and just fine and work flawless

lorelei 2010-03-12 19:26

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

Originally Posted by Olle (Post 565235)
the bug appeares when using ermining and you are not connected to the net

Thanks for the report. I'm aware that the "erminig-with-no-internet-connection" use case needs quite a lot of rework (in fact so far it's not handled correctly at all).

The only odd thing is that it froze up your device. I'm a bit surprise by that: I will check if I can reproduce this issue.

Martin Atkins 2010-03-13 13:29

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Many thanks for Erminig-ng! I've been waiting/hoping for this to happen
every since I got my n900 and found that I couldn't use the calendar
like I did on the n800 :-(.

I tried it for the first time last night, but found that I couldn't enter more
than one sync description. Its probably my fault, and I'll try again, while
I am (also) looking forward to the syncing of recurring events!

Thanks again!
(BTW: is there a place where we can make contributions?)
Martin

Waykokid 2010-03-13 13:46

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
To be honest, I was kind of looking for a place to make contributions as well.

lorelei 2010-03-14 21:57

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
@ Martin Atkins and Waykokid:

If you mean code contribution, I will very gladly accept patches against the current version of Erminig. For the moment there's no public SVN repository available, but I will open a garage project in the next few days, in order to ease up code contributions.

I've not been very active in the last few days, since I'm currently busy at a conference, but as soon as everything settles a little bit I'll get back to fixing open issues (I have a sheet of paper staring at me with all the issues that I would like to fix before next weekend ;))

lorelei 2010-03-15 22:14

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

a bugzilla bugtracker component for Erminig has been opened. If possible, it would be great if all new bugs could be opened on bugzilla:

https://bugs.maemo.org/enter_bug.cgi?product=Erminig

it will make the bug tracking much easier than on the forum.

thanks

sgleo87 2010-03-16 13:00

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

Originally Posted by lorelei (Post 563527)
Yup, recurring events are the next big thing to be implemented, along with several bug fixes.

Thanks so much for programming this app! Just tested it with the new GUI and it works perfectly. The only thing I still miss is recurring events, but I see you are already working on that, so I'll try to be patient ;)

cipper 2010-03-16 14:13

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
seems not working with google accounts not finishing with gmail.com (for example mario@students.harvard.us

Palleman 2010-03-16 22:03

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

Originally Posted by cipper (Post 569206)
seems not working with google accounts not finishing with gmail.com (for example mario@students.harvard.us

I'm using it with my non-gmail account, and it works fine.

lorelei 2010-03-16 22:31

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

Originally Posted by cipper (Post 569206)
seems not working with google accounts not finishing with gmail.com (for example mario@students.harvard.us

Any crash log or something like that? Or if Erminig doesn't crash, what is its behaviour?

thanks

lorelei 2010-03-16 23:35

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Here's the list of currently open issues with version 0.2.0 of Erminig. I've gathered all reports I got from this thread and from a few emails I received and collected everything in this post. Issues listed here are not present in bugzilla, but I encourage you to open any new bug/RFE in bugzilla.

This post will be updated as soon as one of the listed bug is fixed.
  • Command line arguments (to perform sync without the GUI, for integration in crontab for instance) (New in 0.2.1)
  • Deactivate sync/del/edit buttons if no profile selected (avoids crashes) (Fixed in 0.2.1)
  • Auto-select newly created calendars in the "new profile" dialog (Fixed in 0.2.1)
  • Make possible to automatically create calendars with the same name on the other side of the sync chain (Fixed in 0.2.9)
  • Show Google-account registration window if no account defined yet (Fixed in 0.2.9)
  • Make the "Stop" button work on the sync transient window
  • Change the icon of the "single profile sync" button. Maybe add a "1" above the arrow symbol (Fixed in 0.2.1)
  • Profile addition overwrites previously defined account -> Still unable to reproduce this one!
  • variables: {'res': (None, None)} bug on sync (Fixed in 0.2.1)
  • Timestamps coming from google with very low values (year < 1970) make Erminig crash (see this post) (Fixed in 0.2.1)
  • One-day-lost bug with events spanning more than 1 full-day (Fixed in 0.2.1)
  • hildon.NOTE_TYPE_PROGRESSBAR should be replaced by "cancel" in dialogs with progress bars (see this post) (Fixed in 0.2.1)

The goal is to have all bugs (or most of them) fixed before the end of the week, so that I can release a new intermediate version of Erminig. Time will tell if I will be able to make it or not ;)....

jcompagner 2010-03-17 08:36

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
so recurring events/birthdays are also already fixed ;)

ilkka 2010-03-17 11:36

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
lorelei, you're my hero.

Quote:

Originally Posted by lorelei (Post 569815)
The goal is to have all bugs (or most of them) fixed before the end of the week, so that I can release a new intermediate version of Erminig. Time will tell if I will be able to make it or not ;)....

I at least would like to try and help you with that. Don't know if this is a FAQ, but where are you hosting the project? Any chance to get a hold of the source?

feydrutha 2010-03-17 16:19

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

Originally Posted by lorelei (Post 569815)
  • Profile addition overwrites previously defined account -> Still unable to reproduce this one!

I was one of the 2 users who originally reported this.. I deleted the old profile and tried it again but the bug did not occur this time. Not sure why, as I did not update erming-ng, but I may have performed actions in a different order last time. If it happens again I'll let you know.

EDIT: I was looking for 2.1 in extras devel but it looks like it's not out yet... I guess I misread your post. Well, it can wait another couple days ;-)

Nicks 2010-03-18 07:57

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Yes, it works. After using settings to set a google account and scrolled down to make all the settings i just works. There is a fiew bugs i You don't do all the settings and i does not say way i dont work, but that is just details.
Thank You for a greate peace of software to my phone.

lorelei 2010-03-18 12:38

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

Originally Posted by jcompagner (Post 570090)
so recurring events/birthdays are also already fixed ;)

Heh, good point. No, they are not fixed yet. It's also slated to be fixed this weekend, at least the recurring events. Birthdays are a completely different beast to manage...

Quote:

Originally Posted by ilkka
I at least would like to try and help you with that. Don't know if this is a FAQ, but where are you hosting the project? Any chance to get a hold of the source?

For the moment the project is hosted nowhere. I haven't had the time/chance to put it on garage. I will release the full development tree at the same time as version 0.2.1, due in a few days.

Quote:

Originally Posted by feydrutha
EDIT: I was looking for 2.1 in extras devel but it looks like it's not out yet... I guess I misread your post. Well, it can wait another couple days ;-)

Yup, 0.2.1 is not available in extras-devel yet. my previous post was indeed a bit misleading and could be interpreted that it was already released.

Pradorey 2010-03-19 18:01

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Please lorelei keep on working to complet this marvelous app. When I use it it often takes down without reason. Also it freezes and I have to force it to shut down. Sometimes a window pops up and it says there is a bug.
Anyway I would love to get this solution to sync my 4 googlecalendars with my calendars on the n900.

Keep going

Good luck

Frieder :)

lorelei 2010-03-19 19:47

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

Originally Posted by Pradorey (Post 573699)
When I use it it often takes down without reason. Also it freezes and I have to force it to shut down. Sometimes a window pops up and it says there is a bug.

The window pop-up with the stack trace has been seen by many people, and a fix has been integrated in the next release (if this is indeed the same bug I think of).

What worries me much more is the fact that it completely freezes...I will have to investigate this, but it may be possible that in cases where the network disappears, then Erminig waits for a timeout...

ivnvir 2010-03-19 19:56

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
any chance of tasks syncing?

lorelei 2010-03-19 20:25

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

Originally Posted by ivnvir (Post 573865)
any chance of tasks syncing?

Very slim chances, unfortunately (at least for the moment).

The problem is that there's no official API from Google to retrieve tasks...

http://code.google.com/p/gdata-issue.../detail?id=987

cipper 2010-03-20 18:50

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
1 Attachment(s)
doesn't work in my case, it crashes saying there's a bug (trace attached)

lorelei 2010-03-20 21:06

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

Originally Posted by cipper (Post 575035)
doesn't work in my case, it crashes saying there's a bug (trace attached)

This is a known bug, and it has been fixed in version 0.2.1 to be released by the end of this weekend.

thanks

olithered 2010-03-22 20:52

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Is it possible to install just this package without adding the extras-devel repository?

lorelei 2010-03-23 00:17

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

Originally Posted by olithered (Post 577788)
Is it possible to install just this package without adding the extras-devel repository?

Yes, but why?

You will then have to install manually all the dependencies.

If you are afraid of updating/installing unwanted unstable software, you can proceed the following way:

- add extras-devel to the repositories list
- DON'T install any update it may propose
- install erminig-ng
- deactivate immediately extras-devel repository.

Erminig-ng will not pull in other unstable/devel packages; only stuff from extras...

olithered 2010-03-23 08:55

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

Originally Posted by lorelei (Post 578038)
Yes, but why?

In order not to update other extras packages to unstable versions. Or have I misunderstood?

Thanks very much for the suggestion of disabling the repo afterwards!

lorelei 2010-03-23 10:07

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

Originally Posted by olithered (Post 578329)
In order not to update other extras packages to unstable versions. Or have I misunderstood?

Thanks very much for the suggestion of disabling the repo afterwards!

OK, I understand. When adding the extras-devel repos, just say no to any update, and you should be fine...

petibub 2010-03-23 10:09

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

I'm glad to see Erminig getting better and better. I can't await the 0.2.1 release - I think with all the bugs fixed I could start to use it on everyday base with my real calendar. Many thanks for the work!

I saw that there is no tracker issue about the recurring events. Do you want me to create one or is this issue an obvious one? Is the target for that issue still 0.2.1?

BTW, how do you handle the exceptions in the recurring events on google side? AFAIK, the maemo calendar does not support exception now, which is a sad thing...

lorelei 2010-03-24 17:10

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

Quote:

Originally Posted by petibub (Post 578398)
I saw that there is no tracker issue about the recurring events. Do you want me to create one or is this issue an obvious one? Is the target for that issue still 0.2.1?

no need to create a tracker issue for that one: it's so big that I will remember it no matter what :) Unfortunately I cannot target recurring events for 0.2.1 (please see my next post for the reasons why)

Quote:

BTW, how do you handle the exceptions in the recurring events on google side? AFAIK, the maemo calendar does not support exception now, which is a sad thing...
It's correct that maemo calendar doesn't support exceptions, but there's a field for them, and even API calls to create exceptions! I haven't thought about which strategy to adopt in those cases...food for thought :)

radiowc 2010-03-24 17:14

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Hmm, ..."two-way synchronization Google Calendar <-> Fremantle Calendar"... sound like a good apps, unfortunately never like to share with stuff with Google. No way... that is why i don't pick Andriod :P

lorelei 2010-03-24 17:46

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

version 0.2.1 of Erminig is now available in the extras-devel repository. Please find below the Changelog:
Code:

* FIX: buttons at the bottom of the UI are inactive if no profile is
  selected
* ENH: Newly created local/remote calendars are automatically selected in the "New profile" dialog
* FIX: Removed obsolete calls in Hildon for progress bars
* FIX: Removed potential pitfall in Google action handler
* FIX: Full-day events spanning several days are now correctly stored in Google (before, the last day was chopped off)
* NEW: Command-line arguments for syncing from crontabs
* ENH: Made "Sync-one-profile" button more explicit
* NEW: Possibility to dump stack traces in terminal instead of GUI
* FIX: Don't crash if publication date of Google event is too far away in the past

If you remember this post, you may notice that not all bugs have been fixed yet, and worse, there's no support for recurring events (yet). You may wonder why bothering releasing a new version? The reason is that I won't be able to work on Erminig for a few weeks, so I wanted all the most annoying bugs to be fixed and available as soon as possible. I will also manage to put a .tar.gz of the source of Erminig somewhere, before setting up a proper RCS repository.

Even though I won't be able to work on Erminig, I will continue to monitor this thread and will also continue to provide feedback to any question/issue you may have!

A quick release note:

for those that asked for command-line arguments: they are now implemented and you can get the usage instruction by typing:

Code:

erminig -h
in the terminal.


In the meantime, enjoy this new version, and feel free to report any bug or enhancement request, preferably in maemo's bugzilla, where there's now an Erminig component!

lemmyslender 2010-03-24 19:39

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Thanks for this update.

Sync from command line works great. Setup in alarmed, worked no problem.

One tip, I have ssh setup (for root) on my computer. To see profiles and sync, etc. commands must be run as user, not root.

*edit* I like the sync 1 icon.

zombiepig 2010-03-25 00:12

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
lorelei - thanks for releasing the bugfix version, this fixed the problem I reported earlier and now that sync goes through without issue :)

feydrutha 2010-03-25 09:34

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Thanks lorelei! With the bug fix for that crash I am now happily synching from multiple google accounts!

I was puzzling on why an event was missing until I realized it was a recurring event..

Also, I had that bug again where creating a new profile overwrites an old one instead. It then would not sync properly, so I deleted it and started over. Works now. Unfortunately still no idea how you can reproduce this... maybe it has to do with using multiple google accounts....

Anyhow, thanks for releasing it in this "imperfect" state, as it is already very useful.

rm42 2010-03-25 15:00

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
So what happens if there is an existing recurring event on the N900 calendar? Does it simply get ignored in the sync? And, is the same true for recurring events in the Google Calendar?

dreixel 2010-03-25 16:28

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Thanks for the update, lorelei, but I'm still really looking forward to have support for recurring events...

I guess I'll just have to be patient :-/

fisadev 2010-03-25 20:40

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
I love this app :)
I'm waiting the source code, I want to contribute, and possibly make a port for the N5800.

(by the way, I'm new on Maemo. I'm a Python and mobile devices developer, and bought my N900 just days ago)

tuxfoo 2010-03-25 21:32

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

Originally Posted by fisadev (Post 582416)
I love this app :)
I'm waiting the source code, I want to contribute, and possibly make a port for the N5800.

(by the way, I'm new on Maemo. I'm a Python and mobile devices developer, and bought my N900 just days ago)

Since this app is mostly written in python, use should be able to grab that code from your device. The full source package is available here (via maemo build system):

http://repository.maemo.org/extras-d...g_0.2.1.tar.gz

fisadev 2010-03-26 12:55

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

Originally Posted by tuxfoo (Post 582483)
Since this app is mostly written in python, use should be able to grab that code from your device. The full source package is available here (via maemo build system):

http://repository.maemo.org/extras-d...g_0.2.1.tar.gz

That's true, but I could miss something. I'm not a Linux expert (only 1 year since I changed to Linux), so I'm not sure where are all the installed files of an application.

Thanks for the source!

kirano 2010-03-29 14:30

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

Traceback (most recent call last):
  File "/usr/bin/erminig", line 146, sync_all_profiles(widget=<gtk.ToolButton object at 0x41c67da0 (GtkToolButton at 0x4a41b8)>, data=<hildon.StackableWindow object at 0x41c67b20 (HildonStackableWindow at 0x429060)>)
        id = i[0]
        do_profile_sync(id, data)
  variables: {'data': ('local', <hildon.StackableWindow object at 0x41c67b20 (HildonStackableWindow at 0x429060)>), 'id': ('local', 1), 'do_profile_sync': ('global', <function do_profile_sync at 0x41c6bcf0>)}
  File "/usr/bin/erminig", line 118, do_profile_sync(id=1, data=<hildon.StackableWindow object at 0x41c67b20 (HildonStackableWindow at 0x429060)>)
            profile['remoteSource'], \
            profile['lastUpdate'], progress)
  variables: {'profile': ('local', {'lastUpdate': 0, 'direction': 0, 'lastLocalUpdate': 0, 'remoteSourceTitle': None, 'remoteAccountId': 1, 'enabled': 1, 'localSource': u'1', 'remoteSource': u'0', 'localSourceTitle': u'N900', 'id': 1}), 'progress': ('local', <gtk.ProgressBar object at 0x41cb0238 (GtkProgressBar at 0x4b5b30)>)}
  File "/usr/share/erminig/erminig_core.py", line 370, syncFromGoogle(pid=1, localSource=u'1', remoteSource=u'0', lastSync=0, progress=<gtk.ProgressBar object at 0x41cb0238 (GtkProgressBar at 0x4b5b30)>)
      getNewEventsFromGoogle(pid, int(localSource), remoteSource, lastSync, \
          progress)
  variables: {'progress': ('local', <gtk.ProgressBar object at 0x41cb0238 (GtkProgressBar at 0x4b5b30)>)}
  File "/usr/share/erminig/erminig_core.py", line 150, getNewEventsFromGoogle(pid=1, localSource=1, remoteSource=u'0', lastSync=0, progress=<gtk.ProgressBar object at 0x41cb0238 (GtkProgressBar at 0x4b5b30)>)
      feed_size = len(feed.entry)
      if feed_size == 0:
  variables: {'feed': ('local', None), 'feed_size': (None, None), 'len': ('builtin', <built-in function len>)}
AttributeError: 'NoneType' object has no attribute 'entry'

I get this error, I'm using 0.2.1, latest in extras. I get this crash report when I try tu update. I've never gotten it to work.

I'm using the N900 database and my googe account.


All times are GMT. The time now is 06:41.

vBulletin® Version 3.8.8