[OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

View: New views
10 Messages — Rating Filter:   Alert me  

[OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by numlock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

After upgrading everything to 0.38, I can successfully get my Google contacts this way:

syncml-ds-tool --http-client https://m.google.com/syncml --slow-sync text/x-vcard contacts --username MY_USER_NAME --password MY_PASSWORD --identifier "Google sync" --target "Google" --version 1.2 --wbxml

What I really need is to synchronize Evolution2 with that. But as a first step, I tried to synchronize between SyncML and Files.

Here's what I get (it's named evolution-google but it's really file<=>syncml):

$ msynctool --sync evolution-google
Synchronizing group "evolution-google"
The previous synchronization was unclean. Slow-syncing
contact sink of member 1 of type file-sync just connected
Main sink of member 1 of type file-sync just connected
contact sink of member 2 of type syncml-http-client just connected
/var/tmp/portage/app-pda/libsyncml-0.5.4/work/libsyncml-0.5.4/libsyncml/data_sync_api/transport_http_client.c:65:E:smlDataSyncTransportHttpClientInitNewSession: Assertion "dsObject->url" failed
Aborted

Here is my complete setup:

Group config:
filter.conf
syncgroup.conf

Member 1 (File) config:
file-sync.conf
syncmember.conf

Member 2 (SyncML) config:
syncmember_.conf
syncml-http-client.conf

What could the problem be ?

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by Daniel Gollub-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 03 September 2009 01:04:08 pm numlock wrote:

> $ msynctool --sync evolution-google
> Synchronizing group "evolution-google"
> The previous synchronization was unclean. Slow-syncing
> contact sink of member 1 of type file-sync just connected
> Main sink of member 1 of type file-sync just connected
> contact sink of member 2 of type syncml-http-client just connected
> /var/tmp/portage/app-pda/libsyncml-0.5.4/work/libsyncml-0.5.4/libsyncml/dat
> a_sync_api/transport_http_client.c:65:E:smlDataSyncTransportHttpClientInitN
> ewSession: Assertion "dsObject->url" failed
> Aborted
>

Could be a problem of the OpenSync SyncML plugin and the new configuration
interface. Could you create SYNCML_TRACE files and send those as to me?


https://libsyncml.opensync.org/wiki/tracing


-Daniel

--
Daniel Gollub                        Geschaeftsfuehrer: Ralph Dehner
FOSS Developer                       Unternehmenssitz:  Vohburg
B1 Systems GmbH                      Amtsgericht:       Ingolstadt
Mobil: +49-(0)-160 47 73 970         Handelsregister:   HRB 3537
EMail: gollub@...          http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by Daniel Gollub-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 03 September 2009 01:16:27 pm Daniel Gollub wrote:

> On Thursday 03 September 2009 01:04:08 pm numlock wrote:
> > $ msynctool --sync evolution-google
> > Synchronizing group "evolution-google"
> > The previous synchronization was unclean. Slow-syncing
> > contact sink of member 1 of type file-sync just connected
> > Main sink of member 1 of type file-sync just connected
> > contact sink of member 2 of type syncml-http-client just connected
> > /var/tmp/portage/app-pda/libsyncml-0.5.4/work/libsyncml-0.5.4/libsyncml/d
> >at
> > a_sync_api/transport_http_client.c:65:E:smlDataSyncTransportHttpClientIni
> >tN ewSession: Assertion "dsObject->url" failed
> > Aborted
>
> Could be a problem of the OpenSync SyncML plugin and the new configuration
> interface. Could you create SYNCML_TRACE files and send those as to me?
>
>
> https://libsyncml.opensync.org/wiki/tracing
>

Hmmm the content of the wiki page is wrong... this is about OpenSync's tracing
not about libsyncml tracing ...

Try this one:
https://libsyncml.opensync.org/wiki/http-guide#BugReports

-Daniel

--
Daniel Gollub                        Geschaeftsfuehrer: Ralph Dehner
FOSS Developer                       Unternehmenssitz:  Vohburg
B1 Systems GmbH                      Amtsgericht:       Ingolstadt
Mobil: +49-(0)-160 47 73 970         Handelsregister:   HRB 3537
EMail: gollub@...          http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by Daniel Gollub-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 03 September 2009 01:04:08 pm numlock wrote:
> What could the problem be ?
>

Could you change your configuration to this

(Just a random guess, from reading the code.. thats pretty ugly - but let me
know if this works for you ...)


--- syncml-http-client.conf.orig 2009-09-03 13:31:22.000000000 +0200
+++ syncml-http-client.conf 2009-09-03 13:31:57.000000000 +0200
@@ -36,6 +36,13 @@
  <Value>PC Suite</Value>
   </AdvancedOption>
 
+     <AdvancedOption>
+       <DisplayName>Path for the remote server</DisplayName>
+       <Name>Path</Name>
+       <Type>string</Type>
+       <Value>/syncml</Value>
+     </AdvancedOption>
+
   </AdvancedOptions>
 
   <Authentication>
@@ -45,7 +52,7 @@
 
   <Connection>
     <Network>
-  <Address>m.google.com/syncml</Address>
+  <Address>m.google.com</Address>
       <Port>443</Port>
       <Protocol>https</Protocol>
     </Network>


--
Daniel Gollub                        Geschaeftsfuehrer: Ralph Dehner
FOSS Developer                       Unternehmenssitz:  Vohburg
B1 Systems GmbH                      Amtsgericht:       Ingolstadt
Mobil: +49-(0)-160 47 73 970         Handelsregister:   HRB 3537
EMail: gollub@...          http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

signature.asc (204 bytes) Download Attachment

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by numlock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Gollub-3 wrote:
Could you change your configuration to this

(Just a random guess, from reading the code.. thats pretty ugly - but let me
know if this works for you ...)
Great, many thanks, now it works *much* further ! It seems to receive all changes, but a SIGSEGV happens in a strcmp() call inside the osync_objtype_sink_find_objformat_sink() function of libopensync.

I'm thinking of replacing the "File" plugin with the "Evolution2" plugin and trying it with an empty contact list...  The current Google one has over 200 contacts.

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by numlock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to keep any interested people informed:

Daniel Gollub and I have been trying a few things concerning syncml with google. We already know syncml-ds-tool works, but the opensync syncml plugin doesn't work yet (even with latest trunk as of 2009-09-03).

When I (and/or Daniel) can get a working syncml to/from google, I will post some update here. But it's clear that the latest SVN version will be a requirement in order to do that synchronization.

Everyone, please feel free to answer if you're interested or if you had more success than us already :-)

Parent Message unknown [Req. for Michael] Need help getting File<=>SyncML (Google) to work

by numlock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

I've been trying to synchronize an evolution contact list with my
Android device (an HTC Hero) which doesn't support SyncML.

Therefore I thought the best way was to sync with my gmail account,
which the device already syncs with.

The following command works already, and displays all contacts from my
account:

syncml-ds-tool --http-client https://m.google.com/syncml --slow-sync
text/x-vcard contacts --username joel.bourquard --password MY_PASSWORD
--wbxml

Then, to avoid attacking evolution directly, I decided to try syncing
between files (on my filesystem) <=> SyncML (on gmail). With the kind
help from Daniel, we configured everything and built latest SVN, but it
seems the synchronization takes forever, and does no network activity at
all.

Daniel has a look at the traces but we didn't reach any conclusion yet.
He advised that I asked for your insight.

What would you recommend to try next ?

Many thanks in advance,

Joël


On Mon, 2009-09-14 at 14:22 +0200, Daniel Gollub wrote:

> On Friday 11 September 2009 09:20:20 pm Joël Bourquard wrote:
> > I have looked with wireshark but can't find any traffic from/to the
> > SyncML plugin. Did you find something on this ?
> >
>
> Nope - sorry. Was on vacation last weekend - i'll be quite busy this week.
> Could you ping me about this issue next Weekend - or ask on the Mailinglist?
> Maybe Michael (libsyncml Maintainer) can help ...
>
> Best Regards,
> Daniel
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: [Req. for Michael] Need help getting File<=>SyncML (Google) to work

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Joël,

Joël Bourquard wrote:

>
> Then, to avoid attacking evolution directly, I decided to try syncing
> between files (on my filesystem) <=> SyncML (on gmail). With the kind
> help from Daniel, we configured everything and built latest SVN, but it
> seems the synchronization takes forever, and does no network activity at
> all.
>
> Daniel has a look at the traces but we didn't reach any conclusion yet.
> He advised that I asked for your insight.
>
> What would you recommend to try next ?

Can I get the traces from you? You can open a ticket for this issue but
please check your traces twice to avoid publishing your passwords or
accounts.

Actually I'm really busy because I have some kind of a new job and I
discovered that libsyncml does not support huge maps.

Best regards

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael.bell@...       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq7VkMACgkQ2L0ZGCAwWqvj1gCgvdFCPBuDtJ7Zoc66rKNuQsLM
aukAoMqTijjIh9rJessfuV8ObwrJNVVb
=KVch
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Gollub wrote:
> On Thursday 03 September 2009 01:16:27 pm Daniel Gollub wrote:
>>
>> https://libsyncml.opensync.org/wiki/tracing
>>
>
> Hmmm the content of the wiki page is wrong... this is about OpenSync's tracing
> not about libsyncml tracing ...

I fixed the wiki page.

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael.bell@...       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq8l/YACgkQ2L0ZGCAwWqsiuACgqoitO91ZSM+pBDXqAAi+jGjo
rvUAoM44TR6n1QQ+pd4Ob6N7QyY8u9zq
=STEC
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: [OpenSync 0.38] Need help getting File<=>SyncML (Google) to work

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

numlock wrote:
> Just to keep any interested people informed:
>
> Daniel Gollub and I have been trying a few things concerning syncml with
> google. We already know syncml-ds-tool works, but the opensync syncml plugin
> doesn't work yet (even with latest trunk as of 2009-09-03).
>
> When I (and/or Daniel) can get a working syncml to/from google, I will post
> some update here. But it's clear that the latest SVN version will be a
> requirement in order to do that synchronization.

This is not really correct. Google was tested with libsyncml 0.5.4. So
the following things should work:

libsyncml/tags/libsyncml-0.5.4
libsyncml/branches/libsyncml-0.5.x
libsyncml/trunk

The trunk is not compatible with the actual plugin code. The actual
plugin bases on the 0.5.x API.

Best regards

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael.bell@...       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq8mKAACgkQ2L0ZGCAwWqsHWQCdF6umrBxPPxmLaeTMqCZsZV22
XxUAn0FgXgLhSNJsY3U19BMuImaD1xiP
=1z90
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel