Cannot access calendar from Lotus Notes

You found a bug or you're missing a major feature? Just ask and discuss
Forum rules
We use this forum to discuss about bugs and feature requests. If you are sure you found a bug or have a good feature request: Don't hesitate and use our github issue tracker at https://github.com/owncloud/core/issues

Cannot access calendar from Lotus Notes

Postby christoph » Wed Jun 06, 2012 2:33 pm

When I try to access my owncloud calendar the following error is shown: "the content of this link does not conform to the iCalendar parsing specification."

I've already created a bug report but with no answer/result:
http://bugs.owncloud.org/thebuggenie/ow ... ues/oc-745

Does someone have the same issue?
christoph
Newbie
 
Posts: 3
Joined: Wed Jun 06, 2012 2:29 pm

Re: Cannot access calendar from Lotus Notes

Postby tanghus » Thu Jun 07, 2012 2:31 pm

I have replied to your issue at the issue tracker. The client has to support CalDAV. A quick search lead me to a tool that alledgely ads that to Notes: http://lngooglecalsync.sourceforge.net/
User avatar
tanghus
Developer
 
Posts: 65
Joined: Sat Jan 21, 2012 5:14 pm

Re: Cannot access calendar from Lotus Notes

Postby christoph » Thu Jun 07, 2012 3:26 pm

Lotus Notes 8.5.3 supports CalDAV.

I've never had any issues with davical (another caldav server).

Your suggested software synchronizes/sends the lotus notes calendar to google. But I would like to see my personal calendar (owncloud) in Lotus Notes.
christoph
Newbie
 
Posts: 3
Joined: Wed Jun 06, 2012 2:29 pm

Re: Cannot access calendar from Lotus Notes

Postby eMarcus » Tue Jul 17, 2012 10:44 am

Hi,

I am using Lotus Notes 8.5.3, too but cannot see a CalDAV option. Just an iCalendar feed - which "should" also work with ownCloud when using the .ics download URL for that specific calendar.

However, I recognized, that OC sends a

BEGIN:VCALENDAR
END:VCALENDAR

with every VEVENT. This seems to irritate some software like Lotus Notes. I therefore created a small script which downloads the .ics file and tweaks it by moving all VEVENTS in a single VCALENDAR tag.

Code: Select all
#!/bin/bash

OCURL="http://<owncloudurl>/?app=calendar&getfile=export.php?calid="
CALID=2

PERSONAL=/var/calendars/$USER.ics
OCCAL=/tmp/ownCloud.ics

if [ -f "$OCCAL" ]; then
  rm "$OCCAL"
fi

wget --auth-no-challenge --no-clobber --http-user=user --http-password=password -O "$OCCAL" "$OCURL$CALID"

echo "wget ended with return code: $?"

if [ $? -eq 0 ]; then

   echo removing VCALENDAR tags...

   sed -i".bak" '/BEGIN:VCALENDAR/d' "$OCCAL"
   sed -i".bak" '/VERSION:2.0/d' "$OCCAL"
   sed -i".bak" '/PRODID:ownCloud Calendar/d' "$OCCAL"
   sed -i".bak" '/END:VCALENDAR/d' "$OCCAL"

   echo "BEGIN:VCALENDAR" >"$PERSONAL"
   echo "VERSION:2.0" >>"$PERSONAL"
   echo "PRODID:ownCloud Calendar" >>"$PERSONAL"
   cat "$OCCAL" >>"$PERSONAL"
   echo "END:VCALENDAR" >>"$PERSONAL"

fi

echo "removing temp file..."
rm "$OCCAL"

echo "done."


I run this script via cron every 15min and point my Lotus Notes directly to the file. Works fine...

bye
Marcus.
eMarcus
Starter
 
Posts: 99
Joined: Tue Jan 31, 2012 10:25 am

Re: Cannot access calendar from Lotus Notes

Postby tanghus » Tue Jul 17, 2012 9:16 pm

With git master ( which will be ownCloud 5), you can add "?export" to the end of the calendar URL to get a read-only ICS link, like http://owncloud/remote.php/caldav/calen ... dar?export

The same goes for address books.

Hm, hard to see when the forum software makes an ellipsis in the URL.
User avatar
tanghus
Developer
 
Posts: 65
Joined: Sat Jan 21, 2012 5:14 pm

Re: Cannot access calendar from Lotus Notes

Postby eMarcus » Wed Jul 25, 2012 7:20 pm

Yes, but does this eliminate the additional VCALENDAR tags ?
eMarcus
Starter
 
Posts: 99
Joined: Tue Jan 31, 2012 10:25 am

Re: Cannot access calendar from Lotus Notes

Postby kunago » Sat Aug 04, 2012 5:07 pm

I would like to second the issue with multiple BEGIN/END:VCALENDAR in one exported file. I am using Thunderbird with Lightning and I can see only one single item inserted in the calendar, the very first one. Lightning does not seem to care about anything behind the first END:VCALENDAR.

With CalDAV everything seems to be working fine I cannot use CalDAV with this calendar since it is a shared one from another user. To get such malformed ICS file one needs to share a calendar and make it public. Then you can see the link in the following format "http://owncloud/public.php?service=calendar&t=00000000".
kunago
Newbie
 
Posts: 1
Joined: Sat Aug 04, 2012 4:51 pm


Return to Discuss possible bugs & feature requests

Who is online

Users browsing this forum: No registered users and 3 guests