On Mi, 2010-10-27 at 19:16 +0100, Valerio Pachera wrote:
I'm trying to use syncevolution like client of mooha server
(
http://code.google.com/p/mooha/).
Mooha is a pretty "simple" server that uses a simple mysql database
(only 6 tables).
I tried to sync my mobile calneda and it seems to work fine.
Each time I sincronize I look the records that change in the mooha_item table.
When I try to sync using syncevolution using 'refresh-from-client' (so
it read evolution db and writes data on mooha db), I get double items
in the mooha_item table.
This is an obvious bug in the server. It should erase all its items
before adding the ones it is sent by the client. The client has no
control over that, it is implied by "refresh-from-client" mode.
Each time I run the syncronization, itmes are added insted of
overwritten.
I noticed also that the fileds 'item_type' and 'item_type_version' are
empty when I sync using syncevolution and are populated when I sync
form my nokia mobile.
If I use 'tow-way', I get error 22000 complaining about slow sync even
tough I've just done a refresh-from-client.
The exact reason for that will be in the log files. My bet is on the
server asking the client for a slow sync, probably because it didn't
correctly update its anchors after the refresh-from-client sync.
If I user 'refresh-from-server', I get '[ERROR] command
line execution failure'.
Wasn't there some other error earlier?
After these syncs, mobile sync doesn't work anymore and the only
way
to fix it is to empty the database.
I'm working on debian squeeze and syncevolution 1.1 installed from deb.
What do you think about it?
Seems like a bug report to the mooha developers is due.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.