Hello List,
John here. Embedded systems engineer who is going nutz trying to get my
new/old Motorola Droid X to talk to my Ubuntu 12.04 system.
On the Droid side, I purchased the Synthesis SyncML Pro application
after having no luck with the free SyncML clients. Synthesis is using
its default settings with the server URL set to:
http://192.168.1.138:9000/syncevolution
I have set up the server according to the instructions here:
https://syncevolution.org/wiki/synchronizing-evolution-http-howto
My specific config command is
syncevolution --configure --template SyncEvolution_Client \
--sync-property remoteDeviceId=fac-A000002278B6A4 \
--sync-property username=neonjohn \
--sync-property password=********** \
--source-property addressbook/uri=contacts \
--source-property calendar/uri=events \
--source-property todo/uri=tasks \
--source-property memo/uri=notes \
default
With
syncevo-http-server -d
http://localhost:9000/syncevolution
Running, I get the following debug line when executing the above command:
[DEBUG] sync: auto sync: refreshing default
[DEBUG] sync: auto sync: default: auto sync '0', no Bluetooth, no HTTP,
1800 seconds repeat interval, 300 seconds online duration
When I run syncevolution on the command line I get the following
jgd@den:~$ syncevolution
CalDAV:
select database via relative URI (<path>)
CardDAV:
select database via relative URI (<path>)
Evolution Address Book = Evolution Contacts = evolution-contacts:
Personal (local:system) <default>
Ubuntu One (couchdb://127.0.0.1)
Evolution Calendar = evolution-calendar:
Personal (local:system) <default>
Birthdays & Anniversaries (contacts:///)
Evolution Task List = Evolution Tasks = evolution-tasks:
Personal (local:system) <default>
Evolution Memos = evolution-memos:
Personal (local:system) <default>
Show available sources:
syncevolution
The problem is that when I run a sync (currently only with contacts
enabled in Synthesis, I get a 404 error and the debug message is:
[DEBUG] twisted: 192.168.1.100 - - [07/Jul/2014:02:26:36 +0000] "POST
/syncevolutlon HTTP/1.1" 404 153 "-" "SySync Client PocketPC
PRO/V3.0.1
V3.4.0.72 Android/2.3.4 Android DROIDX"
Using a packet sniffer, I see that Synthesis sends the following request
0000 78 45 c4 31 37 1b f8 7b 7a 5a 6b 3c 08 00 45 00 xE.17..{zZk<..E.
0010 00 bc 6a da 40 00 40 06 4b 23 c0 a8 01 64 c0 a8 ..j.@.@.K#...d..
0020 01 8a bc 0b 23 28 eb b4 2c 3b 9d 1f af 60 80 18 ....#(..,;...`..
0030 0b 68 06 0b 00 00 01 01 08 0a 01 a7 4f 54 17 b6 .h..........OT..
0040 95 37 76 6e 64 2e 73 79 6e 63 6d 6c 2d 64 65 76 .7vnd.syncml-dev
0050 69 6e 66 2b 77 62 78 6d 6c 00 01 01 00 00 54 6e inf+wbxml.....Tn
0060 57 03 2e 2f 64 65 76 69 6e 66 31 32 00 01 01 01 W../devinf12....
0070 01 46 4b 03 33 00 01 4f 03 32 30 31 00 01 54 6e .FK.3..O.201..Tn
0080 57 03 63 6f 6e 74 61 63 74 73 00 01 01 67 57 03 W.contacts...gW.
0090 2e 2f 63 6f 6e 74 61 63 74 73 00 01 01 5a 00 01 ./contacts...Z..
00a0 45 4f 03 32 30 31 34 30 37 30 37 54 30 32 32 37 EO.20140707T0227
00b0 35 33 5a 00 01 01 55 03 33 30 30 30 30 30 30 30 53Z...U.30000000
00c0 00 01 01 01 01 00 00 12 01 01 ..........
So it looks like Synthesis is requesting ./contacts.
Syncevolution replies with
0000 f8 7b 7a 5a 6b 3c 78 45 c4 31 37 1b 08 00 45 00 .{zZk<xE.17...E.
0010 01 64 3a 59 40 00 40 06 7a fc c0 a8 01 8a c0 a8 .d:Y@.@.z.......
0020 01 64 23 28 bc 0b 9d 1f af 60 eb b4 2c c3 80 18 .d#(.....`..,...
0030 05 36 2f 16 00 00 01 01 08 0a 17 b6 95 38 01 a7 .6/..........8..
0040 4f 54 48 54 54 50 2f 31 2e 31 20 34 30 34 20 4e OTHTTP/1.1 404 N
0050 6f 74 20 46 6f 75 6e 64 0d 0a 44 61 74 65 3a 20 ot Found..Date:
0060 4d 6f 6e 2c 20 30 37 20 4a 75 6c 20 32 30 31 34 Mon, 07 Jul 2014
0070 20 30 32 3a 32 37 3a 32 35 20 47 4d 54 0d 0a 43 02:27:25 GMT..C
0080 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 ontent-Length: 1
0090 35 33 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 53..Content-Type
00a0 3a 20 74 65 78 74 2f 68 74 6d 6c 3b 20 63 68 61 : text/html; cha
00b0 72 73 65 74 3d 75 74 66 2d 38 0d 0a 53 65 72 76 rset=utf-8..Serv
00c0 65 72 3a 20 54 77 69 73 74 65 64 57 65 62 2f 31 er: TwistedWeb/1
00d0 31 2e 31 2e 30 0d 0a 0d 0a 0a 3c 68 74 6d 6c 3e 1.1.0.....<html>
00e0 0a 20 20 3c 68 65 61 64 3e 3c 74 69 74 6c 65 3e . <head><title>
00f0 34 30 34 20 2d 20 4e 6f 20 53 75 63 68 20 52 65 404 - No Such Re
0100 73 6f 75 72 63 65 3c 2f 74 69 74 6c 65 3e 3c 2f source</title></
0110 68 65 61 64 3e 0a 20 20 3c 62 6f 64 79 3e 0a 20 head>. <body>.
0120 20 20 20 3c 68 31 3e 4e 6f 20 53 75 63 68 20 52 <h1>No Such R
0130 65 73 6f 75 72 63 65 3c 2f 68 31 3e 0a 20 20 20 esource</h1>.
0140 20 3c 70 3e 4e 6f 20 73 75 63 68 20 63 68 69 6c <p>No such chil
0150 64 20 72 65 73 6f 75 72 63 65 2e 3c 2f 70 3e 0a d resource.</p>.
0160 20 20 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c </body>.</html
0170 3e 0a >.
So it looks like SyncEvolution is not finding the Evolution databases.
I suspect the problem is that Canonical moved them from their "standard"
Evolution locations (they're bad about that!) but I can't figure out how
to specify the proper locations.
After spending a couple of days on this I gotta punt and ask for help!
If I get really lucky, someone on this list has already gotten Ubuntu
and SyncEvolution to work properly. If not, hopefully someone can point
me in the right direction. At this point I'm stumped.
TIA,
John
--
John DeArmond
Tellico Plains, Occupied TN
http://www.fluxeon.com <-- THE source for induction heaters
http://www.neon-john.com <-- email from here
http://www.johndearmond.com <-- Best damned Blog on the net
PGP key:
wwwkeys.pgp.net: BCB68D77