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
2008-05-30 15:04:07,695 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,696 INFO engine.syncengine.kernel : ProcessAuth : 
processing authorization for device 'IO2'
auth: auth prog INTERNAL_GUI does not exist
2008-05-30 15:04:07,696 INFO engine.syncengine.kernel : Failed to authorize - 
disconnect and reconnect device to try again
2008-05-30 15:04:07,696 INFO engine.syncengine.kernel : 
_CBDeviceAuthStateChanged: device authorization state changed: reauthorizing
2008-05-30 15:04:07,696 INFO engine.syncengine.kernel : ProcessAuth : 
processing authorization for device 'IO2'
auth: auth prog INTERNAL_GUI does not exist
2008-05-30 15:04:07,697 INFO engine.syncengine.kernel : Failed to authorize - 
disconnect and reconnect device to try again
2008-05-30 15:04:19,849 INFO engine.syncengine.kernel : 
_CBDeviceAuthStateChanged: device authorization state changed: reauthorizing
2008-05-30 15:04:19,849 INFO engine.syncengine.kernel : ProcessAuth : 
processing authorization for device 'IO2'
2008-05-30 15:04:19,850 INFO engine.syncengine.kernel : ProcessAuth: 
authorization not required for device 'IO2'
2008-05-30 15:04:19,850 INFO engine.syncengine.kernel : 
_CBDeviceAuthStateChanged: device authorization state changed: reauthorizing
2008-05-30 15:04:19,850 INFO engine.syncengine.kernel : ProcessAuth : 
processing authorization for device 'IO2'
2008-05-30 15:04:19,850 INFO engine.syncengine.kernel : ProcessAuth: 
authorization not required for device 'IO2'
2008-05-30 15:04:19,850 INFO engine.syncengine.kernel : 
_CBDeviceAuthStateChanged: device authorization state changed: reauthorizing
2008-05-30 15:04:19,850 INFO engine.syncengine.kernel : ProcessAuth : 
processing authorization for device 'IO2'
2008-05-30 15:04:19,851 INFO engine.syncengine.kernel : ProcessAuth: 
authorization not required for device 'IO2'

I'm using synce-kpm to provide the password, which seems to work fine.
If I try synce-gnome I get this response from sync-engine:
2008-05-30 15:08:25,084 INFO engine.syncengine.kernel : 
_CBDeviceAuthStateChanged: device authorization state changed: reauthorizing
2008-05-30 15:08:25,084 INFO engine.syncengine.kernel : ProcessAuth : 
processing authorization for device 'IO2'
2008-05-30 15:08:25,084 INFO engine.syncengine.kernel : ProcessAuth: 
authorization not required for device 'IO2'

and list_partnerships still returns the error.


When I turn off the password, and reconnect the device, everything seems
to be happy!

Any ideas would be appreciated!  Thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Not every question deserves an answer.


-------------------------------------------------------------------------
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