Ticket #723 (new defect)

Opened 6 years ago

Last modified 6 years ago

Syncing between Evolution and SE W800 fails

Reported by: ThomasNovin Owned by: dgollub
Priority: normal Milestone:
Component: OpenSync Version: 0.22
Severity: normal Keywords:
Cc:

Description (last modified by felixmoeller) (diff)

I'm trying to sync my address book between my Sony Ericsson W800 mobile phone and Evolution (phone connected via USB).

First I see on the phone that it is sending entries. It goes up to approx 120 and then it stops. Then I can see that it starts to receive. Here the transfer is aborted after maybe 20-30 and I can see on the phone that it says communication is interrupted.

$ msynctool --listgroups | grep W800
W800_to_Evo2
$ msynctool --configure W800_to_Evo2 1

<?xml version="1.0"?>
<config>
  <interface>0</interface>
  <identifier>Sony Ericss</identifier>
  <version>1</version>
  <wbxml>1</wbxml>
  <username></username>
  <password></password>
  <type>5</type>
  <usestringtable>0</usestringtable>
  <onlyreplace>0</onlyreplace>
  <onlyLocaltime>0</onlyLocaltime>
  <recvLimit>0</recvLimit>
  <maxObjSize>0</maxObjSize>
  <contact_db>Contacts</contact_db>
  <calendar_db>Agenda</calendar_db>
  <note_db>Notes</note_db>
</config>
$ msynctool --configure W800_to_Evo2 2

<config>
  <address_path>file:///home/thnov/.evolution/addressbook/local/1208244391.15329.0@thnov-desktop</address_path>
  <!-- calendar_path>default</calendar_path -->
  <!-- tasks_path>default</tasks_path -->
</config>

Also, if I try to enable trace I just get this:

$ export OSYNC_TRACE=osync.osync
$ export SYNCML_TRACE=osync.syncml
$ msynctool --sync W800_to_Evo2
Synchronizing group "W800_to_Evo2"
The previous synchronization was unclean. Slow-syncing
Error while initializing syncengine: Invalid answer from plugin process

There are however trace files being written so I'm attaching them.

I'm on Ubuntu Hardy so I have opensync 0.22.

Attachments

osync_error.txt (33.1 KB) - added by ThomasNovin 6 years ago.
Output when I run --sync
tracefiles.tar (60.0 KB) - added by ThomasNovin 6 years ago.
tar cf tracefiles.tar osync.osync/ osync.syncml/

Change History

Changed 6 years ago by ThomasNovin

Output when I run --sync

Changed 6 years ago by ThomasNovin

tar cf tracefiles.tar osync.osync/ osync.syncml/

comment:1 Changed 6 years ago by ThomasNovin

Oh, btw, when I enable debug log I also get a crash which apport fetched. This bug was opened on Launchpad.

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

comment:2 Changed 6 years ago by ThomasNovin

I tried syncing again. This time the phone received 41 entries before I got the error on the phone. The processes will not end if I don't kill them myself.

$ ps ax | grep [s]ync

9771 pts/0 Sl+ 0:03 msynctool --sync W800_to_Evo2 9772 pts/0 Rl+ 0:01 /usr/lib/opensync/osplugin /home/thnov/.opensync-0.22/group1 2 9777 pts/0 Sl+ 0:02 /usr/lib/opensync/osplugin /home/thnov/.opensync-0.22/group1 1

If I do strace on the osplugin processes both are looping the same message:

poll([{fd=13, events=POLLIN}], 1, 1) = 0

comment:3 Changed 6 years ago by felixmoeller

  • Description modified (diff)
Note: See TracTickets for help on using tickets.