SourceForge.net
2010-11-24 14:17:37 UTC
The following forum message was posted by drgrumpy at http://sourceforge.net/projects/synce/forums/forum/96106/topic/3959766:
Hi all,
Been tearing my hair out for several days trying to sync my pocket pc (loox
n560) with evolution (Ubuntu 10.04). I am trying to migrate to linux but this
is going to be a major issue if can't get working.
So I have followed the instructions closely and installed from the ppa, etc.
synce-trayicon installed to enable password entry
I installed the patch at:
https://bugs.launchpad.net/ubuntu/+source/opensync/+bug/584997
synce-pls works and returns list of files on device
synce-pstatus works
I deleted on ppc all the partnerships
I created a new partnership in trayicon
this created the partnership on the device (but then it disconnected)
remove device and replug
now
pstatus and pls work,
but synce-list-partnerships returns error:
ERROR:dbus.proxies:Introspect error on :1.153:/org/synce/SyncEngine:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive
a reply. Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout expired,
or the network connection was broken.
if I try to sync using msynctool (groups and plugins all set up correctly)
..........
Member 2 of type evo2-sync just sent all changes
Member 1 of type synce-opensync-plugin had an error while getting changes: Error
during get_changeinfo() method
DEBUG:SynCE:disconnect() called
Member 1 of type synce-opensync-plugin just disconnected
Member 2 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
DEBUG:SynCE:finalize() called
Error while synchronizing: Unable to read from one of the members
It would seem that this is another symptom of the same problem with listing
the partnerships.
BUT I found that if I do:
sudo synce-list-partnerships
this correctly lists my partnerships, but of course I can't sync as sudo because
it will not pick up the configuration for the sync group.
following search I found an indication of a dbus bug, so added the following
file as synce.conf to /etc/dbus-1/system.d/
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- This configuration file specifies the required security policies
for synce-hal to work. -->
<!-- Allow anyone to invoke methods on the Synce interface -->
<policy context="default">
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Synce"/>
</policy>
</busconfig>
reboot etc. with the same symptoms. So it seems that 'cos I can use sudo to
list partnerships there is some permsissions/access issue in accessing the device
(but then why do -pls and -pstatus work okay ?), any help/suggestions would
be very much appreciated or I am going to have to go back to windows and
outlook.
Thanks, Steve
P.S.
Also I have found that
sometimes it gets detected by trayicon and sometimes not,
I notice that with each removal/connection the device gets a new number, e.g.
[ 509.110111] usb 5-3: new full speed USB device using ohci_hcd and address 3
[ 509.307135] usb 5-3: configuration #1 chosen from 1 choice
[ 509.386873] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 509.396332] eth1: register 'rndis_host' at usb-0000:00:13.0-3, RNDIS device,
80:00:60:0f:e8:00
[ 520.301304] eth1: no IPv6 routers present
in this case it registered with trayicon, in the following 9 failed to register
and 10 registered okay.
[ 4094.918976] eth1: unregister 'rndis_host' usb-0000:00:13.0-3, RNDIS device
[ 4138.510103] usb 5-3: new full speed USB device using ohci_hcd and address 9
[ 4138.707825] usb 5-3: configuration #1 chosen from 1 choice
[ 4138.776571] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 4138.786049] eth1: register 'rndis_host' at usb-0000:00:13.0-3, RNDIS device,
80:00:60:0f:e8:00
[ 4148.970064] eth1: no IPv6 routers present
[ 4623.290818] usb 5-3: USB disconnect, address 9
[ 4623.292320] eth1: unregister 'rndis_host' usb-0000:00:13.0-3, RNDIS device
[ 6354.340099] usb 5-3: new full speed USB device using ohci_hcd and address 10
[ 6355.960386] usb 5-3: configuration #1 chosen from 1 choice
[ 6356.039105] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 6356.048601] eth1: register 'rndis_host' at usb-0000:00:13.0-3, RNDIS device,
80:00:60:0f:e8:00
[ 6367.060044] eth1: no IPv6 routers present
[ 6546.172159] usb 5-3: USB disconnect, address 10
[ 6546.173375] eth1: unregister 'rndis_host' usb-0000:00:13.0-3, RNDIS device
[ 6552.430100] usb 5-3: new full speed USB device using ohci_hcd and address 11
[ 6552.647804] usb 5-3: configuration #1 chosen from 1 choice
[ 6552.718549] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 6552.728017] eth1: register 'rndis_host' at usb-0000:00:13.0-3
Hi all,
Been tearing my hair out for several days trying to sync my pocket pc (loox
n560) with evolution (Ubuntu 10.04). I am trying to migrate to linux but this
is going to be a major issue if can't get working.
So I have followed the instructions closely and installed from the ppa, etc.
synce-trayicon installed to enable password entry
I installed the patch at:
https://bugs.launchpad.net/ubuntu/+source/opensync/+bug/584997
synce-pls works and returns list of files on device
synce-pstatus works
I deleted on ppc all the partnerships
I created a new partnership in trayicon
this created the partnership on the device (but then it disconnected)
remove device and replug
now
pstatus and pls work,
but synce-list-partnerships returns error:
ERROR:dbus.proxies:Introspect error on :1.153:/org/synce/SyncEngine:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive
a reply. Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout expired,
or the network connection was broken.
if I try to sync using msynctool (groups and plugins all set up correctly)
..........
Member 2 of type evo2-sync just sent all changes
Member 1 of type synce-opensync-plugin had an error while getting changes: Error
during get_changeinfo() method
DEBUG:SynCE:disconnect() called
Member 1 of type synce-opensync-plugin just disconnected
Member 2 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
DEBUG:SynCE:finalize() called
Error while synchronizing: Unable to read from one of the members
It would seem that this is another symptom of the same problem with listing
the partnerships.
BUT I found that if I do:
sudo synce-list-partnerships
this correctly lists my partnerships, but of course I can't sync as sudo because
it will not pick up the configuration for the sync group.
following search I found an indication of a dbus bug, so added the following
file as synce.conf to /etc/dbus-1/system.d/
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- This configuration file specifies the required security policies
for synce-hal to work. -->
<!-- Allow anyone to invoke methods on the Synce interface -->
<policy context="default">
<allow send_destination="org.freedesktop.Hal"
send_interface="org.freedesktop.Hal.Device.Synce"/>
</policy>
</busconfig>
reboot etc. with the same symptoms. So it seems that 'cos I can use sudo to
list partnerships there is some permsissions/access issue in accessing the device
(but then why do -pls and -pstatus work okay ?), any help/suggestions would
be very much appreciated or I am going to have to go back to windows and
outlook.
Thanks, Steve
P.S.
Also I have found that
sometimes it gets detected by trayicon and sometimes not,
I notice that with each removal/connection the device gets a new number, e.g.
[ 509.110111] usb 5-3: new full speed USB device using ohci_hcd and address 3
[ 509.307135] usb 5-3: configuration #1 chosen from 1 choice
[ 509.386873] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 509.396332] eth1: register 'rndis_host' at usb-0000:00:13.0-3, RNDIS device,
80:00:60:0f:e8:00
[ 520.301304] eth1: no IPv6 routers present
in this case it registered with trayicon, in the following 9 failed to register
and 10 registered okay.
[ 4094.918976] eth1: unregister 'rndis_host' usb-0000:00:13.0-3, RNDIS device
[ 4138.510103] usb 5-3: new full speed USB device using ohci_hcd and address 9
[ 4138.707825] usb 5-3: configuration #1 chosen from 1 choice
[ 4138.776571] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 4138.786049] eth1: register 'rndis_host' at usb-0000:00:13.0-3, RNDIS device,
80:00:60:0f:e8:00
[ 4148.970064] eth1: no IPv6 routers present
[ 4623.290818] usb 5-3: USB disconnect, address 9
[ 4623.292320] eth1: unregister 'rndis_host' usb-0000:00:13.0-3, RNDIS device
[ 6354.340099] usb 5-3: new full speed USB device using ohci_hcd and address 10
[ 6355.960386] usb 5-3: configuration #1 chosen from 1 choice
[ 6356.039105] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 6356.048601] eth1: register 'rndis_host' at usb-0000:00:13.0-3, RNDIS device,
80:00:60:0f:e8:00
[ 6367.060044] eth1: no IPv6 routers present
[ 6546.172159] usb 5-3: USB disconnect, address 10
[ 6546.173375] eth1: unregister 'rndis_host' usb-0000:00:13.0-3, RNDIS device
[ 6552.430100] usb 5-3: new full speed USB device using ohci_hcd and address 11
[ 6552.647804] usb 5-3: configuration #1 chosen from 1 choice
[ 6552.718549] rndis_host 5-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[ 6552.728017] eth1: register 'rndis_host' at usb-0000:00:13.0-3