Ticket #1054 (new defect)

Opened 5 years ago

Last modified 5 years ago

unable to sync using barry-sync

Reported by: simongreen Owned by: dgollub
Priority: normal Milestone:
Component: OpenSync Version: 0.38
Severity: normal Keywords:
Cc: milkfish@…

Description

See the extracts from the logs & traces below.

I seem to be getting the error "Probe: SetConfiguration? failed "

Any suggestions please...

Simon

simon@simon-laptop:~$ export OSYNC_TRACE=/home/simon simon@simon-laptop:~$ msynctool --sync Blackberry Synchronizing group "Blackberry" Member 2 of type evo2-sync just connected Member 1 of type barry-sync had an error while connecting: (-1, could not set config 1: Operation not permitted): Probe: SetConfiguration? failed Member 2 of type evo2-sync just disconnected All clients have disconnected The sync failed: Unable to connect one of the members Error while synchronizing: Unable to connect one of the members


[1233612938.860262] <<<<<<< barry_sync: initialize [1233612938.860293] <<<<<<< osync_member_initialize [1233612938.860323] sending reply to engine [1233612938.860362] >>>>>>> osync_queue_send_message(0x90bba80, (nil), 0x90bd7d0, (nil)) [1233612938.860523] <<<<<<< osync_queue_send_message [1233612938.860557] done sending to engine [1233612938.860592] <<<<<<< message_handler [1233612938.860631] <<<<<<< _incoming_dispatch: Done dispatching [1233612939.630860] >>>>>>> _incoming_dispatch(0x90bb228) [1233612939.630903] >>>>>>> message_handler(0x90bb040, 0xbfd94fa0) [1233612939.630940] plugin received command 1 [1233612939.630980] >>>>>>> osync_group_reset_slow_sync(0x90b5020, data) [1233612939.631013] <<<<<<< osync_group_reset_slow_sync [1233612939.631058] >>>>>>> osync_member_connect(0x90bb098, 0x8049c20, 0x90bcea0) [1233612939.631097] >>>>>>> barry_sync: connect [1233612939.779610] >>>>>>> osync_context_report_error(0x90bdbe0, 10, %s) [1233612939.780020] ERROR is: (-1, could not set config 1: Operation not permitted): Probe: SetConfiguration? failed [1233612939.780063] >>>>>>> message_callback(0x90bb098, 0x90bcea0, 0xbfd94d38) [1233612939.780130] [CLI] WARNING: Member is replying with message 0x90be718 to message 0x90bb040:"-452028418-1164387043" with error 10: (-1, could not set config 1: Operation not permitted): Probe: SetConfiguration? failed [1233612939.780166] >>>>>>> osync_queue_send_message(0x90bba80, (nil), 0x90be718, (nil)) [1233612939.781496] <<<<<<< osync_queue_send_message [1233612939.781536] <<<<<<< message_callback [1233612939.781568] <<<<<<< osync_context_report_error [1233612939.781608] <<<<<<< barry_sync: connect [1233612939.781645] <<<<<<< osync_member_connect [1233612939.781676] <<<<<<< message_handler [1233612939.781708] <<<<<<< _incoming_dispatch: Done dispatching


simon@simon-laptop:~$ msynctool --showgroup Blackberry Groupname: Blackberry Member 1: barry-sync

Configuration : Device 254a4a94 1 1

Member 2: evo2-sync

Configuration : <?xml version="1.0"?>

<config>

<address_path>default</address_path> <calendar_path>default</calendar_path> <tasks_path/>

</config>

Change History

comment:1 Changed 5 years ago by nicklas

Hi,

I have made the porting of the OpenSync? plugin for Barry project.

The plugin is still under development. We have added the plugin into the HEAD branch the 20 febuary 2009. I use this plugin with OpenSync? and I haven't issue.

http://repo.or.cz/w/barry.git

I think that simongreen doesn't use the good version... and so the bug is INVALID.

Please check the version.

Nicolas VIVIEN

comment:2 Changed 5 years ago by milkfish

On Ubuntu 9.04, built from the barry-0.14 tarball and am getting the same error from msynctool with debug turned on:

Synchronizing group "BB" 
The previous synchronization was unclean. Slow-syncing
usb_set_debug: Setting debugging level to 9 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
...
usb_open(0x999bdd0)
USB error: error sending control message: Operation not permitted
usb_close(0x999b9a0)
Member 1 of type barry-sync had an error while connecting: (-1, error sending control message: Operation not permitted): Probe: GetConfiguration failed
Member 2 of type file-sync just disconnected
Member 3 of type evo2-sync just connected
Member 3 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to connect one of the members
Error while synchronizing: Unable to connect one of the members

Also the command line utilities btool and bidentify both fail with Operation not permitted in GetConfiguration?.

I had compilation problems building from git head so could not try that.

comment:3 Changed 5 years ago by nicklas

Hi,

If you use the OpenSync? 0.38, you can't use Barry plugin.

Barry plugin is available only for OpenSync? framework 0.22 (see package barry 0.14) and the current devel OpenSync? (0.39 ? 0.4x ?)

So you have to checkout the SVN head OpenSync? framework and the GIT head Barry project to build and work.

By the way, the OpenSync? Barry plugin porting is achieved and work well.

Regards,

Nicolas VIVIEN

comment:4 Changed 5 years ago by milkfish

  • Cc milkfish@… added

Sorry, how can I tell whether I have 0.38 or 0.39 or whatever for OpenSync? I don't see this versioning anywhere.

When I tried building from GIT it got as far as iconv.o, then gave me the error

../libtool: line 4992: cd: yes/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `yes/lib'
make[2]: *** [libbarry.la] Error 1

at which point I went to the 0.14 tarball.

Rich Magahiz

Note: See TracTickets for help on using tickets.