Menu

#9 Calendar support for Evolution

closed
nobody
None
5
2009-06-15
2009-06-05
mihaimm
No

Currently the calendar part of Evolution does not work with caldav. It is perfectly true that Evolution seems to do some not-so-nice things in order to obtain data from caldav, however I think DavMail could be improved to support the way Evolution accesses caldav. Since Evolution is tightly integrated with the Gnome desktop it would provide better overall user experience than Thunderbird (even if Tbird is far superior in terms of speed and reliability).

Discussion

  • Mickael Guessant

    Just one question : why not use the native Evolution Exchange support ?

     
  • Nobody/Anonymous

    Simple... it's just not working. Current Evolution support for Exchange07 calendar is abysmal...

     
  • mihaimm

    mihaimm - 2009-06-09

    More details on my previous comment: http://bugzilla.gnome.org/show_bug.cgi?id=583489

     
  • Mickael Guessant

    Ok, then do you have any details on Caldav failure with Evolution and DavMail ?

     
  • mihaimm

    mihaimm - 2009-06-10

    Here is a full log of the failure:

    2009-06-10 11:18:01,181 INFO [main] davmail - DavMail gateway listening on Caldav port 1080 LDAP port 1389
    2009-06-10 11:18:09,957 DEBUG [CaldavServer] davmail - Connection from /127.0.0.1 on port 1080
    2009-06-10 11:18:09,967 DEBUG [CaldavConnection-42999] davmail - < OPTIONS /users/mihaimm%40organization.com/calendar/ HTTP/1.1
    2009-06-10 11:18:09,975 DEBUG [CaldavConnection-42999] davmail - < Host: 127.0.0.1:1080
    2009-06-10 11:18:09,977 DEBUG [CaldavConnection-42999] davmail - < User-Agent: Evolution/2.26.1
    2009-06-10 11:18:09,982 DEBUG [CaldavConnection-42999] davmail - < Authorization: ********
    2009-06-10 11:18:09,984 DEBUG [CaldavConnection-42999] davmail - <
    2009-06-10 11:18:09,989 DEBUG [CaldavConnection-42999] davmail - > HTTP/1.1 200 OK
    2009-06-10 11:18:09,990 DEBUG [CaldavConnection-42999] davmail - > Server: DavMail Gateway
    2009-06-10 11:18:09,990 DEBUG [CaldavConnection-42999] davmail - > DAV: 1, 2, 3, access-control, calendar-access, ticket, calendar-schedule, calendarserver-private-events
    2009-06-10 11:18:09,998 DEBUG [CaldavConnection-42999] davmail - > Date: Wed, 10 Jun 2009 11:18:09 +0200
    2009-06-10 11:18:09,999 DEBUG [CaldavConnection-42999] davmail - > Allow: OPTIONS, GET, PROPFIND, PUT, POST
    2009-06-10 11:18:10,001 DEBUG [CaldavConnection-42999] davmail - > Connection: keep-alive
    2009-06-10 11:18:10,022 DEBUG [CaldavConnection-42999] davmail - > Content-Length: 0
    2009-06-10 11:18:10,023 DEBUG [CaldavConnection-42999] davmail - >
    2009-06-10 11:18:10,027 DEBUG [CaldavConnection-42999] davmail - < PROPFIND /users/mihaimm%40organization.com/calendar/ HTTP/1.1
    2009-06-10 11:18:10,034 DEBUG [CaldavConnection-42999] davmail - < Host: 127.0.0.1:1080
    2009-06-10 11:18:10,037 DEBUG [CaldavConnection-42999] davmail - < User-Agent: Evolution/2.26.1
    2009-06-10 11:18:10,039 DEBUG [CaldavConnection-42999] davmail - < Depth: 0
    2009-06-10 11:18:10,041 DEBUG [CaldavConnection-42999] davmail - < Content-Type: application/xml
    2009-06-10 11:18:10,047 DEBUG [CaldavConnection-42999] davmail - < Authorization: ********
    2009-06-10 11:18:10,049 DEBUG [CaldavConnection-42999] davmail - < Content-Length: 113
    2009-06-10 11:18:10,069 DEBUG [CaldavConnection-42999] davmail - <
    2009-06-10 11:18:11,362 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Test configuration status: 301
    2009-06-10 11:18:12,992 DEBUG [CaldavConnection-42999] davmail - executeFollowRedirects: https://exchange.server.com/OWA
    2009-06-10 11:18:13,082 DEBUG [CaldavConnection-42999] davmail - executeFollowRedirects: /OWA/ redirectCount:1
    2009-06-10 11:18:13,668 DEBUG [CaldavConnection-42999] davmail - executeFollowRedirects: https://exchange.server.com/owa/auth/logon.aspx?url=https://exchange.server.com/OWA/&reason=0 redirectCount:2
    2009-06-10 11:18:14,497 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Form based authentication detected
    2009-06-10 11:18:14,542 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Detected script based logon, redirect to form at /owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fexchange.server.com%2fOWA%2f
    2009-06-10 11:18:14,542 DEBUG [CaldavConnection-42999] davmail - executeFollowRedirects: /owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fexchange.server.com%2fOWA%2f
    2009-06-10 11:18:14,740 DEBUG [CaldavConnection-42999] davmail - executeFollowRedirects: /owa/auth/owaauth.dll
    2009-06-10 11:18:14,883 DEBUG [CaldavConnection-42999] davmail - executeFollowRedirects: https://exchange.server.com/OWA/ redirectCount:1
    2009-06-10 11:18:15,618 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Current user email is mihaimm@organization.com, mailPath is /exchange/mihaimm@organization.com/
    2009-06-10 11:18:16,012 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Inbox URL : https://exchange.server.com/exchange/mihaimm@organization.com/Inbox Trash URL : https://exchange.server.com/exchange/mihaimm@organization.com/Deleted Items Sent URL : https://exchange.server.com/exchange/mihaimm@organization.com/Sent Items Send URL : https://exchange.server.com/exchange/mihaimm@organization.com/##DavMailSubmissionURI##/ Drafts URL : https://exchange.server.com/exchange/mihaimm@organization.com/Drafts Calendar URL : https://exchange.server.com/exchange/mihaimm@organization.com/Calendar
    2009-06-10 11:18:16,013 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Session davmail.exchange.ExchangeSession@24e801 created
    2009-06-10 11:18:16,013 DEBUG [CaldavConnection-42999] davmail.exchange.ExchangeSession - Created new session: davmail.exchange.ExchangeSession@24e801
    2009-06-10 11:18:16,018 DEBUG [CaldavConnection-42999] davmail - > HTTP/1.1 207 Multi-Status
    2009-06-10 11:18:16,019 DEBUG [CaldavConnection-42999] davmail - > Server: DavMail Gateway
    2009-06-10 11:18:16,019 DEBUG [CaldavConnection-42999] davmail - > DAV: 1, 2, 3, access-control, calendar-access, ticket, calendar-schedule, calendarserver-private-events
    2009-06-10 11:18:16,019 DEBUG [CaldavConnection-42999] davmail - > Date: Wed, 10 Jun 2009 11:18:16 +0200
    2009-06-10 11:18:16,019 DEBUG [CaldavConnection-42999] davmail - > Transfer-Encoding: chunked
    2009-06-10 11:18:16,019 DEBUG [CaldavConnection-42999] davmail - > Content-Type: text/xml;charset=UTF-8
    2009-06-10 11:18:16,020 DEBUG [CaldavConnection-42999] davmail - > Connection: keep-alive
    2009-06-10 11:18:16,020 DEBUG [CaldavConnection-42999] davmail - >
    2009-06-10 11:18:16,286 DEBUG [CaldavConnection-42999] davmail - > 17b
    2009-06-10 11:18:16,287 DEBUG [CaldavConnection-42999] davmail - >
    2009-06-10 11:18:16,287 DEBUG [CaldavConnection-42999] davmail - > 0
    2009-06-10 11:18:16,288 DEBUG [CaldavConnection-42999] davmail - >
    2009-06-10 11:18:16,297 DEBUG [CaldavConnection-42999] davmail - < REPORT /users/mihaimm%40organization.com/calendar/ HTTP/1.1
    2009-06-10 11:18:16,301 DEBUG [CaldavConnection-42999] davmail - < Host: 127.0.0.1:1080
    2009-06-10 11:18:16,303 DEBUG [CaldavConnection-42999] davmail - < User-Agent: Evolution/2.26.1
    2009-06-10 11:18:16,305 DEBUG [CaldavConnection-42999] davmail - < Depth: 1
    2009-06-10 11:18:16,310 DEBUG [CaldavConnection-42999] davmail - < Content-Type: application/xml
    2009-06-10 11:18:16,314 DEBUG [CaldavConnection-42999] davmail - < Authorization: ********
    2009-06-10 11:18:16,316 DEBUG [CaldavConnection-42999] davmail - < Content-Length: 255
    2009-06-10 11:18:16,318 DEBUG [CaldavConnection-42999] davmail - <
    2009-06-10 11:18:16,594 ERROR [CaldavConnection-42999] davmail - 404 Resource Not Found
    org.apache.commons.httpclient.HttpException
    at davmail.http.DavGatewayHttpClientFacade.buildHttpException(DavGatewayHttpClientFacade.java:259)
    at davmail.http.DavGatewayHttpClientFacade.executeMethod(DavGatewayHttpClientFacade.java:232)
    at davmail.http.DavGatewayHttpClientFacade.executeSearchMethod(DavGatewayHttpClientFacade.java:189)
    at davmail.exchange.ExchangeSession.getEvents(ExchangeSession.java:1252)
    at davmail.exchange.ExchangeSession.getAllEvents(ExchangeSession.java:1247)
    at davmail.caldav.CaldavConnection.reportEvents(CaldavConnection.java:461)
    at davmail.caldav.CaldavConnection.handleRequest(CaldavConnection.java:238)
    at davmail.caldav.CaldavConnection.run(CaldavConnection.java:135)
    2009-06-10 11:18:16,603 DEBUG [CaldavConnection-42999] davmail - > HTTP/1.1 503 Service Unavailable
    2009-06-10 11:18:16,603 DEBUG [CaldavConnection-42999] davmail - > Server: DavMail Gateway
    2009-06-10 11:18:16,603 DEBUG [CaldavConnection-42999] davmail - > DAV: 1, 2, 3, access-control, calendar-access, ticket, calendar-schedule, calendarserver-private-events
    2009-06-10 11:18:16,604 DEBUG [CaldavConnection-42999] davmail - > Date: Wed, 10 Jun 2009 11:18:16 +0200
    2009-06-10 11:18:16,604 DEBUG [CaldavConnection-42999] davmail - > Content-Type: text/plain;charset=UTF-8
    2009-06-10 11:18:16,604 DEBUG [CaldavConnection-42999] davmail - > Connection: close
    2009-06-10 11:18:16,604 DEBUG [CaldavConnection-42999] davmail - > Content-Length: 43
    2009-06-10 11:18:16,604 DEBUG [CaldavConnection-42999] davmail - >

     
  • mihaimm

    mihaimm - 2009-06-10

    a notable difference (at least from the logs) would be the:

    davmail - < REPORT /users/mihaimm%40organization.com/calendar/ HTTP/1.1
    davmail - < Host: 127.0.0.1:1080
    davmail - < User-Agent: Evolution/2.26.1
    davmail - < Depth: 1
    davmail - < Content-Type: application/xml
    davmail - < Authorization: ********
    davmail - < Content-Length: 255

    as opposed to:

    davmail - < REPORT /users/mihaimm@organization.com/calendar/ HTTP/1.1
    davmail - < Host: 127.0.0.1:1080
    davmail - < User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090409 Lightning/0.9 Thunderbird/2.0.0.21
    davmail - < Accept: text/xml
    davmail - < Accept-Language: en-us,en;q=0.5
    davmail - < Accept-Encoding: gzip,deflate
    davmail - < Accept-Charset: utf-8,*;q=0.1
    davmail - < Keep-Alive: 300
    davmail - < Connection: keep-alive
    davmail - < Content-Length: 278
    davmail - < Content-Type: text/xml; charset=utf-8
    davmail - < Depth: 1
    davmail - < Authorization: ********

     
  • mihaimm

    mihaimm - 2009-06-10

    OK... I don't know what the problem was but... I'm testing with the svn/trunk code and it works. This is excellent for me, thank you very much.

     
  • Mickael Guessant

    Fixed in 3.3.0b1

     
  • Mickael Guessant

    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.