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:[email protected],Recipient=mailto:
>> [email protected]): BEGIN:VCALENDAR
>> PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
>> VERSION:2.0
>> METHOD:REQUEST
>> BEGIN:VFREEBUSY
>> DTSTAMP:20170120T092209Z
>> ORGANIZER:mailto:[email protected]
>> DTSTART:20170126T230000Z
>> DTEND:20170211T230000Z
>> UID:f368c7ab-e14c-4bf7-b407-51af2e874257
>> ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:mail
>>  to:[email protected]
>> 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
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sabredav-discuss/8774dd76-6363-4798-b928-b79298fd3941%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to