Kontact 4.9.5 from Kubuntu backports and Kolab 3

Troy Carpenter troy at carpenter.cx
Thu Mar 21 22:59:11 CET 2013


-----Original Message-----
From: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org]
On Behalf Of Robert Marmorstein
Sent: Wednesday, January 16, 2013 8:15 PM
To: Tim Hägele
Cc: kolab-users at kolab.org
Subject: Re: Kontact 4.9.5 from Kubuntu backports and Kolab 3

You may need to edit a file named

$HOME/.kde/share/config/akonadi_kolabproxy_resourcerc

That contains something like the following:

[KolabProxyResourceSettings]
KolabFormatVersionakonadi_imap_resource_2=1
enableKolabV3=true

Change or add the enableKolabV3 line to "true".

This is because (at least on my distribution) Kontact by default defaults to
using the old (Kolab2) XML format instead of version 3.

Robert
--------------------------------



I have tried the advice above and still cannot get Kontact to like any of my
addressbook entries.

I am using Ubuntu 12.10 with backports.  About Kontact says 4.10.1, which is
the KDE version and also shows as the KMail version.

When I have entered contacts either into my Android device, or in Roundcube
directly, the contacts eventually appear in both places.  However, Kontact
will start complaining with a message:

"An error occurred while reading/writing a Kolab-Groupware-Object(akonadi id
351,222): no part found"

The enableKolabV3=true entry is in the akonadi_koablproxy_resourcerc file.

I have noticed that contacts enter via Kontact eventually sync to the other
devices, but even Kontact won't display the ones I entered in its interface.

Here's the three entries I am playing with.  The first was generate from my
Android phone, the second from Roundcube, and the third from Kontact:

----------------
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="=_e7fb2338b6fca1deb30daba7b5ccc7ed"
From: troy at carpenter.cx
To: troy at carpenter.cx
Date: Thu, 21 Mar 2013 14:21:17 -0400
X-Kolab-Type: application/x-vnd.kolab.contact
X-Kolab-Mime-Version: 3.0
Subject: 1f4aa8b4-9254-11e2-92ed-52935dcfebaa
User-Agent: Roundcube Webmail/RCMAIL_VERSION

--=_e7fb2338b6fca1deb30daba7b5ccc7ed
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

This is a Kolab Groupware object. To view this object you will need an emai=
l client that understands the Kolab Groupware format. For a list of such em=
ail clients please visit http://www.kolab.org/


--=_e7fb2338b6fca1deb30daba7b5ccc7ed
Content-Transfer-Encoding: 8bit
Content-Type: application/vcard+xml; charset=UTF-8;
 name=kolab.xml
Content-Disposition: attachment;
 filename=kolab.xml;
 size=586

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">

  <vcard>
    <uid>
      <uri>urn:uuid:1f4aa8b4-9254-11e2-92ed-52935dcfebaa</uri>
    </uid>
    <x-kolab-version>
      <text>3.0dev1</text>
    </x-kolab-version>
    <prodid>
      <text>Libkolabxml-0.8.3</text>
    </prodid>
    <rev>
      <timestamp>20130321T182117Z</timestamp>
    </rev>
    <kind>
      <text>individual</text>
    </kind>
    <fn>
      <text/>
    </fn>
    <n>
      <surname>Contact</surname>
      <given>S3</given>
    </n>
  </vcard>

</vcards>

--=_e7fb2338b6fca1deb30daba7b5ccc7ed--

-[snip]----------------------------------------------------

MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="=_7c75b9034230b124171b22dfce1ed686"
From: troy at carpenter.cx
To: troy at carpenter.cx
Date: Thu, 21 Mar 2013 14:28:28 -0400
X-Kolab-Type: application/x-vnd.kolab.contact
X-Kolab-Mime-Version: 3.0
Subject: 20511bb6-9255-11e2-8942-52935dcfebaa
User-Agent: Roundcube Webmail/0.9-0.18.beta.el6.kolab_3.0

--=_7c75b9034230b124171b22dfce1ed686
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

This is a Kolab Groupware object. To view this object you will need an emai=
l client that understands the Kolab Groupware format. For a list of such em=
ail clients please visit http://www.kolab.org/


--=_7c75b9034230b124171b22dfce1ed686
Content-Transfer-Encoding: 8bit
Content-Type: application/vcard+xml; charset=UTF-8;
 name=kolab.xml
Content-Disposition: attachment;
 filename=kolab.xml

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">

  <vcard>
    <uid>
      <uri>urn:uuid:20511bb6-9255-11e2-8942-52935dcfebaa</uri>
    </uid>
    <x-kolab-version>
      <text>3.0dev1</text>
    </x-kolab-version>
    <prodid>
      <text>Roundcube-libkolab-0.9 Libkolabxml-0.8.3</text>
    </prodid>
    <rev>
      <timestamp>20130321T182828Z</timestamp>
    </rev>
    <kind>
      <text>individual</text>
    </kind>
    <fn>
      <text>Roundcube Contact</text>
    </fn>
    <n>
      <surname>Contact</surname>
      <given>Roundcube</given>
    </n>
  </vcard>

</vcards>

--=_7c75b9034230b124171b22dfce1ed686--

---[snip]----------------------------------

Date: Thu, 21 Mar 2013 17:25:12 -0400
X-Kolab-Type: application/x-vnd.kolab.contact
X-Kolab-Version: v3
User-Agent: Akonadi-KolabResource Libkolab-0.2.1
Content-Type: multipart/mixed; boundary="nextPart1623005.QaArFzM85D"
Subject: oQ03OVPLB6
MIME-Version: 1.0


--nextPart1623005.QaArFzM85D
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7Bit

This is a Kolab Groupware object.
To view this object you will need an email client that can understand the
Kolab Groupware format.
For a list of such email clients please visit
http://www.kolab.org/get-kolab

--nextPart1623005.QaArFzM85D
Content-Type: application/vcard+xml; name="kolab.xml"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="kolab.xml"

<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"no" ?>
<vcards xmlns=3D"urn:ietf:params:xml:ns:vcard-4.0">

  <vcard>
    <uid>
      <uri>urn:uuid:oQ03OVPLB6</uri>
    </uid>
    <x-kolab-version>
      <text>3.0dev1</text>
    </x-kolab-version>
    <prodid>
      <text>Akonadi-KolabResource Libkolab-0.2.1 Libkolabxml-0.7.0</tex=
t>
    </prodid>
    <rev>
      <timestamp>20130321T212512Z</timestamp>
    </rev>
    <kind>
      <text>individual</text>
    </kind>
    <fn>
      <text>Kontact Contact</text>
    </fn>
    <n>
      <surname>Contact</surname>
      <given>Kontact</given>
      <additional/>
      <prefix/>
      <suffix/>
    </n>
  </vcard>

</vcards>

--nextPart1623005.QaArFzM85D--





More information about the users mailing list