On Fri, 2008-05-30 at 15:21 +0930, Iain Buchanan wrote:
> Hi,
> 
> thanks for the quick response.
> 
> On Thu, 2008-05-29 at 18:27 +0100, Dr J A Gow wrote:
> 
> > Ok, try the latest SVN and let me know how you get on. I committed a fix
> > for a typo in r3467.
> 
> Thanks.   I created a patch against 0.11.1:
> --- SyncEngine/kernel.py      2008-05-30 14:54:51.000000000 +0930
> +++ SyncEngine/kernel.py.2    2008-05-30 15:01:23.000000000 +0930
> @@ -276,7 +276,7 @@
>                       # if we suddenly need auth, first shut down all threads 
> if they
>                       # are running
>               
> -                     if self.partnerships != None:
> +                     if self.PshipManager.GetCurrentPartnership() != None:
>                               self.OnDisconnect()
>                       
>                       if 
> auth.Authorize(self.devicePath,self.device,self.config.config_Global):
> 
> And I can't seem to see (or create properly) the partnerships.
> list_partnerships just says:
> error: org.synce.SyncEngine.Error.Disconnected
> 
> This is the output from sync-engine just after connecting the device:
> 
> 2008-05-30 15:04:07,690 INFO engine.syncengine.kernel : _CBDeviceConnected: 
> device connected at path 
> /org/synce/odccm/Device/_2C343682_C645_9887_675F_401F60866DD0_
> 2008-05-30 15:04:07,694 INFO engine.syncengine.kernel :  device IO2 connected
> 2008-05-30 15:04:07,694 INFO engine.syncengine.kernel : ProcessAuth : 
> processing authorization for device 'IO2'
> auth: auth prog INTERNAL_GUI does not exist
> 2008-05-30 15:04:07,694 INFO engine.syncengine.kernel : Failed to authorize - 
> disconnect and reconnect device to try again
> 2008-05-30 15:04:07,695 INFO engine.syncengine.kernel : 
> _CBDeviceAuthStateChanged: device authorization state changed: reauthorizing
> 2008-05-30 15:04:07,695 INFO engine.syncengine.kernel : ProcessAuth : 
> processing authorization for device 'IO2'
> auth: auth prog INTERNAL_GUI does not exist


Great, we're one step forward. Now I just need to know why sync-engine's
internal authorization is broken. Watch this space...

        John.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to