Hi again,
I've found a solution to the timeout-problem that works for me. I
changed the timeout values in opensync/opensync_plugin.c (libopensync)
from 60 to 120:
//Set the default timeouts;
plugin->info.timeouts.connect_timeout = 120;
plugin->info.timeouts.sync_done_timeout = 120;
plugin->info.timeouts.disconnect_timeout = 120;
plugin->info.timeouts.get_changeinfo_timeout = 120;
plugin->info.timeouts.get_data_timeout = 120;
plugin->info.timeouts.commit_timeout = 120;
plugin->info.timeouts.read_change_timeout = 120;
Maybe these values should not be hardcoded but configurable in the
plugin's config-file?
Next I have tried to sync my phone to evolution (2.6). It works quite
well, even new items can be written to the phone.
One problem: in evolutions calendar I have to open a calendar item to
see the text in "description", "summary" is empty. But in the
evo-calendar view only the "summary" would be shown. Maybe you could
add an option to the evolution2-plugin that allows to swap
"description" and "summary" in calendar items around? It could be a
switch in the config-file to enable or disable the swapping.
Greets,
Clemente
2006/7/2, Don Clemente <don...@gm...>:
> Hi,
>
> I'm trying to sync my siemens sx1 with opensync.
> I've set up a sync group with file-sync and syncml-http-server plugins.
> If the file-sync directory is empty, everything (well, almost, see
> below) works fine and the items from the phone are copied into that
> directory.
>
> Here are the 2 problems I noticed so far:
>
> Sometimes I get a timeout error:
>
> Member 2 of type syncml-http-server had an error while getting
> changes: Timeout while waiting for a reply to message "GET_CHANGES"
> Member 2 of type syncml-http-server had an error while disconnecting:
> Timeout while waiting for a reply to message "DISCONNECT"
>
> I think the problem is: the phone sends about 30 items at once and
> then pauses until the next items are sent. The pause is between some
> seconds and a minute long, I guess. Maybe it's to long for opensync's
> timeout sometimes.
>
> Second problem:
>
> Opensync can read items correctly from the phone, but cannot write:
>
> Error writing entry 499 to member 2: content type was not configured
> Mapping Write Error: content type was not configured
> The sync failed: Unable to write one or more objects
>
> This happens with changed and added items from the file-sync plugin.
>
> Greets,
> Clemente
>
|