maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   mCalendar (https://talk.maemo.org/showthread.php?t=21236)

Khertan 2008-09-26 09:25

Re: mCalendar
 
Quote:

Btw, is there any reason why it's downloading every calendar? (including my friends' schedule).
Yep many people ask for that ...

Quote:

sync is still very slow. Takes about 5 mins, which suspect is related to the downloading of all public calendars I may view with google.
Sync is slow for many reasons :
* You get an error so he is still in slow sync mode
* Sync was slowing down a bit to avoid 104 reset by peer on 3G connections

Quote:

{'status': 400, 'body': 'Invalid UserId en.usa', 'reason': 'Bad Request'}
This seems to be an error with a malformed calendar ...

So now i ve implemented multi sync calendar ... many seems to complain about this. And i undestand why, they don't have the choice. So i ll make préférences to let you know which calendar you can sync and which you want to sync.

Jaffa 2008-09-26 10:04

Re: mCalendar
 
Quote:

Originally Posted by Khertan (Post 227603)
So now i ve implemented multi sync calendar ... many seems to complain about this. And i undestand why, they don't have the choice. So i ll make préférences to let you know which calendar you can sync and which you want to sync.

Sounds perfect :-)

miind 2008-09-26 10:05

Re: mCalendar
 
wonderful, a pref setting for that whould be just great! Khertan, any thoughts about making a gridlayout for months and weekview?

hvacengi 2008-09-26 12:44

Re: mCalendar
 
A grid would be tough on a screen this small. I seem to recall that the month grid implemented by Palm only showed dots on the days to tell you that there was an event, and then you had to drill down in order to actually see what it was. I just didn't find it very helpful at that level. Maybe Khertan or some one else here can come up with a better way.

I too like the idea of selecting which calendars to sync, then I won't have to hack my homecalendar applet to hide the weather calendar! (Just to only show events that haven't finished yet)

I'm installing 0.4.6-1 now, thanks again for the updates!

mikeywilliams 2008-09-26 13:53

Re: mCalendar
 
0.4.6-1 has solved the daily repeat of the monthly item.
Great - well done.

alephito 2008-09-26 13:55

Re: mCalendar
 
0.4.6-1 does not show recurring events in weekly and monthly views.

Khertan 2008-09-26 14:02

Re: mCalendar
 
Quote:

0.4.6-1 does not show recurring events in weekly and monthly views.
Hum ... could you give me more details of the recurrency of the event ?

Thx

Priorities at this time :

1) Fix bug in the current version
2) Add selection of calendar sync
3) Add a grid layout ...
4) Add a syncml synchronisation and a iCal export.

bongo 2008-09-26 14:09

Re: mCalendar
 
Quote:

Originally Posted by hvacengi (Post 227644)
A grid would be tough on a screen this small. I seem to recall that the month grid implemented by Palm only showed dots on the days to tell you that there was an event, and then you had to drill down in order to actually see what it was. I just didn't find it very helpful at that level. Maybe Khertan or some one else here can come up with a better way.

I don't agree. All GPE Calendar views are usable on this "small" screen.

tso 2008-09-26 14:16

Re: mCalendar
 
Quote:

Originally Posted by Khertan (Post 227660)
3) Add a grid layout ...
4) Add a syncml synchronisation and a iCal export.

sweet!

as for the usability of a grid system, i see it more useful for getting av overview of ones free time then anything else ;)

Khertan 2008-09-26 14:16

Re: mCalendar
 
Quote:

I don't agree. All GPE Calendar views are usable on this "small" screen.
I don't agree too ... i found it useless ... this is why i ve create my own to perfectly fit what i need ... but as other users need something like that too ... i ll try to do my best to do something usefull ;)

bongo 2008-09-26 14:24

Re: mCalendar
 
Khertan,

you are working on mContacts ...

- Will there be an integration of contacts into calendar) (for bithdays etc.)
- Have you planed a connection between mContacts and the internal contacts?

ssrajan 2008-09-26 15:30

Re: mCalendar
 
HI:
I am a relatively new user. I recently installed mcalendar on my N800. I synced without problems a few times with my gmail calendar. Then something happened and my syncing would stop at 60%. I have tried reinstalling with no avail. But it seems that I am not able to fully uninstall the application. Since the alarms keep going off even with the application uninstalled. I am wondering if any of you experienced folks have any suggestions.
Thanks -SSRajan

Laughing Man 2008-09-26 15:30

Re: mCalendar
 
Yeah, choosing the calendars would be ideal. I keep different ones like friends, or cousins' class schedule which I can turn on and off to see when all our breaks coincide. But I don't need them all the time.

I guess for now if we want a certain calendar, we could just turn off the other ones when syncing (via web interface?)

mscdex 2008-09-26 16:57

Re: mCalendar
 
I upgraded to the latest mcalendar this morning and get the 60% sync bug again. In the console I get:
Quote:

{'status': 400, 'body': 'Invalid UserId p', 'reason': 'Bad Request'}
I haven't done hardly anything with my calendar so I don't know how it would have gotten corrupted (if that is indeed what happened).

I like the new icons/graphics but maybe there is a more suitable icon (or add text next to it) for the delete button for events. The red X leads me to believe it is a cancel button (I made this mistake once already after upgrading).

briand 2008-09-26 22:39

Re: mCalendar
 
version 0.4.6-1:

The odd display of repeating events is back in the weekly and monthy views, as it was in an earlier version (in the versions in between, they didn't display at all in those views!).

I think the problem lies in how the XML data from google is being interpreted. My repeating event happens every other friday, so it's set to repeat every other week on friday. The XML file indicates that the repeat frequency is "2"... and I think your software is interpreting that as 2 days. There's another field in the XML file that indicates whether the repeat value is expressed in days, weeks, or months, and I think that field is being misinterpreted (or ignored?).

hvacengi 2008-09-27 01:33

Re: mCalendar
 
I checked in on the issue with weekly repeats. Using datable i checked out the database, and a new weekly event was listing as repeating over days. in mevent.py, when the event is imported to the database the app checks to see if it repeats every day of the week. in line 98. instead of changing to a daily event only if it repeats on all 7 days, it does the opposite. If you change the line from
Code:

if (len(googleToDays(self.repeat_byday))<7)
to
Code:

if (len(googleToDays(self.repeat_byday))==7)
it should fix the issue. I would suggest removing this option, or adding extra logic to exclude the change if the repeat value is more than 1. As is, a event set to repeat every 2 weeks on every day of the week would be converted to a daily repeating events. Unfortunatly this fix will require a database rebuild.

I hope that this helps.

Un27Pee 2008-09-27 17:05

Re: mCalendar
 
Anyone knows how auto sync works, i always go menu then sychro to sync new calenders, is it necessary or all sync is done in the background with auto sync checked in the preferences thanks.

pomokey 2008-09-29 19:00

Re: mCalendar
 
Quote:

Originally Posted by ssrajan (Post 227689)
...my syncing would stop at 60%.

I am having the same issue. I don't know what the cause is, but I sure wish it would fix itself.. I really need this to sync with my google calendar :confused:

hvacengi 2008-09-29 23:57

Re: mCalendar
 
How long do you leave it syncing? I have synced 1800 events at a time and once it took over 20 minutes (with errors making it take longer). Also, have you run from the command line to watch the output?

As for the auto sync not working, you can fix this yourself if you are comfortable with editing the program's files. PM me for help on this (I have already sent the info to Khertan).

mscdex 2008-09-30 02:27

Re: mCalendar
 
Quote:

Originally Posted by hvacengi (Post 228639)
How long do you leave it syncing? I have synced 1800 events at a time and once it took over 20 minutes (with errors making it take longer). Also, have you run from the command line to watch the output?

As for the auto sync not working, you can fix this yourself if you are comfortable with editing the program's files. PM me for help on this (I have already sent the info to Khertan).

For me I was only syncing 6 or so events that didn't yet exist locally in mCalendar. However, I noticed that even though it was stuck at 60%, it appeared to have grabbed all of the events anyway. I noticed this when I tapped on the month view (the events were for upcoming weeks) after letting it sit there at 60% for a bit. I didn't run it from the console that time though.

dennylee 2008-09-30 13:56

Re: mCalendar
 
Also, after the sync set the "Last Sync Date" or something like that in the Preference menu. Next time it will go all the way through.

Un27Pee 2008-09-30 15:05

Re: mCalendar
 
[QUOTE=
As for the auto sync not working, you can fix this yourself if you are comfortable with editing the program's files. PM me for help on this (I have already sent the info to Khertan).[/QUOTE]

I do not know if it works or not, i only wanted to know how is it suppose to work i always do manual sync even though i have check autosync, i want to verify if it works so that i do not have to go through the process of manual syncing.

Khertan 2008-10-01 12:34

Re: mCalendar
 
Hi,

I'm still looking at sync problem, and at this time i mainly working on the database structure, and recurrences rules parsing, as there is still some problem with some reccurence setting, as mCalendar doesn't understand all icalendar rfc which google use for the reccurency.

Why rewriting the structure ? because i m dividing the code into module
- to be able to run automatics test (Test-driven developpment)
- to be able to import and export ical file
- Divide GUI of data parsing
- prepare place for other sync
- prepare place for the future Calendar framework of Fremantle

briand 2008-10-01 13:19

Re: mCalendar
 
tres bien! maintenez le bon travail!!

:)

dennylee 2008-10-01 16:15

Re: mCalendar
 
Khertan
Thanks for your work on mCal. It is a great app and I am definitely looking forward to your next release.

Un27Pee 2008-10-01 17:45

Re: mCalendar
 
Thank you Khertan keep up the good work.

prk60091 2008-10-01 18:44

Re: mCalendar
 
khertan:
please keep up the good work i really like the app and dislike the alternatives

alephito 2008-10-01 19:37

Re: mCalendar
 
Khertan,

After the last Diablo upgrade all my appointments have an one hour offset (i.e. 16:30 instead of 15:30). Nothing changed in my setup, since I restored all my previous settings.

I deleted the database and synchronized again with no differences.

What can I do?

bongo 2008-10-01 19:48

Re: mCalendar
 
maybe a problem with some kind of daylight-saving-zone

in my case i've a similar problem with gpe calendar/erming/google

alephito 2008-10-01 19:51

Re: mCalendar
 
No, we don't use daylight-saving-zone.

I had the same problem with GPE. That was the reason I switched to mCalendar.

bongo 2008-10-01 19:54

Re: mCalendar
 
sounds like a google problem

alephito 2008-10-01 19:56

Re: mCalendar
 
Today we changed month. Maybe it's not a coincidence and Google made some changes.

EDIT: Google Calendar is working OK.

hvacengi 2008-10-01 22:51

Re: mCalendar
 
Alphito:
I'm not seeing any issues with my calendar showing times wrong (synced a number of new events during the day). Have you checked the time zone that your google calendar is set to? I presume you have it set to Buenos Aires, but just thought I should double check. Because it is a one hour offset, I would expect it to be a complication with the time zone data reported by google, and the interpretation of said information. To calculate the time, mCalendar takes the reported time (2008-10-1T12:00-4...) and just drops off the time zone correction (1008-10-1T12:00). I don't know if the web interface shows time based off of an internet clock, or the clock on your computer, but that could be part of the issue. Could you confirm what your time zone setting is, and I'll see if I can find any thing to help out.

Un27Pee:
With my correction, auto sync works perfectly for me.

alephito 2008-10-01 23:11

Re: mCalendar
 
Thanks.

I have Google Calendar and my NIT set to Buenos Aires time zone. I double checked.

The only thing I did was the upgrade to last Diablo. Weird.

alephito 2008-10-01 23:18

Re: mCalendar
 
Something I find strange is the fact that if I change my Home City (through Control Panel) no matter which one I select, the Daylight-saving checkbox ends always selected and I have to disable every single time. Is this the usual behavior?

hvacengi 2008-10-01 23:35

Re: mCalendar
 
As far as I am aware, yes it is normal to have the DLS default to on. It may be annoying, but that's normal. I just created a new calendar in buenos aires and can't seem to reproduce the issue, I'll try further messing with my timezones on the tablet and on google. But there is some thing funny in the numbers being returned to you.

alephito 2008-10-01 23:43

Re: mCalendar
 
OK, thanks for your help. It's a pity that I finally have a calendar app that I really like, but suddenly it is useless to me.

alephito 2008-10-01 23:51

Re: mCalendar
 
Well, I did a couple of tests and apparently the problem is with all my all events. I created a new one in my NIT and sync'd well to Google Calendar. Then I modified it in Google Calendar and it shows well in my NIT.

Weird, anyway.

alephito 2008-10-02 00:37

Re: mCalendar
 
Solved.

I deleted the database and sync'd again. Everything looks fine now. I think my original problem was I sync'd immediately after reflashing and restoring my settings, and maybe the DLS was on by default. Possibly while checking my home city I disabled it without noticing.

Thanks for your concern, hvacengi.

pomokey 2008-10-02 01:13

Re: mCalendar
 
when I try to sync, here is the error I get if I run from terminal

Exception in thread Google Calendar Sync:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "/media/mmc1/Projects/mCalendar/usr/lib/mcalendar/msync.py", line 356, in run
e = self.importEvent(e,an_event,cal[0])
File "/media/mmc1/Projects/mCalendar/usr/lib/mcalendar/msync.py", line 155, in importEvent
local_event.saveToDB(self)
File "/media/mmc1/Projects/mCalendar/usr/lib/mcalendar/mevent.py", line 103, in saveToDB
osso.alarmd.get_alarm(self.alarm_id).cancel_alarm( )
File "/alarmd.py", line 213, in get_alarm
File "/alarmd.py", line 77, in check_for_error
Alarmd_Error_Internal


how do I delete the DB? that seemed to work for alephito


All times are GMT. The time now is 00:44.

vBulletin® Version 3.8.8