After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610572 - WebDAV address book fails
WebDAV address book fails
Status: RESOLVED DUPLICATE of bug 566330
Product: evolution
Classification: Applications
Component: Contacts
2.28.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-02-21 00:33 UTC by david
Modified: 2011-06-22 08:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
WebDAV settings for Address Book (30.00 KB, image/png)
2010-02-25 03:22 UTC, Clayton Dillard
Details

Description david 2010-02-21 00:33:31 UTC
I'm trying to attach to a Zimbra server to get my Contacts via WebDAV. I get an error message:

  Unable to perform search.
  This query did not complete successfully.


I'm on Ubuntu, and installed the eds-dbg package. I get the following debug trace:

(gdb) run
Starting program: /usr/lib/evolution/evolution-data-server-2.28 
[Thread debugging using libthread_db enabled]
evolution-data-server-Message: Starting server
e-data-server-Message: adding type `ECalBackendCalDAVEventsFactory'
e-data-server-Message: adding type `ECalBackendCalDAVTodosFactory'
e-data-server-Message: adding type `ECalBackendCalDAVMemosFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `EBookBackendCouchDBFactory'
e-data-server-Message: adding type `ECalBackendGoogleTodosFactory'
e-data-server-Message: adding type `ECalBackendGoogleEventsFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseTodosFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseEventsFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseJournalFactory'
e-data-server-Message: adding type `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `ECalBackendHttpMemosFactory'
e-data-server-Message: adding type `ECalBackendFileTodosFactory'
e-data-server-Message: adding type `ECalBackendFileEventsFactory'
e-data-server-Message: adding type `ECalBackendFileJournalFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
e-data-server-Message: adding type `EBookBackendGoogleFactory'
[New Thread 0x7ffff7fc1910 (LWP 22143)]
in server_log_handler
evolution-data-server-Message: Server up and running
[New Thread 0x7fffe7ab6910 (LWP 22195)]
[New Thread 0x7fffe70b2910 (LWP 22201)]
[New Thread 0x7fffe604e910 (LWP 22203)]
[New Thread 0x7fffe584d910 (LWP 22204)]
[New Thread 0x7fffe504c910 (LWP 22205)]
[New Thread 0x7fffe484b910 (LWP 22219)]
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/david/.evolution/addressbook/local/system
 => 0x67eb60
impl_GNOME_Evolution_Addressbook_Book_open (0x67eb60)

(process:22140): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains "x-evolution-any-field" ""))

e_data_book_respond_get_book_view
[New Thread 0x7fffdffff910 (LWP 22228)]
[Thread 0x7fffe604e910 (LWP 22203) exited]
[New Thread 0x7fffe604e910 (LWP 22229)]
[New Thread 0x7fffdf7fe910 (LWP 22230)]
book_view file uref 
[Thread 0x7fffdffff910 (LWP 22228) exited]
[New Thread 0x7fffdeffd910 (LWP 22238)]
[Thread 0x7fffdf7fe910 (LWP 22230) exited]
[Thread 0x7fffe604e910 (LWP 22229) exited]
[Thread 0x7fffe484b910 (LWP 22219) exited]
[Thread 0x7fffe504c910 (LWP 22205) exited]
[Thread 0x7fffe70b2910 (LWP 22201) exited]
[Thread 0x7fffe7ab6910 (LWP 22195) exited]
[New Thread 0x7fffe7ab6910 (LWP 22257)]
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + webdav://david@domain.com@exeter/dav/david/Contacts
 => 0x64d2a0
impl_GNOME_Evolution_Addressbook_Book_open (0x64d2a0)

(process:22140): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains "x-evolution-any-field" ""))

e_data_book_respond_get_book_view
[New Thread 0x7fffe70b2910 (LWP 22264)]

(process:22140): libebookbackendgoogle-WARNING **: PROPFIND on webdav failed with http status 2
[Thread 0x7fffe70b2910 (LWP 22264) exited]
[Thread 0x7fffe7ab6910 (LWP 22257) exited]


I've installed everything specified here: http://live.gnome.org/GettingTraces/DistroSpecificInstructions, but this is all I get. This looks similar to some other bugs I've found here, but I didn't see any others with "status 2". However, the other bugs talked about having a username with an "@" in it, and I think this might just be the problem.

Indeed, if I connect as a user in the default domain -- such that I don't need a "@domain.com" as part of the URL or username -- it works, and I don't get the error message. (The mime type is reported as wrong, which then chokes evolution, but that's not its problem.)
Comment 1 Clayton Dillard 2010-02-25 03:22:43 UTC
Created attachment 154656 [details]
WebDAV settings for Address Book
Comment 2 Clayton Dillard 2010-02-25 03:24:04 UTC
I'm running 2.28.1 on Ubuntu 9.10 x86_64 and our Zimbra server is 6.0.2 NE (Commercial version).  Same issue, though I have not done any debug logging.
Comment 3 dale 2010-09-14 20:38:06 UTC
Fedora 13 x86_64, Evolution 2.30.1.2, Zimbra 6.0.8 NE

With tcpdump, I can see that VCF data is flowing down to Evolution, but nothing is displayed when searching or viewing the address book. My settings are as follows:

URL: http://zimbra.domain.com/dav/dlbewley/Contacts
Username: dlbewley

Here is a sample HTTP request and response:

GET /dav/dlbewley/Contacts/A740FEEF-5E2B-42B4-B578-D392AA0BA6AB-ABSPlugin.vcf HTTP/1.1
Host: zimmer.domain.com
User-Agent: Evolution/2.30.1
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXX

HTTP/1.1 200 OK
Date: Tue, 14 Sep 2010 20:20:22 GMT
Content-Type: text/vcard; charset=utf-8
ETag: "2174-2174"
Content-Length: 208

BEGIN:VCARD
VERSION:3.0
FN:Jane Doe
N:Doe;Jane;;;
ORG:Test
REV:2010-09-14T08:25:46Z
UID:00802F12-2EE1-47B4-A438-2F6C8056DEF2-ABSPlugin
X-ABUID:70EC093F-1D8A-4ECE-A50A-4375DE3528EA:ABPerson
END:VCARD
Comment 4 dale 2010-09-15 16:49:09 UTC
In https://bugzilla.zimbra.com/show_bug.cgi?id=50595
Zimbra says:

"Evolution AFAIK is not using CardDAV.  It uses plain WebDAV repository to store
vCards which is incompatible to CardDAV."
Comment 5 david 2010-09-16 14:48:26 UTC
Well, FWIW to those that come along after this, I'm successfully running Funambol 7.x against my Zimbra 6.0.x server to sync contact information with my iPhone. (The calendars and notes work fine as is.) It took a LOT of fooling around, and I couldn't get Funambol 8.x to work, but what I have is working nicely now. I should write up the non-intuitive tricks, but I doubt I remember them now...
Comment 6 david 2010-09-16 14:49:55 UTC
Sorry, on the Evolution side, I'm using syncvolution and sync-ui (from the Ubuntu repo) to keep everything in line with the phone through Zimbra.
Comment 7 Akhil Laddha 2010-09-30 04:38:30 UTC
David, do you mean it's not an evolution bug as you are using syncvolution ?

In case yes, shall we close the bug then ?
Comment 8 david 2010-09-30 10:55:20 UTC
Akhil, I'm just working around the bug by using syncevolution. The problem still exists. However, according to Dale in comment 4, the problem with using Contacts on a Zimbra server may not lie with Evolution at all, but rather with Zimbra itself. This ties in with the very last comment I made in the original post, that the MIME type that Zimbra is sending is wrong for Evolution.

I don't know what to make of this situation at this point, but it would seem that there is so little interest in this bug that you may as well close it. Syncevolution is a workaround, with a large cost due to installing Funambol, but the Zindus plugin to Thunderbird works very well, though Zimbra Calendars under Lightning can be buggy, so, you know, six of one... half a dozen of the other.
Comment 9 Milan Crha 2011-06-22 08:48:19 UTC
This sounds like bug #566330 and is part of 2.30.2. I suggest you to use the latest stable, which is 3.0.x, which contains more fixes in WebDAV. I can use it with my Zimbra server, except of editing old contacts, see bug #653103, which I think is really about Zimbra server itself. Nonethless, I'm marking this as a duplicate of the mentioned old bug. Check all the changes coming in between 2.30.1 and 3.0.0 in WebDAV backend to see that (I believe) every above mentioned issues were fixed already.

*** This bug has been marked as a duplicate of bug 566330 ***