Discussion:
[Synce-devel] Broken pipe with synce-plugin
Manuel Borchers
2007-08-02 18:34:26 UTC
Permalink
Hi everyone,

after some time, I thought I give synce another shot to see if calendar
would work for me now.
So I reinstalled everything related from scratch.

Opensync version is 0.22
everything synce-related is from svn as in the wiki (excluding wbxml,
this one I got vie wget as in the wiki, because the svn-server was not
responding).

I recreated a partnership, recreated a sync group and deleted all
contacts and calendar-entries (by hand-editing the ics file) on the
evolution side.

And here we go:
-- snip --
***@maxwell:~/Software/Linux/synce/sync-engine/tools$ msynctool
--sync evo2
Synchronizing group "evo2"
DEBUG:SynCE:connect() called
Member 2 of type synce-plugin just connected
Member 1 of type evo2-sync just connected
All clients connected or error
DEBUG:SynCE:get_changeinfo() called
DEBUG:SynCE:slow sync requested for Contacts
DEBUG:SynCE:slow sync requested for Calendar
DEBUG:SynCE:slow sync requested for Tasks
Member 1 of type evo2-sync just sent all changes
INFO:SynCE:requesting device synchronization
INFO:SynCE:waiting for engine to complete sync
INFO:SynCE:device synchronization complete
INFO:SynCE:initiating prefill
Member 2 of type synce-plugin had an error while getting changes: Broken
Pipe
Member 2 of type synce-plugin had an error while disconnecting: Broken
Pipe
Member 1 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
Error while synchronizing: Unable to read from one of the members
-- snip --

That's still what I got a few weeks/months ago... Still no joy. (I had
syncing working before the changes related to correct timezone handling,
half a year ago? can't remember)

The sync-engine itself seems to do the sync with the phone correctly, as
the phones tells me and I'm seeing on the console.


Any hints on where I could start debugging would be great...

Cheers,
Manuel
--
***@matronix.de
http://www.malteser-berlin.de
http://www.matronix.de - http://www.elektronik-kompendium.de/public/borchers
Jonny Lamb
2007-08-04 23:50:04 UTC
Permalink
Post by Manuel Borchers
Hi everyone,
Hi.

[snip]
Post by Manuel Borchers
Member 2 of type synce-plugin had an error while getting changes: Broken
Pipe
Member 2 of type synce-plugin had an error while disconnecting: Broken
Pipe
Member 1 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
Error while synchronizing: Unable to read from one of the members
The sync-engine itself seems to do the sync with the phone correctly, as
the phones tells me and I'm seeing on the console.
What exactly does sync-engine do/say?
--
Jonny Lamb, UK ***@jonnylamb.com
http://jonnylamb.com GPG: 0x2E039402
Manuel Borchers
2007-08-05 08:39:21 UTC
Permalink
Hi Jonny,
Post by Jonny Lamb
Post by Manuel Borchers
The sync-engine itself seems to do the sync with the phone correctly, as
the phones tells me and I'm seeing on the console.
What exactly does sync-engine do/say?
I captured the ouput form sync-engine this time (see attached). I did
not recreate the partnership this time, instead I reused the so far
non-working partnership from last time.
msynctool gives a somewhat different error this time:

-- snip --
***@maxwell:~$ msynctool --sync evo2
Synchronizing group "evo2"
DEBUG:SynCE:connect() called
Member 2 of type synce-plugin just connected
Member 1 of type evo2-sync just connected
All clients connected or error
DEBUG:SynCE:get_changeinfo() called
DEBUG:SynCE:slow sync requested for Contacts
DEBUG:SynCE:slow sync requested for Calendar
DEBUG:SynCE:slow sync requested for Tasks
Member 1 of type evo2-sync just sent all changes
INFO:SynCE:requesting device synchronization
INFO:SynCE:waiting for engine to complete sync
INFO:SynCE:device synchronization complete
INFO:SynCE:initiating prefill
INFO:SynCE:prefill complete
DEBUG:SynCE:requesting remote changes
Traceback (most recent call last):
File "/usr/local/lib/opensync/python-plugins/synce.py", line 137, in
get_changeinfo
changesets =
self.engine.GetRemoteChanges(self.engine.GetSynchronizedItemTypes())
File "/var/lib/python-support/python2.4/dbus/proxies.py", line 134, in
__call__
args,
File "/var/lib/python-support/python2.4/dbus/connection.py", line 597,
in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Disconnected:
Connection is closed
Member 2 of type synce-plugin had an error while getting changes: Error
during get_changeinfo() method
Member 2 of type synce-plugin had an error while disconnecting: Broken
Pipe
Member 1 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to read from one of the members
Error while synchronizing: Unable to read from one of the members
-- snip --

Should I redo the test with a newly created partnership?

Cheers and thanks,
Manuel
--
***@matronix.de
http://www.malteser-berlin.de
http://www.matronix.de - http://www.elektronik-kompendium.de/public/borchers
Loading...