Release Support > Pending Issues

Calendar import

(1/1)

Mailman:
Hi,

I'm trying to import an .ics file, exported from Google, and it hasn't been very succesful. The system is based on RC 1.4.5 with the latest kolab calendar https://git.kolab.org/diffusion/RPK/ plugins, on Ubuntu 18.04.

Does the import function work at all?

The log shows the following:

--- Code: ---[05-Jun-2020 19:26:04 +0200]: <g52uk879> PHP Error: Starting sabre/vobject 4.0 the children property is now protected. You should use the children() method instead in
BEGIN:VEVENT
DTSTART:20200605T160000Z
DTEND:20200605T163000Z
DTSTAMP:20200605T153212Z
UID:16qc8adfhnvvs5n3f97pliccbm@google.com
CREATED:20200605T152445Z
DESCRIPTION:
LAST-MODIFIED:20200605T152446Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:TEST afspraak
TRANSP:OPAQUE
END:VEVENT
 in /var/www/roundcubemail/plugins/libcalendaring/libvcalendar.php on line 256 (POST /?_task=calendar&_id=&_uploadid=1591377964040&_from=&_action=import_events)
[05-Jun-2020 19:27:50 +0200]: <g52uk879> PHP Error: Error loading template for calendar.calendar in /var/www/roundcubemail/program/include/rcmail_output_html.php on line 757 (GET /?_task=calendar)

--- End code ---

alec:
libcalendaring plugin which is calendar's dependency requires sabre/vobject 3.5.x

Mailman:
Thanks for your reply, apologies for my late reply, I forgot to activate notifications on new replies. Anyhow, as suggested, I updated libcalendaring with the following line:

--- Code: ---sudo -u www-data composer require sabre/vobject "^3.5"
--- End code ---

Unfortunately it's still not working. The error now is:


--- Code: ---...
END:VEVENT
 in /var/www/roundcubemail/plugins/libcalendaring/libvcalendar.php on line 256 (POST /?_task=calendar&_id=&_uploadid=1591935383542&_from=&_action=import_events)
--- End code ---

If you need any other information from me about the system/software, please let me know.

I have followed this guide (https://packagist.org/packages/kolab/calendar), and there doesn't seem to be much other information around about the subject.

Mailman:
Got it nailed. Here's how:

--- Code: ---cd /tmp
git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git
sudo cp -r /tmp/roundcubemail-plugins-kolab/plugins/calendar/ /tmp/roundcubemail-plugins-kolab/plugins/libcalendaring/ /tmp/roundcubemail-plugins-kolab/plugins/libkolab/ /var/www/roundcubemail/plugins/
sudo apt install -y php-sabre-*
sudo cp /var/www/roundcubemail/plugins/calendar/config.inc.php.dist /var/www/roundcubemail/plugins/calendar/config.inc.php
cd /var/www/roundcubemail
sudo bin/initdb.sh --dir=plugins/calendar/drivers/database/SQL
sudo lessc --relative-urls -x plugins/libkolab/skins/elastic/libkolab.less > plugins/libkolab/skins/elastic/libkolab.min.css
sudo vi config/config.inc.php # add calendar to plugins
sudo -u www-data composer require sabre/vobject "^3.5"
--- End code ---

henrythemouse:
I know that this post is over a year old, but I can not find any other reference to this error regarding the kolab calendar plugin. I am getting the exact error that is posted  here and have been getting that error each time I try to install the calendar plugin. This time I used composer to install the calendar and all it's dependencies. Yet, still the same error, and like your error above many, if not all, of the ics file's records are written to the error log.

I should post a new topic, but since this was so exact I wanted to see if anyone can shed some light on this problem.

TIA for any help offered.

Navigation

[0] Message Index

Go to full version