Re: [Evolution] caldav-sync - timespan



Am 08.06.2015 um 11:53 schrieb Milan Crha:
On Mon, 2015-06-08 at 11:22 +0200, Kohlen wrote:
this don't work. I tried several times to refresh the calendar, but
always get only the +- 1 month entries.

Is there maybe a log, where I can look for issues?
        Hi,
you can alternatively delete local cache in
~/.cache/evolution/calendar/<caldav-calendar-uid>
and let the calendar redownload the content. I checked the code briefly
before posting the previous email and it seemed like the refresh does
the same thing. I could read it wrong.

Anyway, the logging can be turned on by:

    $ CALDAV_DEBUG=all /usr/libexec/evolution-calendar-factory -w

Wait like 4 seconds, then run evolution and see the output of the above
command. With already populated calendar you may get a "ctag" (calendar
tag, which is changed whenever the calendar itself is changed) the same
as before and no further update is done. The Refresh function ignores
this ctag.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Hi Milan,

deletion of the cache makes no difference.

For debug the path in my installation (Kubuntu 14.10) is different. For me this works:
CALDAV_DEBUG=all /usr/lib/evolution/evolution-calendar-factory -w

In the output I found:
[...]
> REPORT /owncloud/remote.php/caldav/calendars/matthias/kalendermemotoo/ HTTP/1.1
> Soup-Debug-Timestamp: 1433758563
> Soup-Debug: SoupSessionSync 1 (0x7f91e26bf220), SoupMessage 4 (0x7f9198004d70), SoupSocket 5 (0x7f9198006620)
> Host: xxxxxxxx
> User-Agent: Evolution/3.12.10
> Depth: 1
> Content-Type: application/xml
> Connection: close
> Authorization: Basic [xxxxx:**********]
>
> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:">
>   <D:prop>
>     <D:getetag/>
>   </D:prop>
>   <C:filter>
>     <C:comp-filter name="VCALENDAR">
>       <C:comp-filter name="VEVENT">
>         <C:time-range start="20150504T101602Z" end="20150713T101602Z"/>
>       </C:comp-filter>
>     </C:comp-filter>
>   </C:filter>
> </C:calendar-query>

< HTTP/1.1 207 Multi-Status
< Soup-Debug-Timestamp: 1433758563
< Soup-Debug: SoupMessage 3 (0x7f9190005280)
< Date: Mon, 08 Jun 2015 10:16:02 GMT
< Server: Apache
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Strict-Transport-Security: max-age=0
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Frame-Options: Sameorigin
< Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *; connect-src *
< X-Robots-Tag: none
< Set-Cookie: oc3604b919f9=tc3u341eqtc1v4au9nsp5pmfn2; path=/owncloud; HttpOnly
< Vary: Brief,Prefer,Accept-Encoding
< DAV: 1, 3, extended-mkcol, calendar-access, calendar-proxy, access-control, calendarserver-principal-property-search
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: application/xml; charset=utf-8
[...]

I guess, this is the first step to read the most recent events.

Then in the output come entries for tasks, which I also sync. And then a XML-output of calendar entries. Then:

CalDAV - found 55 objects on the server, locally stored 56 objects
CalDAV - recognized 0 items to update
> PROPFIND /owncloud/remote.php/caldav/calendars/matthias/kalendermemotoo/ HTTP/1.1
> Soup-Debug-Timestamp: 1433758584
> Soup-Debug: SoupSessionSync 1 (0x7f91e26bf220), SoupMessage 5 (0x7f9198004e60), SoupSocket 6 (0x7f91980066e0)
> Host: xxxx
> User-Agent: Evolution/3.12.10
> Depth: 0
> Content-Type: application/xml
> Connection: close
> Authorization: Basic [xxxxx:**********]
>
> <propfind xmlns="DAV:" xmlns:CS="http://calendarserver.org/ns/";>
>   <prop>
>     <CS:getctag/>
>   </prop>
> </propfind>
[...]

And a bit later:
> REPORT /owncloud/remote.php/caldav/calendars/matthias/kalendermemotoo/ HTTP/1.1
> Soup-Debug-Timestamp: 1433758584
> Soup-Debug: SoupSessionSync 1 (0x7f91e26bf220), SoupMessage 6 (0x7f9198004f50), SoupSocket 7 (0x7f91980067a0)
> Host: xxxxx
> User-Agent: Evolution/3.12.10
> Depth: 1
> Content-Type: application/xml
> Connection: close
> Authorization: Basic [xxxxx:**********]
>
> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:">
>   <D:prop>
>     <D:getetag/>
>   </D:prop>
>   <C:filter>
>     <C:comp-filter name="VCALENDAR">
>       <C:comp-filter name="VEVENT"/>
>     </C:comp-filter>
>   </C:filter>
> </C:calendar-query>

< HTTP/1.1 7 Connection terminated unexpectedly
< Soup-Debug-Timestamp: 1433758674
< Soup-Debug: SoupMessage 6 (0x7f9198004f50)


(evolution-calendar-factory:16465): e-cal-backend-caldav-WARNING **: Server did not response with 207, but with code 7 (Connection terminated unexpectedly)
CalDAV - finished syncing with 56 items in a cache
[...]

This seems to be the cause of the problem. Any hints to solve this?

Matthias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]