Free Busy Informations not working well with Baikal 0.4.6

150 views
Skip to first unread message

Ash ofphoenix

unread,
Jan 20, 2017, 4:41:49 AM1/20/17
to SabreDAV Discussion
Hi !

I've made a fresh  install with Baikal 0.4.6 / apache 2.4 / php 7 / Mysql 5.7 , all on a W7 machine.

I'm using Thunderbird 45.6 / Lightning 4.7.6 / Inverse Sogo 31.0.3.  as a client

and it looks like i've got a problem with the Free/busy information that is not working.

Here is the Debug Console from Thunderbird with the debugExceptions=True in baikal/vendor/savre/dav/lob/server.php (I've just change the email adress)

CalDAV: send (Originator=mailto:adr...@mydomain.fr,Recipient=mailto:adr...@mydomain.fr): BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VFREEBUSY
DTSTAMP:20170120T092209Z
ORGANIZER:mailto:adr...@mydomain.fr
DTSTART:20170126T230000Z
DTEND:20170211T230000Z
UID:f368c7ab-e14c-4bf7-b407-51af2e874257
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:mail
END:VFREEBUSY
END:VCALENDAR




CalDAV: recv: <?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:sabredav-version>3.1.3</s:sabredav-version>
  <s:exception>Sabre\VObject\EofException</s:exception>
  <s:message>End of document reached prematurely</s:message>
  <s:file>I:\baikal\vendor\sabre\vobject\lib\Parser\MimeDir.php</s:file>
  <s:line>296</s:line>
  <s:code>0</s:code>
  <s:stacktrace>#0 I:\baikal\vendor\sabre\vobject\lib\Parser\MimeDir.php(150): Sabre\VObject\Parser\MimeDir-&gt;readLine()
#1 I:\baikal\vendor\sabre\vobject\lib\Parser\MimeDir.php(89): Sabre\VObject\Parser\MimeDir-&gt;parseDocument()
#2 I:\baikal\vendor\sabre\vobject\lib\Reader.php(46): Sabre\VObject\Parser\MimeDir-&gt;parse('', 0)
#3 I:\baikal\vendor\sabre\dav\lib\CalDAV\Schedule\Plugin.php(888): Sabre\VObject\Reader::read('')
#4 I:\baikal\vendor\sabre\dav\lib\CalDAV\Schedule\Plugin.php(765): Sabre\CalDAV\Schedule\Plugin-&gt;getFreeBusyForEmail('adress@mydoma...', Object(DateTimeImmutable), Object(DateTimeImmutable), Object(Sabre\VObject\Component\VCalendar))
#5 I:\baikal\vendor\sabre\dav\lib\CalDAV\Schedule\Plugin.php(703): Sabre\CalDAV\Schedule\Plugin-&gt;handleFreeBusyRequest(Object(Sabre\CalDAV\Schedule\Outbox), Object(Sabre\VObject\Component\VCalendar), Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#6 I:\baikal\vendor\sabre\dav\lib\CalDAV\Schedule\Plugin.php(185): Sabre\CalDAV\Schedule\Plugin-&gt;outboxRequest(Object(Sabre\CalDAV\Schedule\Outbox), Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 [internal function]: Sabre\CalDAV\Schedule\Plugin-&gt;httpPost(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#8 I:\baikal\vendor\sabre\event\lib\EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#9 I:\baikal\vendor\sabre\dav\lib\DAV\Server.php(459): Sabre\Event\EventEmitter-&gt;emit('method:POST', Array)
#10 I:\baikal\vendor\sabre\dav\lib\DAV\Server.php(248): Sabre\DAV\Server-&gt;invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#11 I:\baikal\Core\Frameworks\Baikal\Core\Server.php(123): Sabre\DAV\Server-&gt;exec()
#12 I:\baikal\html\dav.php(61): Baikal\Core\Server-&gt;start()
#13 {main}</s:stacktrace>
</d:error>



I guess something is wrong with an EofException  !

Dunno also if it's a "truncated View" or a bug but on #4 verbore answer, it shows only 6 first digit of "mydomain.fr" for the getFreeBusyForEmail.... ???

Does Someone can help me to solve this problem ???

Thanks a lot

Ash

Evert Pot

unread,
Jan 29, 2017, 1:24:07 PM1/29/17
to SabreDAV Discussion
Hi Ash,

The error would suggest that for the email address you are requesting free busy information, there's a corrupted iCalendar object in your database.
It looks like you might even have an empty record in "calendarobjects". It's either empty, or broken.

Are you able to take a look at the table and see if there's any empty records? If you don't find any, you might have to try to find the row that has a broken iCalendar object.

Evert


On Friday, January 20, 2017 at 4:41:49 AM UTC-5, Ash ofphoenix wrote:
Hi !

I've made a fresh  install with Baikal 0.4.6 / apache 2.4 / php 7 / Mysql 5.7 , all on a W7 machine.

I'm using Thunderbird 45.6 / Lightning 4.7.6 / Inverse Sogo 31.0.3.  as a client

and it looks like i've got a problem with the Free/busy information that is not working.

Here is the Debug Console from Thunderbird with the debugExceptions=True in baikal/vendor/savre/dav/lob/server.php (I've just change the email adress)

CalDAV: send (Originator=mailto:adress@mydomain.fr,Recipient=mailto:adr...@mydomain.fr): BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VFREEBUSY
DTSTAMP:20170120T092209Z
ORGANIZER:mailto:adress@mydomain.fr

Ash ofphoenix

unread,
Feb 1, 2017, 2:41:17 AM2/1/17
to SabreDAV Discussion
Hi Evert ! I Hope you have a wonderfull honeymoon !!!! :)

The problem is that I've go No entry at all in the calendarobjects. I made a clean install, and create 2 users, me and a second one

I open thunderbird and make an event then invite people. I typed the email adress of the second account and i've got this "error answer"

Find attached a screnshoot .

Note : Sorry for my bad english :) ! I'm a Frog eater :p 



Le dimanche 29 janvier 2017 19:24:07 UTC+1, Evert Pot a écrit :
Hi Ash,

The error would suggest that for the email address you are requesting free busy information, there's a corrupted iCalendar object in your database.
It looks like you might even have an empty record in "calendarobjects". It's either empty, or broken.

Are you able to take a look at the table and see if there's any empty records? If you don't find any, you might have to try to find the row that has a broken iCalendar object.

Evert

On Friday, January 20, 2017 at 4:41:49 AM UTC-5, Ash ofphoenix wrote:
Hi !

I've made a fresh  install with Baikal 0.4.6 / apache 2.4 / php 7 / Mysql 5.7 , all on a W7 machine.

I'm using Thunderbird 45.6 / Lightning 4.7.6 / Inverse Sogo 31.0.3.  as a client

and it looks like i've got a problem with the Free/busy information that is not working.

Here is the Debug Console from Thunderbird with the debugExceptions=True in baikal/vendor/savre/dav/lob/server.php (I've just change the email adress)

CalDAV: send (Originator=mailto:adr...@mydomain.fr,Recipient=mailto:adr...@mydomain.fr): BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VFREEBUSY
DTSTAMP:20170120T092209Z
ORGANIZER:mailto:adr...@mydomain.fr

Ash ofphoenix

unread,
Feb 16, 2017, 3:07:03 AM2/16/17
to SabreDAV Discussion
Well, I can easily understand you have overbooked and that you maybe don't have time to answer all questions.

However, as my problem doesn't have any solution yet, I guess it's either tricky or minor or planed to a far date.

I'm gonna try to find another caldav/carddav solution, even if baikal looked great. If a solution came in, I will probably test it but I can stay waiting for it anymore

BTW i guess someone already had that sort of problem with an old version, but no answer was given so maybe there is no answer :p 

Don't wanna borrow you, hoping you will solve that problem, because if I had it, other people can have it aswell 

Thx
Ash

Evert Pot

unread,
Feb 23, 2017, 2:36:02 PM2/23/17
to SabreDAV Discussion
Hi Ash,

Sorry, I did indeed overlook this :/ It sounds definitely like a bug to me. Perhaps we are simply not correctly handling empty calendars in this case.
I understand your decision to look for something else though...

Evert

Ash ofphoenix

unread,
Feb 27, 2017, 4:36:05 AM2/27/17
to SabreDAV Discussion
As I said, I can try anything you think interesting to solve this problem, ... It's not necessarly an empty calendar that gives this error as it's also given with an event filled calendar

brunt82

unread,
Mar 9, 2017, 8:34:47 AM3/9/17
to SabreDAV Discussion
Hi,

I also receive an http 500 error while opening the "invite members" function in Thunderbird. But I does not get such a stack trace, but only following:

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
 
<s:sabredav-version>3.1.3</s:sabredav-version>
 
<s:exception>Sabre\VObject\EofException</s:exception>
 
<s:message>End of document reached prematurely</s:message>
</d:error>

I have a simlar system like the original reporter:

Baikal 0.4.6, Apache 2.4, MySQL 5.5 on Debian 8.7
Thunderbird 45.7 / Lightning 4.7.4 as client (on Ubuntu)

If I repeat the test case using the current sabreDAV 3.2.2 with the example php "groupwareserver.php", all works well.

Regards,
Brunt
Reply all
Reply to author
Forward
0 new messages