Evolution Configuration

From Sw

Jump to: navigation, search

Contents

[edit] SyncEvolution

ScheduleWorld and SyncEvolution developers have collaborated well for a long time. Interoperability between these two products is excellent. Using SyncEvolution you can sync Evolution, the iPhone, and Nokia n770/n800/n810 devices with ScheduleWorld.

You can find it at the SyncEvolution Home Page.

[edit] ScheduleWorld Is The Best Way To Sync Evolution

ScheduleWorld synchronizes Evolution (using SyncEvolution) better than any other service (June 18, 2009).
ScheduleWorld accomplishes this by providing excellent synchronization support for iCalendar 2.0 and vCard 3.0. Synchronizing with ScheduleWorld means you will be preserving and synchronizing many more event/todo/contact attributes than other services that do not support iCalendar 2.0 and vCard 3.0.

[edit] Installation

The SyncEvolution web site has the info you'll need: Installation.

[edit] Configuration

The most up to date information for using ScheduleWorld with SyncEvolution can be found here.

Warning If you're syncing multiple Evolution accounts/machines using the same ScheduleWorld username you MUST make sure each spds/syncml/config.txt has a different devID value

[edit] Syncing Multiple Calendars

Q: How do I sync my work and home calendars? For example, let's say you're syncing your home calendar (which is the first calendar in ScheduleWorld) and now also want to sync your work calendar (which you created in ScheduleWorld with the "Add Calendar" button).

A (for SyncEvolution <= 0.7): You need to copy the full .sync4j/evolution/scheduleworld directory hierarchy, then edit the copied syncURL to point to a single calendar, and change the evolutionsource to match your other calendar name.

  1. cp -a .sync4j/evolution/scheduleworld .sync4j/evolution/scheduleworld_work
  2. edit .sync4j/evolution/scheduleworld_work/spds/sources/calendar_1/config.txt and change the evolutionsource to your other calendar name (maybe you called it work).
  3. edit .sync4j/evolution/scheduleworld_work/spds/syncml/config.txt and change syncURL to sync a specific calendar. The Advanced Configuration page shows the format.
  4. in the same file, also change the value of "deviceId" to a string not used in any of your other configurations. Using the same deviceId or the same pair of server/client database in different configurations can cause unexpected slow syncs! Slow syncs recreate deleted items and can lead to duplicates.
  5. remove all other sources from .sync4j/evolution/scheduleworld_work/spds/sources

B (for SyncEvolution >= 0.8): SyncEvolution 0.8 introduces new configuration options which simplify the creation of new configurations. With 0.8 or later, use the following steps:

  1. if you haven't done so yet: create a configuration which synchronizes your home data: syncevolution --configure --sync-property username=your_SW_account_name --sync-property password=your_SW_account_password scheduleworld
  2. create another configuration for your work calendar: syncevolution --configure --template scheduleworld --sync-property username=your_SW_account_name --sync-property password=your_SW_account_password --sync-property clientAuthType=basic --sync-property 'syncURL=http://sync.scheduleworld.com/funambol/ds?cal=your_SW_calendar_ID' --source-property evolutionsource=name_of_your_work_calendar scheduleworld_work calendar

The name of your work calendar is the one printed when invoking "syncevolution" without arguments. The SW calendar ID is the number shown in the calendar sections on your preferences page.

After these steps, you can sync the new calendar with syncevolution scheduleworld_work.

[edit] SyncEvolution Reports 'no changes' - But I Deleted A Contact!

'no changes' means no changes to your local data. You will see this message if you haven't received any new/updated/deleted items from ScheduleWorld - even if you created/updated/deleted items in Evolution.

To be sure everything is working as expected, you can look at your client.log file in /tmp/SyncEvolution* or just confirm via the ScheduleWorld website.

[edit] Syncing ScheduleWorld, Evolution and Microsoft Exchange

Apparently some folks have had some success syncing Evolution and Exchange using the Evolution Exchange connector 2.22.3. A patch is required: http://bugzilla.gnome.org/show_bug.cgi?id=546934 and requires you to manually compile Evolution until the patch is accepted and part of the regular release.

This seems to work well for contacts, but there is still a problem with syncing calendar events.

[edit] reading contact pas-id-471F20A40000003C: EBookStatus returned 9

According to Patrick Ohly this is an error on the Evolution side. A contact which was said to exist cannot be read. If you are using a local address book it might be that it is corrupted. Patrick has suggested this may work:

  1. Create a new address book called new. (Any name will do)
  2. Copy and paste your Evolution contacts into the 'new' address book.
  3. Change your SyncEvolution configuration so that it uses the 'new' address book:
syncevolution --configure --source-property evolutionsource=new scheduleworld addressbook
  1. Sync.
  2. If it works, delete your old address book.

[edit] Scheduling Synchronization Using Cron

Here is an example of how this would work in Linux:

54 9 * * * env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT; syncevolution'

[edit] The Recommended Synchronization Service For Intel Moblin

Patrick Ohly is the lead engineer at Intel working on SyncEvolution for Intel's Moblin project. He has publicly stated on Thu Jun 4 10:14:14 CDT 2009:

My recommendation is to test against ScheduleWorld by default. It works
better with SyncEvolution than all other servers that I have tested with
so far because of its very complete support for vCard 3.0 and iCalendar 2.0. 

Source: http://lists.moblin.org/pipermail/syncevolution/2009-June/000000.html

[edit] Known Issues

[edit] Updating/Deleting Specific Recurrence Instances In Evolution Don't Sync

When doing a slow sync, this works as expected. It's an Evolution Data Server backend bug: LAST-MODIFIED not updated when removing occurrence, affects SyncEvolution http://bugzilla.moblin.org/show_bug.cgi?id=1805

[edit] Notes Missing A Subject In Evolution Sync Incorrectly

This has been fixed in SyncEvolution 0.9.

Personal tools
Advertisement
Advertisement