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)

Palleman 2010-02-03 13:09

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

Originally Posted by lorelei (Post 508451)
- If the problem is the one I'm thinking about, the problem is now persistent for you, right? (i.e. at every invocation of Erminig you get the same message?)

Right.
Quote:

Originally Posted by lorelei (Post 508451)
and post here the result. I'm guessing that for a yet unknown reason the "last-updated-timestamp" has an odd value, which is out of bound for Google

1265110620

Looks normal to me. Running date "+%s" now gives 1265202655

What should I change it to?

/P

TA-t3 2010-02-03 15:51

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Could this be a problem caused by mixing local time and UTC?

lorelei 2010-02-03 16:52

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
the iso8601 is supposed to manage the UTC and local time conversions by itself, and I did my best to have all date/times in UTC.

In fact I think that Palleman's problem stems from the hack of creating a symlink to a iso8601 module provided by another package than python-xml.

I would suggest to upgrade to erminig-ng-0.1.1, which bundles the correct module. If the problem persist, then I will ask you to perform some modification in the code to pinpoint the problem.

thanks

Palleman 2010-02-03 22:17

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

Originally Posted by lorelei (Post 508937)
I would suggest to upgrade to erminig-ng-0.1.1, which bundles the correct module. If the problem persist, then I will ask you to perform some modification in the code to pinpoint the problem.

Upgraded (0.1.1). Same error, same value in SQL.

/P

lorelei 2010-02-03 22:48

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

Originally Posted by Palleman (Post 509422)
Upgraded (0.1.1). Same error, same value in SQL.

/P

That's bad :(

Let's try to debug it:

Can you please add the following two lines in erminig-ng, at line 289 (just after the line that reads query.max_results = "100000"):

Code:

                print "updated_min=%s" % (query.updated_min)
                print "updated_max=%s" % (query.updated_max)

(remember to respect the same indentation as the other lines!)

and post back the output?

thanks

PS: just to make sure: did you remove the symlink to iso8601.py you created?

lorelei 2010-02-04 00:26

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
As I promised a few posts ago, here are the first screenshots of the GUI for Erminig.

This is still a work in progress and a few things may change, but the general idea is there. Most of the sync functions of Erminig are not tied into the GUI yet: each thing in its own time :)

You will probably notice that there's mention of syncing GPE and Contacts: just to make things clear: those functionalities are not implemented at all for the moment: I just provisioned the GUI so that I can extend the sync capabilities in due time!

As usual nothing is set in stone: if you have any suggestion, I'm open to them, provided they can be implemented!

Main window:
http://imgur.com/c9eMM.png

Google Accounts management (multiple accounts can be defined):
http://imgur.com/PnrRX.png

Start of the "Add new Google Account" wizard:
http://imgur.com/wTeAv.png

feydrutha 2010-02-04 03:23

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

Originally Posted by lorelei (Post 509615)

Google Accounts management (multiple accounts can be defined):]

sweet! thanks for taking that into account in your design...

Palleman 2010-02-04 08:08

Re: [Announce] Erminig-NG: two-way synchronization Google Calendar <-> Fremantle Calendar
 
Is the "Google only" going _to_ Google only or _from_ Google only? Maybe you could change it to "To Google" / "To Local" (or "From X") instead? Or make some small blingy arrows to show the direction.

I'll put in your print lines later today and get back with results.

Edit: I just noticed the source column.... anyway, those arrows could (apparently) avoid some confusion.

lorelei 2010-02-04 10:59

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

Originally Posted by Palleman (Post 510005)
Is the "Google only" going _to_ Google only or _from_ Google only? Maybe you could change it to "To Google" / "To Local" (or "From X") instead? Or make some small blingy arrows to show the direction.

Yes, I agree that the direction column is highly confusing. In fact I was a bit out of ideas about how to present that piece of information and was counting on the community to come up with a good idea ;)

I will probably end up displaying (as you suggest) "From Google" and "To Google"...

Quanzel 2010-02-04 12:36

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

Originally Posted by lorelei (Post 509615)
As I promised a few posts ago, here are the first screenshots of the GUI for Erminig.

Looks nice!
What do you think about autosync and running in the background? Will it be possible to set a syncinterval?


All times are GMT. The time now is 10:01.

vBulletin® Version 3.8.8