Discussion:
New sync issue has shown up
Bryan Stevenson
2010-08-27 16:19:24 UTC
Permalink
Hey All (and Mark),

I haven't performed a sync for a few months. At that time everything
was working fine.

I have just made several attempts to sync and each attempt has ended
with the lines below:

----------------------------------------------------------------------------------------------------------
Member 2 of type evo2-sync just sent all changes
INFO:SynCE:waiting for engine to complete sync
INFO:SynCE:device synchronization complete
DEBUG:SynCE:requesting remote changes
DEBUG:SynCE:got 3 changesets
DEBUG:SynCE:processing changes for 3 items of item type 1
Traceback (most recent call last):
File "/usr/lib/opensync/python-plugins/synce-opensync-plugin-2x.py",
line 174, in get_changeinfo
change.uid = array.array('B',guid).tostring()
File "/usr/lib/pymodules/python2.6/opensync.py", line 192, in set_uid
def set_uid(self, *args): return _opensync.OSyncChange_set_uid(self,
*args)
TypeError: in method 'OSyncChange_set_uid', argument 1 of type
'OSyncChange *'
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
All conflicts have been reported
Error while synchronizing: Unable to read from one of the members
----------------------------------------------------------------------------------------------------------

So clearly there is some issue with the opensync plugin....specifically
in the oSyncChange_set_uid method (not that I have any idea where that
is or what may be wrong).

It seems to have an issue with a specific argument passed to it and is
coughing up the error.

Any thoughts? Can I provide more info to aid in debugging?

TIA as always ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: ***@electricedgesystems.com
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail
Guido Diepen
2010-08-27 17:02:53 UTC
Permalink
Hi Bryan,

appears to be the known problem with OpenSync python plugin and newer versions
of Swig.

It's described here

https://bugs.launchpad.net/ubuntu/+source/opensync/+bug/584997

To install the hack fix, follow the instructions here

https://bugs.launchpad.net/ubuntu/+source/opensync/+bug/584997/comments/2

Guido Diepen
Post by Bryan Stevenson
Hey All (and Mark),
I haven't performed a sync for a few months. At that time everything
was working fine.
I have just made several attempts to sync and each attempt has ended
---------------------------------------------------------------------------
------------------------------- Member 2 of type evo2-sync just sent all
changes
INFO:SynCE:waiting for engine to complete sync
INFO:SynCE:device synchronization complete
DEBUG:SynCE:requesting remote changes
DEBUG:SynCE:got 3 changesets
DEBUG:SynCE:processing changes for 3 items of item type 1
File "/usr/lib/opensync/python-plugins/synce-opensync-plugin-2x.py",
line 174, in get_changeinfo
change.uid = array.array('B',guid).tostring()
File "/usr/lib/pymodules/python2.6/opensync.py", line 192, in set_uid
def set_uid(self, *args): return _opensync.OSyncChange_set_uid(self,
*args)
TypeError: in method 'OSyncChange_set_uid', argument 1 of type
'OSyncChange *'
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
All conflicts have been reported
Error while synchronizing: Unable to read from one of the members
---------------------------------------------------------------------------
-------------------------------
So clearly there is some issue with the opensync plugin....specifically
in the oSyncChange_set_uid method (not that I have any idea where that
is or what may be wrong).
It seems to have an issue with a specific argument passed to it and is
coughing up the error.
Any thoughts? Can I provide more info to aid in debugging?
TIA as always ;-)
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
web: www.electricedgesystems.com
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail
--
Guido Diepen <***@jcwodan.nl>
Aviation is proof that given the will, we have the capacity to achieve the
impossible.
--Eddie Rickenbacker
Bryan Stevenson
2010-08-30 22:30:50 UTC
Permalink
Thanks Guido....much appreciated!!
Post by Guido Diepen
Hi Bryan,
appears to be the known problem with OpenSync python plugin and newer versions
of Swig.
It's described here
https://bugs.launchpad.net/ubuntu/+source/opensync/+bug/584997
To install the hack fix, follow the instructions here
https://bugs.launchpad.net/ubuntu/+source/opensync/+bug/584997/comments/2
Guido Diepen
Post by Bryan Stevenson
Hey All (and Mark),
I haven't performed a sync for a few months. At that time everything
was working fine.
I have just made several attempts to sync and each attempt has ended
---------------------------------------------------------------------------
------------------------------- Member 2 of type evo2-sync just sent all
changes
INFO:SynCE:waiting for engine to complete sync
INFO:SynCE:device synchronization complete
DEBUG:SynCE:requesting remote changes
DEBUG:SynCE:got 3 changesets
DEBUG:SynCE:processing changes for 3 items of item type 1
File "/usr/lib/opensync/python-plugins/synce-opensync-plugin-2x.py",
line 174, in get_changeinfo
change.uid = array.array('B',guid).tostring()
File "/usr/lib/pymodules/python2.6/opensync.py", line 192, in set_uid
def set_uid(self, *args): return _opensync.OSyncChange_set_uid(self,
*args)
TypeError: in method 'OSyncChange_set_uid', argument 1 of type
'OSyncChange *'
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
All conflicts have been reported
Error while synchronizing: Unable to read from one of the members
---------------------------------------------------------------------------
-------------------------------
So clearly there is some issue with the opensync plugin....specifically
in the oSyncChange_set_uid method (not that I have any idea where that
is or what may be wrong).
It seems to have an issue with a specific argument passed to it and is
coughing up the error.
Any thoughts? Can I provide more info to aid in debugging?
TIA as always ;-)
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
web: www.electricedgesystems.com
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: ***@electricedgesystems.com
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail

Loading...