[SyncEvolution] How to select the evolution target calendar
by Matthias Urlichs
Hello,
I have one small problem: I cannot select which local Evolution calendar
SyncEvolution actually talks to.
Apparently it uses the first entry in
the /apps/evolution/calendar/sources gconf entry that it can find. Since
the order of these entries isn't changeable and I need to separate
"work" from "home" calendar entries (with separate mobiles to sync to
…), I'd like some way to change that.
Either this is not possible yet, or I'm blind and didn't find it in the
documentation …?
Otherwise, thanks for the excellent tool; it works with our Oracle
calendar like a charm (using the values in the Oracle branch).
-- Matthias
10 years, 7 months
[SyncEvolution] SyncEvolution in Fremantle
by Patrick Ohly
Hello Maemo!
It has been a while that I posted anything here. Ironically, since I
started working on SyncEvolution full-time beginning of this year, I
seem to have *less* time left compared to the previous years when I did
it in my spare time ;-)
For those who haven't heard about it:
* SyncEvolution is a SyncML client synchronizing PIM data with
SyncML servers [1]. The versions <= 0.8.1 are available for
Maemo [2] and work with the builtin address book and the Dates
calendar.
* This year it became the sync solution in Moblin and switched to
the Synthesis SyncML engine [3], with the goal of using that
also as SyncML server on a desktop [4].
* We have direct client to server synchronization working in the
development branch, without depending on closed third party
software [5].
I'd love to see the latest SyncEvolution releases packaged properly for
Maemo, and so do users [6]. 0.8.1 still works fine on the older Maemo
releases it is available for, but 0.9 has several relevant improvements,
for example synchronization with Google Contacts and a GTK GUI.
I'm posting here because I hope that an interested developer or
maintainer will step up and take over packaging for Maemo. You can be
sure that this will have full support when it comes to merging patches
and including the Maemo port as first-class citizen in releases.
Another interesting area to work on would be support for other local
databases. GPE has been asked for several times. There is a plugable
backend API which would allow that, if a developer is interested [7].
That article is a bit dated, but still relevant. 0.9.1 (about to be
released) has several improvements that make writing a backend simpler,
for example it is not necessary to have your own
vCard/iCalendar/vCalendar encoder/decoder. Instead, it is possible to
exchange properties directly with the internal Synthesis format [8]. The
sqlite backend demonstrates that. For an introduction to the Synthesis
engine see [9].
I'm cross-posting to the SyncEvolution list to keep the other
SyncEvolution developers informed. If there's anything that I can help
with, please don't hesitate to reply here or contact me directly.
[1] http://syncevolution.org
[2] http://maemo.org/downloads/product/OS2008/syncevolution/
[3] http://www.estamos.de/blog/2009/05/13/syncevolution-09-beta-1-full-time-p...
[4] http://syncevolution.org/development/direct-synchronization-aka-syncml-se...
[5] http://article.gmane.org/gmane.comp.mobile.syncevolution/434
[6] http://talk.maemo.org/showthread.php?t=32515
[7] http://www.estamos.de/blog/2008/08/04/syncml-client-do-it-yourself-style/
[8] http://article.gmane.org/gmane.comp.mobile.syncevolution/136
[9] http://syncevolution.org/development/pim-data-synchronization-why-it-so-hard
--
Bye, Patrick Ohly
--
Patrick.Ohly(a)gmx.de
http://www.estamos.de/
11 years
Re: [SyncEvolution] Sync with Fremantle
by Chen, Congwu
I got a N900 device today and looked at this issue, now I can sync correctly for contacts via SyncEvolution and N900 SyncML client over bluetooth.
The failure is actually caused by the phone, I suspect the phone only accepts URI="Contacts" for contacts (case sensitive, I have not checked other data types but you can guess something like "Calendar", "Agenda"..)
For your configuration, you may have to do the following trick without updating the code:
syncevolution --configure \
--source-property type=addressbook:text/x-vcard \
--source-property uri=Contacts
MyPhone contacts
And sync via:
syncevolution MyPhone contacts
You can also checkout the latest code (currently on phone branch, I will merge it to master after my collegue's review), which you need configure like this:
syncevolution --configure \
--source-property uri=Contacts \
MyPhone addressbook
And sync via:
syncevolution MyPhone addressbook
Any problem feel free to let me know.
BTW:
I am also tring to sync as a client with the N900 SyncML server, however it failed at this moment. There might also be some configuration secrets... Any hints is welcome.
>-----Original Message-----
>From: Yves-Alexis Perez [mailto:corsac@debian.org]
>Sent: Sunday, December 27, 2009 6:51 PM
>To: Chen, Congwu
>Subject: Re: [SyncEvolution] SyncEvolution in Fremantle
>
>On 23/12/2009 09:05, Chen, Congwu wrote:
>> Firstly,
>> You may set up the log level a little large since I have not see more detailed
>logging.
>> (should be in peers/delirium/config.ini:loglevel, I think set it to 5 is enough).
>
>Ok, I've set it to 6, just in case.
>>
>> Secondly, the error is a little mysterious from my point. What I can guess is
>during the
>> second send from SyncEvolution to the phone, the underlying transport
>failed unexpectedly,
>> it's not the phone reset the connection but perhaps is it sends back some
>illegal data. Maybe
>> we will finally need to resolve to openobex debug message for help.
>
>I've attached the new log. The error seems to be:
>
>[2009-12-27 11:45:50.868] ObexTransprotAgent: Underlying transport error
>[2009-12-27 11:45:50.868] Aborted with unexpected result (20015)
>–[2009-12-27 11:45:50.868] 'SessionAbort' - Aborting Session,
>Status=408, ProblemSource=LOCAL [--][++] [->end]
>[2009-12-27 11:45:50.868] WARNING: Aborting Session with Reason Status
>408 (LOCAL problem) ***
>[2009-12-27 11:45:50.868] --------------- Ignoring all commands in this
>message (after 0 sec. request processing, 0 sec. total) with Status 514
>(0=none) from here on
>–[2009-12-27 11:45:50.868] End of 'SessionAbort' [->top]
>>
>> Is there anything visible on the phone during the sync process? Is there any
>manual on how
>> to configure the phone correctly to sync with a SyncML server over
>Bluetooth?
>
>Nothing is displayed on the phone. I'm not sure I can get debug logs on
>the device but I'm not sure anything is sent on radio.
>
>Regards (and merry Christmas),
>--
>Yves-Alexis
--
Best Regards,
Congwu
11 years
[SyncEvolution] 'priority' property is lost by mobical server
by Zhu, Yongsheng
Hi, Björn
Our nightly test shows that this property in 'todo' is lost by mobical server these days. Could you please have a check?
Client_Sync_itodo20_testCopy.A.test.dat | Client_Sync_itodo20_testCopy.B.test.dat
only in left file < > only in right file
-------------------------------------------------------------------------------
BEGIN:VCALENDAR BEGIN:VCALENDAR
VERSION:2.0 VERSION:2.0
BEGIN:VTODO BEGIN:VTODO
SUMMARY:do me SUMMARY:do me
DESCRIPTION:to be done<<REVISION>> DESCRIPTION:to be done<<REVISION>>
PRIORITY:[...] <
END:VTODO END:VTODO
END:VCALENDAR END:VCALENDAR
-------------------------------------------------------------------------------
See a log(the end of this page shows the difference):
http://runtests.syncevolution.org/2009-12-23-22-00/head-evolution-testing...
thanks.
Regards,
Yongsheng
11 years
[SyncEvolution] Configuration Template
by Chen Congwu
Hi,
Before 1.0, we have only http clients, the configuration template is fixed for
several ready tested service providers.
Now several new synchronization scenario is possible and need corresponding
corresponding configuration templates:
1) Synchronization with phone (or with a SyncML client over Bluetooth)
SyncEvolution as the server needs the configuration for the phone before
syncing. More specifically it is typlically a "server alerted sync" using
bluetooth transport.
The configuration for different phones might be different (For example,
some Nokia phones need to configure a calendar+todo superdatastore, the
database uri on the phones maybe also different).
So how will we manage the configuration templates? Per Manufacture+OS
version? i.e. Nokia_S40, Nokia_S60, ...
We also need a general configuration to possibly work with a SyncEvolution based
client. (Server alerted + server side configuration)
2) Synchronization with another SyncML client over HTTP
This corresponds to Moblin Bug #7838, we need to generate the server side
configuration for the particular client during first-time sync. The
template is a "client-inited+server side" configuration template. Note for
different SyncML clients the configuration might also be different but this will
not target at this time, so a template workable for a SyncEvolution based SyncML
client is good enough.
3) Synchronization with another SyncML server over HTTP
In additon to the built in sync service providers, at least we need a
configuration template for a SyncEvolution based SyncML server. (Client inited +
client side configuration)
4) Synchronization with another SyncML server over Bluetooth
OpenSync is a possible target (and SyncEvolution as well as some phones also
have built-in SyncML server support). At least a general configuration template
workable with SyncEvolution based server is needed. (Server alerted + client
side configuration).
To summarize, we need:
Server Alerted + server side configuraiton
Server side configuration for different phones
Server Alerted + client side configuraiton
Client inited + server side configuration
Client inited + client side configuraiton
--
Regards,
Chen Congwu
Moblin China Development
11 years
[SyncEvolution] First trial with nokia 6300: sync failed
by Jason Grant
Hi All,
I'm trying to sync with my Nokia 6300 (S40) using syncevolution-0.9.2
+1.0alpha1, but am encountering:
invalid tag <client> at line 1392 col 2
as shown in [1] below. I configured syncevolution using the bash logic
shown at [2] below. The log is given at [3].
I will happily troubleshoot or test further, but thought I would mail
the list first to seek guidance on things like:
* is this a familiar issue?
* does my config look OK? (I used a real mac not the one shown)
* is 0.9.2+1.0alpha1 still OK for phone testing?
* does this sound like a synthesis issue?
* Sounds like an XML issue: can I turn up logging somewhere to see the
XML over obex?
etc. Suggestions appreciated.
Jason.
------------------------------------
[1] Sync stdout
[jas@talby syncevolution]$ ~/local/se/bin/syncevolution phone
invalid tag <client> at line 1392 col 2
Local data changes to be applied to server during synchronization:
*** todo ***
no changes
*** addressbook ***
no changes
*** calendar ***
no changes
*** memo ***
no changes
[INFO] Server sending SAN 1
[ERROR] OBEX Request 2 got a failed response Forbidden
[ERROR] TransportException while sending SAN package
[ERROR] Server Alerted Sync init failed
Synchronization failed, see /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/syncevolution-log.html for details.
Changes applied during synchronization:
+---------------|-------ON CLIENT-------|-------ON SERVER-------|-CON-+
| | rejected / total | rejected / total | FLI |
| Source | NEW | MOD | DEL | NEW | MOD | DEL | CTS |
+---------------+-------+-------+-------+-------+-------+-------+-----+
| addressbook | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0 |
| item(s) in database backup: 47 before sync, 47 after it |
+---------------+-------+-------+-------+-------+-------+-------+-----+
| calendar | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0 |
| item(s) in database backup: 40 before sync, 40 after it |
+---------------+-------+-------+-------+-------+-------+-------+-----+
| memo | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0 |
| item(s) in database backup: 12 before sync, 12 after it |
+---------------+-------+-------+-------+-------+-------+-------+-----+
| todo | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0/0 | 0 |
| item(s) in database backup: 40 before sync, 40 after it |
+---------------+-------+-------+-------+-------+-------+-------+-----+
| start Sat Dec 19 15:18:42 2009, duration 0:01min |
| synchronization failed (status code 500) |
+---------------+-------+-------+-------+-------+-------+-------+-----+
Changes applied to client during synchronization:
*** todo ***
no changes
*** addressbook ***
no changes
*** calendar ***
no changes
*** memo ***
no changes
------------------------------------
[2] Setup
export MacAddress="stripped for this email"
TEMPLATE=scheduleworld
L=/home/jas/local/se
B=$L/bin/syncevolution
export LD_LIBRARY_PATH=$L/lib
$B --configure --sync-property syncURL="obex-bt://$MacAddress" --sync-property enableWBXML=1 --sync-property remoteIdentifier='PC Suite' --sync-property PeerIsClient=1 --sync-property username= --sync-property password= --template $TEMPLATE phone
$B --configure --source-property type=addressbook:text/x-vcard phone addressbook
$B --configure --source-property type=calendar:text/x-vcalendar phone calendar
$B --configure --source-property type=calendar:text/x-vcalendar phone todo
for i in calendar addressbook todo memo; do
$B --configure --source-property uri=$i phone $i
done
$B --configure --source-property type=virtual:text/x-vcalendar --source-property evolutionsource=calendar,todo phone super
for i in calendar todo; do
$B --configure --source-property uri=super phone $i
done
------------------------------------
[3] Log
[2009-12-18 23:18:42.111] CreateContext SyncEvolution// => 0
[2009-12-18 23:18:42.111] Module_Capabilities:
PLATFORM:Linux
DLL:true
MINVERSION:V1.0.6.0
MANUFACTURER:SyncEvolution
DESCRIPTION:SyncEvolution Synthesis DB Plugin
plugin_datastore_str:no
plugin_datastore_key:yes
ITEM_AS_KEY:yes
plugin_datablob:no
[2009-12-18 23:18:42.112] Module_PluginParams
Engine=01060100
[2009-12-18 23:18:42.112] SyncML server account:
[2009-12-18 23:18:42.112] client: SyncEvolution 0.9.2+1.0alpha1 for workstation
[2009-12-18 23:18:42.112] device ID: sc-pim-4cef1bd7-f3d6-4d7b-9e96-7df72a2e7821
[2009-12-18 23:18:42.235] creating /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/todo.before
[2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions for /tmp/orbit-jas
[2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions for /tmp/orbit-jas-a86888f8
[2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions for /tmp/orbit-jas-282828a8
[2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions for /tmp/orbit-jas-2828a868
[2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions for /tmp/orbit-jas-a8688878
[2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions for /tmp/orbit-jas
[2009-12-18 23:18:42.265] /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/todo.before created
[2009-12-18 23:18:42.265] creating /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/addressbook.before
[2009-12-18 23:18:42.289] /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/addressbook.before created
[2009-12-18 23:18:42.290] creating /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/calendar.before
[2009-12-18 23:18:42.318] /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/calendar.before created
[2009-12-18 23:18:42.318] creating /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/memo.before
[2009-12-18 23:18:42.324] /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/memo.before created
[2009-12-18 23:18:43.353] Connecting Bluetooth device with address "stripped for this email" and channel 11
[2009-12-18 23:18:43.353] ObexTransportAgent: creating obex event 8
[2009-12-18 23:18:43.572] OBEX progress
[2009-12-18 23:18:43.613] OBEX Transport: get header who from connect response with value SYNCML-SYNC
[2009-12-18 23:18:43.613] ObexTransportAgent: removing obex event 8
[2009-12-18 23:18:43.613] Server sending SAN 1
[2009-12-18 23:18:43.613] ObexTransport send is called
[2009-12-18 23:18:43.613] ObexTransportAgent: creating obex event 9
[2009-12-18 23:18:43.614] OBEX progress
[2009-12-18 23:18:43.900] OBEX Request 2 got a failed response Forbidden
[2009-12-18 23:18:43.901] ObexTransportAgent: removing obex event 9
[2009-12-18 23:18:43.901] TransportException while sending SAN package
[2009-12-18 23:18:43.901] Server Alerted Sync init failed
11 years
[SyncEvolution] testing phone sync
by Jussi Kukkonen
Hi Congwu, all,
I was trying out the merged phone stuff with my Nokia N85, which means
"Symbian 9.3 / S60 3rd edition, feature pack 2" if I've understood the
Nokia versioning correctly.
I used the notes at http://syncevolution.org/development/sync-phone but
got a bit stumped when I just received "Forbidden" from the phone. I've
only enabled Memo so far.
# [2009-12-20 00:47:51.268] Connecting Bluetooth device with address
00:22:FC:1B:EA:C2 and channel 6
# [2009-12-20 00:47:51.475] OBEX progress
# [2009-12-20 00:47:51.494] OBEX Transport: get header who from connect
response with value SYNCML-SYNC
# [2009-12-20 00:47:51.494] Server sending SAN 1
# [2009-12-20 00:47:51.494] ObexTransport send is called
# [2009-12-20 00:47:51.494] OBEX progress
# [2009-12-20 00:47:51.574] OBEX progress
# [2009-12-20 00:47:51.616] OBEX Request 3 got a failed response Forbidden
# [2009-12-20 00:47:51.616] TransportException while sending SAN package
# [2009-12-20 00:47:51.617] Server Alerted Sync init failed
The setup for sync in N85 includes defining a "profile", which icludes
the following [my test values in brackets]:
* version (1.1 | 1.2)
[1.2]
* checkboxes for different data types (including but not limited
to calendar, contacts and notes)
[notes enabled]
* database names for the data types
["notes" for notes, matching syncevolution setup]
* Data bearer (Internet | Bluetooth)
[Bluetooth]
* host name
[I guessed BT address -- this might be used for only http syncs]
* server ID (possibly "RemoteIdentifier"?)
[currently empty]
* username and password
[empty]
* Allow sync requests
[automatically]
Any suggestions on setup changes?
- Jussi
11 years