maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Caldav sync is doing my head in (https://talk.maemo.org/showthread.php?t=85572)

dirtymoon 2012-07-18 19:20

Caldav sync is doing my head in
 
Hi, any help would be appreciated before I launch my phone.

The calendar built in the N9 is simple to use and reliable until I sync with my google calendar account using the built in Caldav service.

After adding a Caldav account to the N9 and choosing this calendar to be default on my device bizzare things start to happen. For instance I've added about 4 events, some of which is in August and some in September. When my calendars sync the ones in September vanish off of my calendar but the ones in August remain there as if there's something preventing me from seeing events which are too far in the future.

If I log into google calendar's web site I can see all of the events but my phone is refusing to make them all visible.

The bit that's doing my head in the most is that I've got the calendar feed app installed and the missing events are still showing fine on the events home page.

What's going on?

nbedford 2012-07-18 20:01

Re: Caldav sync is doing my head in
 
Mine too, having terrible problems with repeating events, when one event in the sequence gets modified, N9 just doesn't seem to pick up the changes :(

My setup is pretty different to your though, I'm not using Google, but DavMail as an intermediary to MS Exchange. But the same instance of DavMail talking to Thunderbird/Lightening handles repeating events fine, so I'm sure the issue is with the N9's CalDav implementation.

WhitP 2012-07-18 20:57

Re: Caldav sync is doing my head in
 
Me too. Same problem using Google either with caldav or MfE. I did a quick experiment and set up the sync through Nokia Suite with Outlook - same result.

There must be something somewhere that's restricting the display of entries into the future. I don't have a huge number of entries so a couple of years wouldn't cause problems.

It is extremely irritating and has seriously undermined the usefulness of the N9 from my perspective. I don't remember having these problems under PR1.2 but maybe I didn't notice before...

WhitP 2012-07-18 21:38

Re: Caldav sync is doing my head in
 
Serious kludge. Editing the entries in Google to make them recurring (1 time a year later) made them reappear in the N9 calendar.

Here's hoping they stay there....

dirtymoon 2012-07-18 22:07

Re: Caldav sync is doing my head in
 
can anyone confirm whether it works properly in pr1.2? I'll roll back if i have to because i've yet to see any improvement in pr1.3 anyway

N770-Freak 2012-07-19 04:54

Re: Caldav sync is doing my head in
 
Quote:

Originally Posted by dirtymoon (Post 1239475)
can anyone confirm whether it works properly in pr1.2? I'll roll back if i have to because i've yet to see any improvement in pr1.3 anyway

I noticed disappearing events already in PR1.2 (holiday calendar with events one year in the future). May things got even worse with PR1.3!?

nbedford 2012-07-19 06:28

Re: Caldav sync is doing my head in
 
Quote:

Originally Posted by dirtymoon (Post 1239475)
can anyone confirm whether it works properly in pr1.2? I'll roll back if i have to because i've yet to see any improvement in pr1.3 anyway

I don't think you can roll back, Nokia updates are one way only :-(

javiermon 2012-07-19 06:28

Re: Caldav sync is doing my head in
 
Hi

What I've noticed is that the caldav implementation on the n9 only shows dates in a aprox 2-3 month period. So if you set an event 4 months ahead it won't show eventhough it's been created (and you can check with google calendar). Haven't managed to make this limitation dissapear.

thanks,

dirtymoon 2012-07-19 09:15

Re: Caldav sync is doing my head in
 
It's great having a phone which intergrates so many services without the need of apps but it hasn't come without problems. Everytime i restore my phone from an old backup most services don't work properly.

This particular fault has caused my personal calendar entries to vanish as well. As I said before i can see them on the home page through the calendar feed app but there's some i need to edit. I tried deleting all calendar accounts which sync online but they're still missing. This is the worst bug ever

dirtymoon 2012-07-19 10:19

Re: Caldav sync is doing my head in
 
btw. On this particular occasion i haven't even used a restore. I've given up using restore points

WhitP 2012-07-19 12:03

Re: Caldav sync is doing my head in
 
If you make the entries recur it doesn't matter how far ahead they are. :-)

I noticed that my nephew's birthday was still there for November 2012, 2013 and 2014 (haven't checked later). All the other birthdays are still there as well

I wanted to make entries for a trip I'm going on in October and of course they didn't show up .

Once edited in Google calendar to make then recur in 2013 the entries popped up in the N9 calendar and they're still there (changed the interval though to 5 years to keep the calendar clean)

Not elegant but it seems to work (with PR1.3 at least)


UPDATE: the October entries survived a restart so it seems to be reliable enough

kai_en 2012-07-19 15:42

Re: Caldav sync is doing my head in
 
Dear Thread Starter, I wonder if you calendar db in the phone was corrupted? You can either edit it or just delete the db, reboot and let the phone create a new one. Please refer to the link below in how to access the db file in .calendar folder

http://talk.maemo.org/showthread.php...ghlight=caldav

WhitP 2012-07-19 15:59

Re: Caldav sync is doing my head in
 
I didn't start the thread but I can say that I get the same behaviour with 2 N9s, one of them pretty much pristine as it's my spare and never used in anger.

Someone in another thread I believe checked their db file and the entries missing in the calendar were in the database

jalyst 2012-07-20 07:53

Re: Caldav sync is doing my head in
 
Quote:

Originally Posted by dirtymoon (Post 1239399)
Hi, any help would be appreciated before I launch my phone.

It probably won't be be fixed....
But at least make sure everything in this thread is reported & under the devs noses, see here:
http://talk.maemo.org/showthread.php...17#post1240117
At least there's that workaround WhitP found, but it is unfortunate we have to do that.

dirtymoon 2012-07-20 22:19

Re: Caldav sync is doing my head in
 
Thanks for everyone's help

The work around isn't that feesable for me because some entries are synced from my wife's lumia which doesn't have the repeat option.

i'd like to try deleting the calendar.db file because it's strange that i can't even see my personal entries and i havent heard of anyone else with the same problem. However, i'm strggling to delete the file. I can connect through winscp but cant gain root. Can anyone point me in the right direction? Thanks in advance.

N770-Freak 2012-07-21 05:05

Re: Caldav sync is doing my head in
 
Quote:

Originally Posted by dirtymoon (Post 1240501)
i'd like to try deleting the calendar.db file because it's strange that i can't even see my personal entries and i havent heard of anyone else with the same problem. However, i'm strggling to delete the file. I can connect through winscp but cant gain root. Can anyone point me in the right direction? Thanks in advance.

Deleting ~/.calendar/db will not help you in any way.
All calendar items (besides birthdays) are only visible up to 2 month in the future!

There are other threads talking about the same issue.... e.g. http://talk.maemo.org/showpost.php?p...68&postcount=5

It doesn't matter if you synchronise your phone or create an item in your personal n9 calendar itself. You will only see events up to 2 month in the future. Some times you can see events in the future (e.g. directly after such an event was created) but after rebooting the phone, these events will be invisible again.

You can use a sqliteviewer and open your db file. You'll see that all your future events are still there, but you cannot see them in your n9 calendar. I was facing this issue already with PR1.2, but didn't really understand why some events were missing (most of my events are happening in the near future).

Anyway... if you still want to delete your db file, you'll have to use the build-in terminal or ssh and invoke develsh to gain the needed privileges.

WhitP 2012-07-21 14:00

Re: Caldav sync is doing my head in
 
... and the reason birthdays are visible is that they recur every year

I'm a bit surprised the Lumia doesn't have a repeat option - how does it deal with birthdays?

Entering directly on the N9 the maximum interval is 1 year but if you use Google calendar to add/edit them you can make it longer if you want.

It's seriously irritating to have to use a workaround like this on something so basic but it does work - honest!

Mathias_M 2012-07-25 11:52

Re: Caldav sync is doing my head in
 
First time I noticed this bug so I guess it came up with pr1.3. Realy frustrating because this makes my n9 not usable as primary device...

wonger 2012-07-28 16:03

Re: Caldav sync is doing my head in
 
Hi,

I've found a workaround for this issue. It looks like it's a bug. Details as follow.

Issue/Symptom: When using CalDAV to sync with Google calendars, non-repeating entries that are about 2 months into the future do not appear.

Workaround: It looks like there is an issue with the native Personal calendar. To make all entries in your calendars to appear, do the following (all from within Calendar):
1) Open up Calendar.
2) Go to Options > Manage calendars.
3) Ensure 'Show this calendar and reminders' option is selected for the calendars you want displayed including Personal (even if it's empty). At this stage, the bug is still active.
4) Tap Personal calendar and tap Save. Next, open EACH of the enabled CalDAV calendars and click CANCEL. Do NOT view your calendar until you have done this for all the enabled calendars.
5) Once this is complete, then it is safe to view your calendar.

Note that it is crucial at Step 4 that you do not view the calendar until you:
1) Tap Save for Personal calendar.
2) Tap Cancel for all the other calendars.
If you do, you will need to start Step 4 all over again.

Note when the bug reoccurs, just perform Step 4 again.

Hope that helps everyone. Feel free to improve the above steps if needed.

Cheers,
~wonger

N770-Freak 2012-07-28 16:54

Re: Caldav sync is doing my head in
 
Wonger, thanks for this workaround. This really works... at least until you restart your phone. Then you'll have to do the mentioned steps again.

Unfortunately this workaround doesn't solve the issue that events in the past are not synced.

noetus 2012-07-29 01:44

Re: Caldav sync is doing my head in
 
What a ridiculous bug. Seems new bugs are introduced with every new firmware iteration. Now our phone's calendar only displays events for the next few weeks ahead with nothing beyond? Wow.

Mathias_M 2012-07-30 09:06

Re: Caldav sync is doing my head in
 
Thank you for the workaround. Note that every time the device syncs or restarts you have to repeat this steps...

mpy 2012-08-07 16:45

Re: Caldav sync is doing my head in
 
@wonger: Thanks a lot for your workaround -- it works like a charm :D
I already thought I had to reuse my paper schedule...

Alee 2012-08-12 01:43

Re: Caldav sync is doing my head in
 
hi, i added my google calendar via CalDav
my google calendar has my facebook events/birthdays
but they wont just show up on my n9 calendar.
am i missing something ?

noetus 2012-08-24 05:17

Re: Caldav sync is doing my head in
 
I wonder if it would be possible to automate wonger's workaround with some sort of script?

juiceme 2012-08-30 11:13

Re: Caldav sync is doing my head in
 
Unfortunately this workaround does not seem to work for me :(
I have three calendars in the device; "birthdays", "personal" and "calendar", of which the last one is the one I sync with davmail to an enterprise exchange calender. I am running PR1.3 with open kernel on the device.

The funny thing here is that when I first created the synchronization, it worked flawlessly for some time, then I noticed it did not update new appointments any more in the device.

Yesterday I got fed up with it, removed the "/home/user/.calendar/" directory and started over from scratch. Sad thing is, now I cannot get it to update even a single thing from davmail.
Looking at the /var/log/davmail during synchronization, however proves that it does authenticate correctly to exchange, and is receiving masses of html data.

mohannad 2012-09-02 21:29

Re: Caldav sync is doing my head in
 
Im having the same issue.. CalDav sync worked flawlessly for a couple of months then it suddenly stopped. Tried the workaround mentioned by wonger and it didnt help.

stalhein 2012-09-17 01:00

Re: Caldav sync is doing my head in
 
I confirm that events longer in the future are not visible in calendar even though I don't use any kind of sync. I noticed that I can find and view these events in Search app but that of course isn't practical.

I say, it's a bug and it should be fixed somehow.

KTy 2012-09-20 06:47

Re: Caldav sync is doing my head in
 
Caldav synch worked very well since PR1.3 full reflash (some months ago).
Stopped working since 2 days for one of my two CalDAV calendars (google).
Want to smash this phone.

What can I do ?!

0b5cur1ty 2012-09-24 21:52

Re: Caldav sync is doing my head in
 
Hello everyone,

As a new N9 owner, I hit this issue pretty quickly and it's quite a big disappointment. The workaround from Wonger works fine (thank you) but it's a pain to have to remember to do this after every restart or sync of future appointments. The functionality is essential to me and, like noetus, I'm wondering if there's any way to script this that could then be set as a cron job and at startup (or even triggered by the sync?)...

I logged into my N9 via SSH, thinking I would have a nose around to see if anything was being logged while the workaround actions took place that could be replicated as a script - but soon realised I couldn't even find any application-specific logs on the system... I'm pretty new to MeeGo. ;)

Sorry for the newbie question but does anyone have an idea if this is a fruitful course of investigation and how/where logging of the calendar actions during the workaround could be activated?

Thanks.

Oh yeah - absolutely love the phone btw. :)

OVK 2012-09-28 17:33

Re: Caldav sync is doing my head in
 
Quote:

Originally Posted by stalhein (Post 1267721)
I confirm that events longer in the future are not visible in calendar even though I don't use any kind of sync. I noticed that I can find and view these events in Search app but that of course isn't practical.

I say, it's a bug and it should be fixed somehow.

Yes. The events are definately in the database but calendar does not show them. I wonder what triggers this, I am sure that I used to see all my events previously. What is more weird is that recurring events are shown normally.

0b5cur1ty 2012-10-12 20:40

Re: Caldav sync is doing my head in
 
For what little it is now probably worth, I posted about this issue in the dev.nokia forum for Harmattan bugs.

mpy 2012-10-14 11:37

Re: Caldav sync is doing my head in
 
@0b5cur1ty: Thanks, do you have a link, that we can follow the discussion on that forum, too?

Another curiosity with the calendar: If I create an entry with a colon in its name, after some time (probably some syncs in the background), it gets clipped: "Appointment: Mr. X" will become "Appointment".

On the MfE-Webinterface the entry is still correct, but I really don't know if it's an N9 problem or has something to do with our MfE-Server as I have some other issues, too.

The workaround is simple, don't use a colon ;) but this is (also!) very annoying.

0b5cur1ty 2012-10-16 17:50

Re: Caldav sync is doing my head in
 
Quote:

Originally Posted by mpy (Post 1280374)
@0b5cur1ty: Thanks, do you have a link, that we can follow the discussion on that forum, too?

Of course, it's here:

http://www.developer.nokia.com/Commu...l=1#post904170

Though I really woudn't get your hopes up, given the current state of Nokia development/support for MeeGo and the N9...

mpy 2012-10-16 19:27

Re: Caldav sync is doing my head in
 
Thank you -- that's an interesting thread, however a little bit depressing, too...

nbedford 2013-01-05 21:00

Re: Caldav sync is doing my head in
 
Assuming open mode or inceptin, could we somehow install/downgrade the relavent calendar packages that were in PR 1.2?

I'm not sure exaclty where this bug exists, maybe the UI or maybe some backend. Might take some trial and error figuring out which packages and what versions are required to get a functioning calendar.

I'm sure i've read in other threads that @rainisto has hinted it's possible to install downlevel packages (we all know we cant just downgrade the firmware back to PR1.2)

epajet 2013-11-20 23:01

Re: Caldav sync is doing my head in
 
Thanks. Now I can see appointmonts 7 months out. Only snag is that this works well until the next sync. But it's a simple procedure.

derliebewolf 2014-02-09 19:58

Re: Caldav sync is doing my head in
 
OMG somehow i only discoverd this after more than two years of using my N9. Just wow. The bug and the (working) solution in post 19 coudl'd not be more bizarre.
Wow.


All times are GMT. The time now is 02:13.

vBulletin® Version 3.8.8