On Fri, 2007-10-12 at 07:11 +0100, Mark Ellis wrote:
> On Wed, 2007-10-10 at 10:24 +0930, Iain Buchanan wrote:
> > note that pls doesn't work as soon as eth1 comes up.  it says:
> > 
> >  ** (process:5451): WARNING **: No devices connected to odccm
> > pls: Could not find configuration at path '(Default)'
> > 
> > but then it works again a few seconds later.  Could be a red herring :)
> > 
> 
> Probably not going to help. Odccm not advertising devices implies it's
> still negotiating the connection. Still might be worth trying something,
> more thinking needed.
> 

But on the other hand it doesn't hurt to try :)

Attached patch just sleeps for 10secs between getting the connection
message and trying a rapi connection.

I've also committed what we have so far.

Thanks
Mark

diff -Nur synce-trayicon-0.9.0.svn20071016.orig/src/odccm-client.c synce-trayicon-0.9.0.svn20071016/src/odccm-client.c
--- synce-trayicon-0.9.0.svn20071016.orig/src/odccm-client.c	2007-10-16 07:12:23.000000000 +0100
+++ synce-trayicon-0.9.0.svn20071016/src/odccm-client.c	2007-10-17 07:03:20.000000000 +0100
@@ -440,6 +440,9 @@
     goto exit;
   }
 
+
+  sleep(10);
+
   /* get rapi connection */
   if (!(odccm_device_get_rapi_connection(self, device))) {
     g_ptr_array_remove(priv->dev_proxies, p_store);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to