Re: opensync: bug in evo2 -> file

Armin Bauer <[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.user
Message-ID <[email protected]>

Paul Rensing wrote:
> I am testing out Opensync and came across a problem syncing Evolution2
> to the File plugin. The problem is that Evo2 has entries in the VCARD
> (contact):
>   X-EVOLUTION-LAST-USE
>   X-EVOLUTION-USE-SCORE
> The file-sync plugin outputs the values but not the labels into the
> files on disk. For example:
>
> :2004-11-05
> :1.973193
>
> Presumably, this could be fixed by adding those to the evolution XML
> extensions, however, I wonder if that is the right way to go.
> Presumably, many plugins will have extension fields which one would not
> want to track. The XML format could have a generic parameter format,
> something like:
>
>      <param name="X-EVOLUTION-LAST-USE">2004-11-05</param>
>

it would be the correct thing to do. the xml format is supposed to
support _everything_ that the other format can support (besides local
stuff like the uid). This should be done since at some point opensync is
supposed to support "merging" of objects and if we dont convert
information to the xml format we would loose it.

Opensync already has support for mapping fields it does not know yet.
Normally it should add a <UnknownNode> node to the xml doc but i guess
there must be a bug since it is not working for you :)

could you please turn on tracing with: export
OSYNC_TRACE=/path/to/some/log/directory
and run the command again that yielded this wrong conversion? you can
either send the resulting Thread*.log files directly or just the
conversion part (the interesting part would be the input vcard and the
output xml tree)

what version of evolution and evolution-data-server are you running?

> Paul Rensing
>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCV/W3q9z7v9k9UakRAg7oAJ0f3L6fvIWal1kYejNv4qIG9G3AjgCcDNXH
lG+q7r28zgqQCusLVn2jyyg=
=2Axq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.