Re: [SyncEvolution] syncevolution and a radicale caldev server
by Patrick Ohly
On Fri, 2012-02-17 at 15:14 +0100, Gregor Horvath wrote:
> Am Fri, 17 Feb 2012 11:12:52 +0100
> schrieb Patrick Ohly <patrick.ohly(a)intel.com>:
>
> > On Tue, 2012-02-14 at 15:57 +0100, Patrick Ohly wrote:
> > > But as Radicale is an example where multiple databases are possible
> > > (in
> > > contrast to Google), it's worth spelling out explicitly how such a
> > > config can be created:
> >
> > [...]
> >
> > William, did this work?
> >
> > Perhaps you (or someone else) has the time to turn the instructions
> > into a proper HOWTO? I created a place holder Wiki page for it here:
> > http://syncevolution.org/wiki/synchronizing-radicale
> >
> >
William sent me some debug logs, but then ran out of time. So I've
installed Radicale myself and found an issue that'll break
SyncEvolution: items reported by the server include double slashes in
the path.
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<response>
<href>/public_user/calendar/calendar_1//1234567890(a)dummy.ics</href>
^^
SyncEvolution will then use /1234567890(a)dummy.ics as path in future
requests, which Radicale rejects with either 404 or 401 errors.
I'll work around that in SyncEvolution. I'm not sure whether there is a
solution with 1.2.2.
Have you considered Calypso (http://keithp.com/blogs/calypso/)? I don't
know yet whether it works with SyncEvolution; if there is interest, then
I will try it.
> I am trying to do the same thing (with one calender to start with)
> N900 <-> radicale but it did not work, because it seems the Maemo
> calendar is not found:
>
> http://pastebin.com/huMXDsEx
>
> What I am doing wrong?
You have additional spaces after your \ character. The slash must be at
the end of each line.
--
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.
6 years, 2 months
[SyncEvolution] Can't get syncevolution to work with korganizer
by Johannes Meier
Hi, I'm in the process of migrating an aging but perfectly working setup of iCal
/ Sony-Ericsson k610i / OSX 10.5 to korganizer / k610i / Ubuntu 14.03 LTS.
However, syncevolution does not seem to find akonadi.
==end goal==
In the end goal, I want to synchronize the logical union of 10 icalendar files
(managed by korganizer on Ubuntu, some 3000 events in total), one of which is
Google calendar, over Bluetooth with the phone. The phone is actually a
Sony-Ericsson k510i with a Feisar plugin
(http://www.feisar.com/isync_notes.php), but it works reliably with iCal just
like a k610i. There is no internet (and no direct sync with Google) on the
phone for several reasons.
==current goal==
As an intermediate milestone, I'd like to sync one of korganizer's icalendars
with the phone.
==steps done==
Ubuntu uses the dpkg sources provided by Canonical.
So far, I've successfully paired the phone with the computer, and I transferred
its calendar data into evolution (unidirectionally) with the legacy sonyericsson
backend.
Things came crashing down when I tried to make syncevolution talk to akonadi, as
per https://syncevolution.org/wiki/kde-akonadi
syncevolution --print-databases
[...]
KDE Address Book = KDE Contacts = kde-contacts:
Personal Contacts (akonadi:?collection=2) <default>
KDE Calendar = kde-calendar:
Geburtstage und Jahrestage (akonadi:?collection=17) <default>
akonadi_ical_resource_24 (akonadi:?collection=7)
[...]
KDE Task List = KDE Tasks = kde-tasks:
[...]
KDE Memos = kde-memos:
[...]
I configured it with (all one line):
syncevolution --configure keyring=KDE addressbook/backend=kde-contacts
addressbook/database=akonadi:?collection=2 calendar/backend=kde-calendar
calendar/database=akonadi:?collection=7 todo/backend=kde-tasks
todo/database=akonadi:?collection=7 @default addressbook calendar todo
==testing done==
These commands succesfully export the selected calendar:
syncevolution --export - @default addressbook
syncevolution --print-items @default calendar
However, when I try to sync data from the computer to the phone
(unidirectionally, specified within the app), either with the "synchronization"
app or with this command,
SYNCEVOLUTION_DEBUG=1 syncevolution Meie-K510i
then no data actually lands on the phone. Furthermore, if I watch akonadi's logs
by starting it on a console,
akonadictl start 2>&1 |tee akonandi-log.txt
then calling syncevolution doesn't produce any output (as opposed to just about
any action in korganizer).
The log file is here: http://lpaste.net/109883
tjb@Zweithirn:~$ SYNCEVOLUTION_DEBUG=1 syncevolution Meie-K510i[DEBUG 00:00:00]
SuspendFlags: (re)activating, currently inactive
[DEBUG 00:00:00] SuspendFlags: activating signal handler(s) with fds 12->11
[DEBUG 00:00:00] SuspendFlags: catch signal 2
[DEBUG 00:00:00] SuspendFlags: catch signal 15
[INFO 00:00:01] addressbook: inactive
[INFO 00:00:01] calendar: inactive
[INFO 00:00:01] todo: inactive
[INFO 00:00:02] Server sending SAN
[ERROR 00:00:02] OBEX Request 2 got a failed response Internal server error
[ERROR 00:00:02] GLib: Source ID 7 was not found when attempting to remove it
[INFO 00:00:02] Server sending SAN
[INFO 00:00:03] memo: inactive
[ERROR 00:00:03] remote, status 400
[INFO 00:00:03] creating complete data backup after sync (enabled with dumpData
and needed for printChanges)
Synchronization failed, see /home/tjb/.cache/syncevolution/meie_+k510i-2014-08-2
3-16-21/syncevolution-log.html for details.
Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
| | LOCAL | REMOTE | FLI |
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| memo | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| remote, status 400 |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| start Sa 23 Aug 2014 16:21:45 CEST, duration 0:03min |
| remote, status 400 |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
First ERROR encountered: OBEX Request 2 got a failed response Internal server er
ror
[ERROR 00:00:03] GLib: Source ID 10 was not found when attempting to remove it
[DEBUG 00:00:03] SuspendFlags: deactivating fds 12->11
[DEBUG 00:00:03] SuspendFlags: close m_receiverFD 11
[DEBUG 00:00:03] SuspendFlags: close m_senderFD 12
[DEBUG 00:00:03] SuspendFlags: done with deactivation
==fallback==
I can buy an Android handset if need be.
If it turns out that Linux cannot sync the handset, then I'd begrudingly accept
Windows. Apple have removed iSync from OSX, so a new Mac is not an option.
Google Calendar and similar cloud solutions are not an option because the
handheld should not have internet access for various reasons.
Thank you for your help,
Johannes
6 years, 6 months
Re: [SyncEvolution] Setup of SyncML to WebDAV synchronization bridge: Problem with SSLVerifyServer switch in configuration command
by Patrick Ohly
Hello!
To summarize the thread from earlier this year, there were three
problems with using SabreDAV:
1. configuring with SSL verification turned off
2. actually finding the right URL for the address book collection
3. creating events (possibly related to not using the right URL)
On Mon, 2014-08-18 at 15:02 +0200, Helge Kraak wrote:
> #######
>
>
> When I apply as third command (no addressbook at the end of the
> command)
> syncevolution --configure SSLVerifyServer=False
> --template SyncEvolution_Client --sync-property
> remoteDeviceId=ST23K3J5I4JX username=admin
> password=admin --source-property addressbook/uri=addressbook
> sync=two-way Palm-TH55@webdav
>
> IT RETURNS
>
>
> [INFO] addressbook: okay
> [INFO] calendar: looking for databases...
> [INFO] calendar: backend failed: error code from SyncEvolution
> authorization failed (remote, status 401): calendar: syncURL not
> configured and username admin does not contain a domain
> [INFO] memo: looking for databases...
> [INFO] memo: backend failed: error code from SyncEvolution
> authorization failed (remote, status 401): memo: syncURL not
> configured and username admin does not contain a domain
> [INFO] todo: looking for databases...
> [INFO] todo: backend failed: error code from SyncEvolution
> authorization failed (remote, status 401): todo: syncURL not
> configured and username admin does not contain a domain
>
>
> AND THE COMMAND
> syncevolution --print-config -q @webdav addressbook
>
> RETURNS:
>
> "[addressbook]
> backend = CardDAV
> database =
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/
> # databaseFormat =
> databaseUser = admin
> databasePassword = admin"
>
> -> THIS IS THE SAME RESULT AS WITH THE FORMER SYNCEVOLUTION VERSION IN
> JANUARY
Looks okay. To get rid of the attempts to configure calendar/memo/todo,
add "addressbook" after "Palm-TH55@webdav".
> ######
>
>
> BUT I SEE A DIFFERENT RESULT HERE:
> When I try your combined command (I have to
> include SSLVerifyServer=False again to make it work)
>
> syncevolution --configure SSLVerifyServer=False \
> --template SyncEvolution_Client \
> remoteDeviceId=PN70M9J5V7JX username=admin password=admin \
> sync=two-way \
> databaseUser=admin \
> databasePassword=admin \
> backend=carddav \
> database=https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/ \
> Palm-TH55@webdav addressbook
>
> IT RETURNS
>
> "[INFO] addressbook: looking for databases...
> [INFO] addressbook: start database search at
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/, from sync config 'palm-th55@webdav', source config 'addressbook', database='https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/'
> [INFO] addressbook: okay"
>
>
> INSTEAD OF
> "[INFO] addressbook: looking for databases...
> [INFO] addressbook: no database to synchronize
> [ERROR] addressbook: no database to synchronize"
>
>
> WITH THE FORMER SYNCEVOLUTION VERSION IN JANUARY
> AND FOR
>
> syncevolution --print-config -q @webdav addressbook
>
> IT RETURNS
>
> "[addressbook]
> backend = CardDAV
> database =
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/
> # databaseFormat =
> databaseUser = admin
> databasePassword = admin"
Might be okay. I'm unsure whether
"https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/" is the correct URL. It looks suitable to SyncEvolution, at least.
Does this lead to a configuring that your phone can use?
> ###########
>
>
> FOLLOWING YOUR ADVICES FROM YOUR EMAIL FROM JANUARY 22, 2014 I
> REPEATED THE COMMAND ABOVE WITH ADJUSTED DATABASE SETTINGS:
>
>
> 1. VARIANT:
>
>
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/
> INSTEAD OF
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/
> syncevolution --configure SSLVerifyServer=False \
> --template SyncEvolution_Client \
> remoteDeviceId=PN70M9J5V7JX username=admin password=admin \
> sync=two-way \
> databaseUser=admin \
> databasePassword=admin \
> backend=carddav \
> database=https://localhost:443/sabredav/addressbookserver.php/addressbooks/ \
> Palm-TH55@webdav addressbook
>
> RETURNS
>
> "[INFO] addressbook: looking for databases...
> [INFO] addressbook: start database search at
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/,
> from sync config 'palm-th55@webdav', source config 'addressbook',
> database='https://localhost:443/sabredav/addressbookserver.php/addressbooks/'
> [INFO] addressbook: okay"
>
>
> AND
> syncevolution --print-config -q @webdav addressbook
>
> RETURNS
>
>
> "[addressbook]
> backend = CardDAV
> database =
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/
> # databaseFormat =
> databaseUser = admin
> databasePassword = admin"
This looks wrong. I doubt that the parent collection really is an
address book collection.
Can you run "SYNCEVOLUTION_DEBUG=1 syncevolution --daemon=no
--print-databases backend=carddav SSLVerifyServer=False
syncURL=https://localhost:443/sabredav/addressbookserver.php/addressbooks/ username=admin password=admin" and attach the output?
I want to see what SabreDAV says about the content of this collection.
> #####
>
>
> 2. VARIANT:
>
>
> https://localhost:443/sabredav/addressbookserver.php/
> INSTEAD OF
> https://localhost:443/sabredav/addressbookserver.php/addressbooks/admin/
> syncevolution --configure SSLVerifyServer=False \
> --template SyncEvolution_Client \
> remoteDeviceId=PN70M9J5V7JX username=admin password=admin \
> sync=two-way \
> databaseUser=admin \
> databasePassword=admin \
> backend=carddav \
> database=https://localhost:443/sabredav/addressbookserver.php/ \
> Palm-TH55@webdav addressbook
>
> RETURNS
>
> "[INFO] addressbook: looking for databases...
> [INFO] addressbook: start database search at
> https://localhost:443/sabredav/addressbookserver.php/, from sync
> config 'palm-th55@webdav', source config 'addressbook',
> database='https://localhost:443/sabredav/addressbookserver.php/'
> [INFO] addressbook: okay"
>
>
> AND
> syncevolution --print-config -q @webdav addressbook
>
> RETURNS
>
>
> "[addressbook]
> backend = CardDAV
> database = https://localhost:443/sabredav/addressbookserver.php/
> # databaseFormat =
> databaseUser = admin
> databasePassword = admin"
Same here.
--
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.
6 years, 6 months
[SyncEvolution] SyncML update
by NeonJohn
SyncML is a commercial app for Android that comes as close to the old
Palm Pilot experience as I could ever expect. I loathe commercial,
closed source software but in this case I had no choice.
So I bought it from the Play store. As you may recall, it took quit a
bit of work to get my configuration running. The guy behind the SyncML,
Beat Forster was incredibly helpful in getting his side to work.
My database are large and old, dating back to my first Palm Pilot days.
Around 800 contacts and 1500 calendar events. I keep my journal and my
expenses in the calendar so it grows rapidly.
SyncML got the job done but was sloooow. Over 5 minutes for a sync.
Needless to say I didn't use the AutoSync feature!
An update became available and I let it install. Everything came to a
halt. The application seemed to lock up. After rebooting the phone and
a few other things, I contacted Beat again.
Turns out the upgrade had a major improvement in that it now cleans up
the datasets as much as possible, eliminating duplicates, removing
illegal characters from fields and so on. The problem was his first
algorithm was sloooow.
Beat suggested that start a sync and just let it run. I did so. 5
hours later,the cleanup finished. SyncEvolution had long since timed
out (default is 5 minutes) so the sync didn't complete. The second time
through it took only about an hour but SyncEvolution had again timed out
so the actual sync didn't happen.
I changed the time-out period to an hour
(~/.config/syncevolution/default/peers/default/config.ini, field name
ReTryDuration) and got a sync to complete.
Thus started about a 2 week cycle of Beat refining the code, me testing,
reloading Evolution databases from backups to duplicate the problems and
so on.
The results are amazing. A sync takes about 30 seconds. He's had solid
ware going for several days now. Yesterday I turned on AutoSync and set
the interval to 15 seconds. So far perfect execution and no dataset
corruption that I can see.
Android has no concept of a to-do list or notes so SyncML has editors
for those built-in. Very Palm Pilot-like.
So to summarize, if you have large contacts or calendars, do NOT install
the current upgrade. Wait a few days for the NEXT upgrade to become
available.
This the first commercial software I've ever recommended. Instead of
screwing around with the FOSS stuff out there (which I spent a lot of
time trying to get to work), just buy the app, install it and forget
about it.
Finally, I want to thank Beat for his outstanding tech support. He
dropped everything for several days to make this work. Practically
unheard of these days.
I'm still uncomfortable with non-FOSS software but given this level of
support, I can go with it.
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
6 years, 7 months
[SyncEvolution] Trying to replace Funambol with OVI
by Daniel CLEMENT
Hello list members,
As of August the Funambol client ceased working on my phone (Nokia E72)
(Syncevolution is OK). I guess Funambol are dropping Symbian support and
I was looking for a substitute.
Nokia OVI works fine on the phone, but it gives me an error in
Syncevolution (1.4.1 Debian):
[INFO] SoupTransport Failure:
https://sync.ovi.com/services/syncml?s=24ba5a5069604888b8e05bf3eae5c8ec&s... via libsoup: Gone
then it times out.
Can that be solved, or has OVI become incompatible?
I'd prefer OVI over others because it has schedule capability on the
phone (like Funambol had, and unlike other manually-setup syncs).
TIA - best regards,
--
Daniel CLEMENT
6 years, 7 months
[SyncEvolution] Best way to start the server
by NeonJohn
Hi all,
I have SyncEvolution and my DroidX happily chatting with each other but
now I have another question. How to start the server automatically at
boot time.
I made an /etc/rc.d script that started the server just fine but it
starts the server in the root context. I found that out by watching
SyncML on my Droid delete everything because, of course, there are no
Evolution databases for root.
I tried starting it using Gnome's start-up tasks options. That also
started the server but it could not access access tasks nor notes
(access denied).
So now I start it manually after reboot with
nohup sudo syncevo-http-server -d http://localhost:9000/syncevolution &
Which works perfectly but requires me to remember to do it each time I boot.
Any suggestions on how to automate this?
Thanks,
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
6 years, 7 months
[SyncEvolution] API specification
by Balakrishna, Sandesh
Hi,
I am new to SyncEvolution. I am trying to make simple application which uses syncevolution for synchronizing all contacts.
But I could not find any API specification, for using syncevolution. Could you please help me in finding API specification.
I tried with test code available at syncevolution-1.4\syncevolution-1.4\test but I could not find API of syncevolution.
Please help me.
Thanks and Regards
Sandesh,
Ph: 9164682461
6 years, 7 months
[SyncEvolution] API Specification
by Balakrishna, Sandesh
Hi,
I am new to SyncEvolution. I am trying to make simple application which uses syncevolution for synchronizing all contacts.
But I could not find any API specification, for using syncevolution. Could you please help me in finding API specification.
I tried with test code available at syncevolution-1.4\syncevolution-1.4\test but I could not find API of syncevolution.
Please help me.
Thanks and Regards
Sandesh,
Ph: 9164682461
6 years, 7 months