Re: [Evolution-hackers] WebDAV Addressbook Debugging
On Tue, 2010-04-27 at 20:45 +0200, Butrus Damaskus wrote: On Mon, Apr 26, 2010 at 3:42 PM, Adam Tauno Williams awill...@opengroupware.us wrote: On Mon, 2010-04-26 at 14:25 +0200, Milan Crha wrote: On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote: I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. it means your evolution-data-server (for 2.28-) or e-addressbook-factory (for 2.30+) crashed. Try to run it on another console, maybe under gdb, and see where it crashed and why. I got it working; with it, or possibly libsoup (?), seems very sensitive to headers. So once I mimic'd a working server all was OK. Could You, pleease, provide more details, which HTTP headers are needed? Thanks! This seems to make it happy: self.request.send_response(207, 'Multistatus') self.request.send_header('X-Dav-Error', '200 No error') self.request.send_header('Ms-Author-Via', 'DAV') self.request.send_header('Content-Type', 'text/xml; charset=utf-8') http://coils.hg.sourceforge.net/hgweb/coils/coils/file/8711235dafeb/src/coils/protocol/dav/foundation/davfolder.py ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] WebDAV Addressbook Debugging
On Mon, Apr 26, 2010 at 3:42 PM, Adam Tauno Williams awill...@opengroupware.us wrote: On Mon, 2010-04-26 at 14:25 +0200, Milan Crha wrote: On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote: I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. it means your evolution-data-server (for 2.28-) or e-addressbook-factory (for 2.30+) crashed. Try to run it on another console, maybe under gdb, and see where it crashed and why. I got it working; with it, or possibly libsoup (?), seems very sensitive to headers. So once I mimic'd a working server all was OK. Could You, pleease, provide more details, which HTTP headers are needed? Thanks! ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] WebDAV Addressbook Debugging
On Fri, 2010-04-23 at 15:44 -0400, Adam Tauno Williams wrote: On Fri, 2010-04-23 at 14:37 -0400, Adam Tauno Williams wrote: On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote: I'm aware of the CAMEL_VERBOSE_DEBUG and CALDAV_DEBUG environment directives for debugging IMAP and CALDAV. Is there an equivalent for WEBDAV addressbooks? I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. BTW, on Evolution 2.28; I don't believe anything changed regarding WebDAV addressbooks between that and the current 2.30. Evolution issues the request: ?xml version=1.0 encoding=utf-8? propfind xmlns=DAV:propgetetag//prop/propfind To which the server responds [correctly, I believe]: D:multistatus ... /D:multistatus I've verified the XML of the response is valid. Is it possible size effects the stability of the address book? The collection contains 22,209 contacts; so the resulting PROPFIND is ~3.6MB. But that doesn't see that large. Nope, I limited the size of the folder to 25 items and the request still fails - but quicker! :) The exact error message in the dialog is: The Evolution address book has quit unexpectedly. Your contacts for webdav://a...@127.0.0.1:8080/dav/Contacts will not be available until Evolution is restarted I was able to get this to work by tweaking the HTTP headers. -- Adam Tauno Williams awill...@whitemice.org LPIC-1, Novell CLA http://www.whitemiceconsulting.com OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] WebDAV Addressbook Debugging
On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote: I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. Hi, it means your evolution-data-server (for 2.28-) or e-addressbook-factory (for 2.30+) crashed. Try to run it on another console, maybe under gdb, and see where it crashed and why. With respect of the initial question, I do not see any getenv call in webdav address book sources, thus it seems it doesn't have any such thing. Bye, Milan ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] WebDAV Addressbook Debugging
On Mon, 2010-04-26 at 14:25 +0200, Milan Crha wrote: On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote: I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. it means your evolution-data-server (for 2.28-) or e-addressbook-factory (for 2.30+) crashed. Try to run it on another console, maybe under gdb, and see where it crashed and why. I got it working; with it, or possibly libsoup (?), seems very sensitive to headers. So once I mimic'd a working server all was OK. With respect of the initial question, I do not see any getenv call in webdav address book sources, thus it seems it doesn't have any such thing. Yep, I grok'd the same thing from the code. It is a pretty nice and clean bit of code. -- Adam Tauno Williams awill...@whitemice.org LPIC-1, Novell CLA http://www.whitemiceconsulting.com OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] WebDAV Addressbook Debugging
I'm aware of the CAMEL_VERBOSE_DEBUG and CALDAV_DEBUG environment directives for debugging IMAP and CALDAV. Is there an equivalent for WEBDAV addressbooks? I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. -- Adam Tauno Williams awill...@whitemice.org LPIC-1, Novell CLA http://www.whitemiceconsulting.com OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] WebDAV Addressbook Debugging
On Fri, 2010-04-23 at 14:37 -0400, Adam Tauno Williams wrote: On Fri, 2010-04-23 at 13:25 -0400, Adam Tauno Williams wrote: I'm aware of the CAMEL_VERBOSE_DEBUG and CALDAV_DEBUG environment directives for debugging IMAP and CALDAV. Is there an equivalent for WEBDAV addressbooks? I am testing Evo with our GroupDAV server and after a moment it responds with 'address book not available' and instructs me to restart Evolution. Running Evolution from the command line doesn't provide any additional information. BTW, on Evolution 2.28; I don't believe anything changed regarding WebDAV addressbooks between that and the current 2.30. Evolution issues the request: ?xml version=1.0 encoding=utf-8? propfind xmlns=DAV:propgetetag//prop/propfind To which the server responds [correctly, I believe]: D:multistatus ... /D:multistatus I've verified the XML of the response is valid. Is it possible size effects the stability of the address book? The collection contains 22,209 contacts; so the resulting PROPFIND is ~3.6MB. But that doesn't see that large. Nope, I limited the size of the folder to 25 items and the request still fails - but quicker! :) The exact error message in the dialog is: The Evolution address book has quit unexpectedly. Your contacts for webdav://a...@127.0.0.1:8080/dav/Contacts will not be available until Evolution is restarted -- Adam Tauno Williams awill...@whitemice.org LPIC-1, Novell CLA http://www.whitemiceconsulting.com OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba ___ evolution-hackers mailing list evolution-hackers@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-hackers