[SyncEvolution] 409 "item merged" in client
by Patrick Ohly
Hello!
I've started to test SyncEvolution client <-> SyncEvolution server
automatically. The server is currently using the plain file backend and
thus cannot detect add<->add UID conflicts.
In the test of that aspect I noticed the following problem:
* client and server both have a new item with UID=foo
* client sends an Add UID=foo to the server, which accepts the new
item, leading to a duplication on the server
* in the same session, the server sends his version of the UID=foo
item
* the client's backend detects the duplicate and returns 409 to
the engine
Here's the detailed log:
http://syncev.meego.com/2011-12-14-12-24_testing_syncevohttp/testing-amd6...
* [2011-12-14 12:48:53.896] InsertItemAsKey res=409
* [2011-12-14 12:48:53.897] cannot create record in database
(sta=409)
* [2011-12-14 12:48:53.898] Database Error --> SyncML status 409
* [2011-12-14 12:48:53.899] - Operation add failed with SyncML
status=409
–[2011-12-14 12:48:53.900] End of 'Process_Item' [->top] [->enclosing]
* [2011-12-14 12:48:53.901] processSyncOpItem: Error while processing
item, status=409
* [2011-12-14 12:48:53.902] Irregularity in execution of item,
status=409
–
[2011-12-14 12:48:53.903] 'issue' - issuing command,
Cmd=Status [--][++] [->end] [->enclosing]
* [2011-12-14 12:48:53.903] Command 'Status': is 1-th counted cmd,
cmdsize(+tags needed to end msg)=38, available=149687
(maxfree=260907, freeaftersend=260869,
notUsableBufferBytes()=111220)
* [2011-12-14 12:48:53.904] WARNING: Non-OK Status 409 returned to
remote!
>From there on it all goes south ;-)
The next sync in my testing is an intentional slow sync. The server
still has the two items with the same UID, the client adds one, then
rejects the second => slow sync fails, test aborts.
Lukas, can you remind me how this was meant to work?
--
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.
10 years, 5 months
[SyncEvolution] Latest update pulls a load of KDE packages
by Daniel CLEMENT
Hello,
I am running Syncevolution under Ubuntu (not Kubuntu) Lucid. Today I had
the surprise to see that the latest update wanted to pull a great number
(58) of KDE packages, which are not even installed on my PC. The total
download is about 68Mb in size.
Here are the version numbers reported in the update manager:
(current) 1:1.2.2-2
(new) 1:1.2.99+20120228+SE+cb0b7f6+SYSYNC+5e0f652-2
I understand that Syncevolution now supports KDE (Akonadi, I believe),
but does a Ubuntu user really need all these packages? The latest
Syncevolution definitely wants them all, so I have delayed the update
for now.
TIA for advice - regards,
--
Daniel CLEMENT
10 years, 5 months
[SyncEvolution] Error 412 but sync apparently successful
by Jane Atkinson
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I did a clean install of Ubuntu 12.04, replacing my earlier version
upgraded from 11.10, and a few "interesting" things have happened with
SyncEvolution as a result.
The setup is a Nokia E63 syncing via bluetooth with Evolution, which
is connected to a Radicale server (the recent version from Git).
Initially, I set up the new Evolution profile incorrectly - wrong
names for the tasks and the memos databases. The sync refused to
finish and I had to cancel it.
Once I'd discovered and fixed those errors, the sync would not
propagate a new event from the PC. But when I deleted that event and
then reinstated it, SyncEvolution complained about the missing event
and generated a 412 error, and wouldn't complete the sync.
The next trick was to restart both the phone and the PC. Now the sync
runs successfully, which means that it propagates events in both
directions, and actually completes, but I'm still getting the 412 error.
What's the 412 error about, and how can I clear it?
Thanks
Jane Atkinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPWysBAAoJEERzSJEx033jgCIH/3W266NnbsVIh1nhAhklxVu2
P0zELQ9Zg6AQyA7TZ/Qq8csNyyAVop3L7q6cPgiHyWuiKPDEBIInkrguiLlb0Ruz
JGM1CZFsa/Pri3HNUQcFJ7uXdcTocCe3QSUyUVeoJdGNHxG0q6lAC/5A1Br0ZM2q
iSe/3WCm3ldFtw11/TicaPeaxWl3PomfoQjEuWsO6tfUxrQc3wra91aaDICP/lJN
9Up5YbvXkhJEsah079OZuoydhpUDWvtPqfyghi8PFGyvjnHKTl9pCTl4lU+pxjOX
ZQK7JDNhVbQfpGkGgmSTbLISogw9W6ryFAtuB4VrwGmCAbniL0Focvm/gRwYtlQ=
=WJVl
-----END PGP SIGNATURE-----
10 years, 5 months
[SyncEvolution] Multiple google_contacts accounts: how?
by pal@bonas.us
Hi
My problem:
i want to sync two different gmail addressbook on my phone.
I just found and installed syncevolution for meego harmattan from OveK
repo.
I found some info online on how to configure it, and i did, and it work
beautifully for one account.
For two, i'm not quite sure how to proceed.
I tried to set one account as refresh-from-server, and the second as
one-way-from-server, but it doesnt really work.
The first works fine, but then it seems that one-way-from-server tries
to incrementally update the information and thus it doesnt add anything.
I dont know how syncml works, but is there the possibility to have a
sort of sync option "add from server" instead of only "refresh", that
does the refreshing without deleting anything, thus simply
brutally adding everything on the server? (then one has to be carefull
and wipe everything prior to syncing)
Alternatively, is there a way to tell syncevolution to sync only
specific google contact groups? in such situation syncing only one
account would be enough!
thanks in advance
best,
Paul
10 years, 5 months
[SyncEvolution] Http server questions
by steve roush
I am interested in setting up a family addressbook server and have a few
questions about the syncevolution http server as documented by the HTTP server
HOWTO <http://syncevolution.org/wiki/http-server-howto> wiki page.
For each user (device), do I repeat steps 4 through 7 (from the How-To) - with
appropriate changes to parameters/variables?
I assume I can manage the entries by adding, deleting, and changing files in the
addressbook directory.
If so,
- What file format(s) are allowed?
- Will the directory and/or files be locked during a synch to prevent failures?
- Any special instructions (gotchas) regarding maintaining the files in the
addressbook?
Is this information already available & I just missed it?
thanks,
steve roush
10 years, 5 months
[SyncEvolution] Using syncevolution http server to sync Google Nexus S
by Juha Pahkala
Hello,
I'm trying to use syncevolution http server to sync may Android phone
(Nexus S) to my Evolution backend. On the Nexus I use the Funambol
SyncML client for Android. I'm using Ubuntu 11.10 distribution and I've
compiled version 1.2.2 of syncevolution using configuration:
./configure --prefix=/usr --enable-gui --enable-dbus-service
--disable-ecal --disable-ebook --disable-shared
I've tried following various HOWTO:s to no avail. From the mailing list
archives I've gatherd, that this one:
http://syncevolution.org/wiki/synchronizing-evolution-http-howto
should be the up-to-date one. Is this correct?
Anyhow, when I try to sync my phone, using a minimal config from the
HOWTO, I get the following:
jpahka@laptop:~$ rm -fr .config/syncevolution
jpahka@laptop:~$ syncevolution --configure --template SyncEvolution_Client \
> --sync-property remoteDeviceId=fac-355031040909281 \
> --sync-property username= \
> --sync-property password= \
> --source-property addressbook/uri=contacts \
> nexus
jpahka@laptop:~$
jpahka@laptop:~$ syncevo-http-server http://127.0.0.1:9000
[INFO] syncevo-http: new SyncML session for 192.168.10.52
[INFO] sync: matched deviceID fac-355031040909281 against config nexus
(/home/jpahka/.config/syncevolution/default/peers/nexus)
[INFO] sync: todo: inactive
[INFO] sync: memo: inactive
[INFO] sync: addressbook: inactive
[INFO] sync: calendar: inactive
[ERROR] sync: error code from SyncEvolution fatal error (local, status
10500): no sources active, check configuration
[INFO] sync: creating complete data backup after sync (enabled with
dumpData and needed for printChanges)
[INFO] sync:
[INFO] sync: Synchronization failed, see
/home/jpahka/.cache/syncevolution/nexus-2012-02-15-11-00/syncevolution-log.html
for details.
[INFO] sync:
Changes applied during synchronization:
[INFO] sync:
+---------------|-----------------------|-----------------------|-CON-+
[INFO] sync: | | LOCAL |
REMOTE | FLI |
[INFO] sync: | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL |
ERR | CTS |
[INFO] sync:
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: | start Wed Feb 15 11:00:49 2012, duration
0:00min |
[INFO] sync: | fatal error (local, status
10500) |
[INFO] sync:
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: First ERROR encountered: error code from SyncEvolution
fatal error (local, status 10500): no sources active, check configuration
[INFO] sync:
And indeed, there seems to be no sources active in the configuration.
Now, If I try to activate by editing the config, and try again:
jpahka@laptop:~$ nano
.config/syncevolution/default/peers/nexus/sources/addressbook/config.ini
replace the following: sync = disabled -> sync = refresh-from-server
jpahka@laptop:~$ syncevo-http-server http://127.0.0.1:9000
[INFO] syncevo-http: new SyncML session for 192.168.10.52
[INFO] sync: matched deviceID fac-355031040909281 against config nexus
(/home/jpahka/.config/syncevolution/default/peers/nexus)
[INFO] sync: todo: inactive
[INFO] sync: memo: inactive
[ERROR] sync: error code from SyncEvolution fatal error (local, status
10500): addressbook: backend 'addressbook' not supported or not
correctly configured (databaseFormat '', syncFormat '')
[INFO] sync: creating complete data backup after sync (enabled with
dumpData and needed for printChanges)
[INFO] sync:
[INFO] sync: Synchronization failed, see
/home/jpahka/.cache/syncevolution/nexus-2012-02-15-11-06/syncevolution-log.html
for details.
[INFO] sync:
Changes applied during synchronization:
[INFO] sync:
+---------------|-----------------------|-----------------------|-CON-+
[INFO] sync: | | LOCAL |
REMOTE | FLI |
[INFO] sync: | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL |
ERR | CTS |
[INFO] sync:
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: | start Wed Feb 15 11:06:34 2012, duration
0:00min |
[INFO] sync: | fatal error (local, status
10500) |
[INFO] sync:
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: First ERROR encountered: error code from SyncEvolution
fatal error (local, status 10500): addressbook: backend 'addressbook'
not supported or not correctly configured (databaseFormat '', syncFormat '')
[INFO] sync:
I'm obviously doing something wrong, but I don't know what to try out
next. How do I need to config the addressbook backend?
Thanks in advance,
Juhis
10 years, 5 months