deloptes | 3 Feb 20:05 2016
Picon

TDEPIM sync questions

Hi to all  <at> syncevolution, sorry for bothering you, but I hope one could save
me some digging by answering my questions.
I thank you in advance for the patience and support.

1.
I have an item uid: libkcal-1629736449.222 
which is returned by syncevolution (--print-items) 
as urlencoded libkcal-1629736449%2e222

Is this on purpose and why?

2.
How are the sources/databases handled - example if I have 3 calendars
(1default, 1 read only and 1 custom). Imagine I set the custom or the
default as inactive or active - how would this influence the sync?

3.
About the platform support.
Is this also picked up by the engine automatically ?
I saw something about KDE in the sync src code as well.
I would like to implement similar functionality with the tdewallet - it
sounds like nice feature to have when dealing with passwords, but I need
some hint here as I was not able to understand from the kde code what
exactly has to be done, so that syncevo can cope with it.

example

info.m_backendRule = "KDE";

4.
(Continue reading)

Patrick Ohly | 2 Feb 08:17 2016
Picon
Gravatar

Re: Syncevolution for TDE (8)

On Thu, 2016-01-28 at 21:30 +0100, deloptes wrote:
> So here is what I see when I build "shared" ("statics" - I see only
> one desc of the module)

Could it be that the code for registering datastore types is the same in
both of your .so modules and thus everything gets added twice?

Perhaps try deleting one of them. That should remove just the entry for
data stored via that module.

--

-- 
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.
Milan Crha | 19 Jan 11:25 2016
Picon

Build fails with libical 2.0.0

	Hello,
I just realized that the syncevolution fails to build against
libical 2.0.0. The problem is synevolution's extract of
icaltz-util.c/.h, referencing extern const char *ical_tzid_prefix;
This variable had been made private and there is no way to get to it
from the outside of libical (the added icaltimezone_tzid_prefix() is
not exported in the libical library).

I do not know the rationale with the icaltz-util extract in the
syncevolution, but I'd say it's time to get rid of it when new-enough
libical is used for the build. What do you think?

I placed a lame workaround in my build and defined the missing variable
with the value copied from the libical 2.0.0 sources. I know it doesn't
scale and can easily break in the future, but I expect that there will
be done a proper fix upstream meanwhile and I'll be able to drop the
workaround once the fix will be released.
	Bye,
	Milan
Stephen Paul Weber | 9 Jan 17:55 2016
Picon
Gravatar

Sync to a flat file?

Is it possible to configure syncevolution to have the "local" side be an 
ical or vcard file (for events or contacts)?  If not, does anyone know of an 
application that would allow me to sync caldav/carddav to files like this?

--

-- 
Stephen Paul Weber,  <at> singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
_______________________________________________
SyncEvolution mailing list
SyncEvolution@...
https://lists.syncevolution.org/mailman/listinfo/syncevolution
Janusz | 30 Dec 15:47 2015

Syncevolution --print-databases

Hi

 

I'm just struggling with setting up SyncEvolution with Akonadi.

Following Wiki page I stopped right after first step :)

 

entering:

syncevolution --print-databases

 

shows:

$ syncevolution loglevel=3 --print-databases
CalDAV:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

CalDAVTodo:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

CalDAVJournal:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

CardDAV:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

Evolution Address Book = Evolution Contacts = evolution-contacts:
  Osobiste (system-address-book) <default>

Evolution Calendar = evolution-calendar:
  Osobiste (system-calendar) <default>
  Urodziny i rocznice (birthdays)

Evolution Task List = Evolution Tasks = evolution-tasks:
  Osobiste (system-task-list) <default>

Evolution Memos = evolution-memos:
  Osobiste (system-memo-list) <default>

... and freezes on this not presenting Akonadi resources (akonadi runs). Seems like syncevo-dbus-helper (invoked by syncevo-dbus-server) stopped responding with no error.

 

 

Once I stop Akonadi the same command presents:

 

$ syncevolution loglevel=3 --print-databases
CalDAV:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

CalDAVTodo:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

CalDAVJournal:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

CardDAV:
  select database via absolute URL, set username/password to scan, set syncURL to base
URL if server does not support auto-discovery (<path>)

Evolution Address Book = Evolution Contacts = evolution-contacts:
  Osobiste (system-address-book) <default>

Evolution Calendar = evolution-calendar:
  Osobiste (system-calendar) <default>
  Urodziny i rocznice (birthdays)

Evolution Task List = Evolution Tasks = evolution-tasks:
  Osobiste (system-task-list) <default>

Evolution Memos = evolution-memos:
  Osobiste (system-memo-list) <default>

[ERROR] KDE Address Book = KDE Contacts = kde-contacts:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.
[ERROR] KDE Calendar = kde-calendar:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.
[ERROR] KDE Task List = KDE Tasks = kde-tasks:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.
[ERROR] KDE Memos = kde-memos:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.

... but backs to command prompt.

 

======== sys info ==================================================

$ syncevolution  --version
SyncEvolution 1.5
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncxmlrpc.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncsqlite.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncqtcontacts.
so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncmaemocal.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/synckcalextende
d.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncfile.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncecal.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncebook.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncdav.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncakonadi.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/syncactivesync.
so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/platformkde.so
Loading backend library /usr/lib/x86_64-linux-gnu/syncevolution/backends/platformgnome.s
o

========

$ cat /etc/lsb-release  
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"

May I ask for some help ?

BR

Janusz

 

 

 

_______________________________________________
SyncEvolution mailing list
SyncEvolution@...
https://lists.syncevolution.org/mailman/listinfo/syncevolution
Emanoil Kotsev | 16 Dec 10:56 2015
Picon

Syncevolution for TDE

Hi all,
couple of years ago we discussed the advantages of syncevolution and SyncML over opensync and support for KDE4.
Back then I was not sure if I'll stick to KDE, but since I preferred to stay on TDE for various reasons.
However I am missing one essential part - the sync with the mobile phone(s) in TDE, so I was wondering what I can do about it, being already convinced that the only one could help me is syncevolution.
I would also write backends for TDE if necessary, as I already did for opensync, but the integration of the code into the syncevolution build and gui are still a mystery for me.
May I ask for your opinion please - what would be the steps or send me web links to docs as I'm getting lost in the documentation?
1. Is there a way to sync with TDE  without writing backends for TDE? I ask this in the bluetooth/usb context.
2. Where do I start and what process should I follow to integrate the code into the build and in the gui?
3. In the backend part I see kde, kcalextended and akonadi for kde4 - why was that split up - I mean, I see what is in the code, but why the split?

thanks in advance

regards
_______________________________________________
SyncEvolution mailing list
SyncEvolution@...
https://lists.syncevolution.org/mailman/listinfo/syncevolution
Thorsten Leiser | 7 Oct 14:03 2015
Picon
Picon

contact sync from owncloud failed after upgrade syncevo from 1.4 to latest 1.5

Hi,

I configured the CalDAV/CardDAV bridge with the syncevo http server.
SyncEvo version is the 1.4-1ubuntu4 from Ubuntu 14.04 LTS.
The owncloud and local storage is configured like this:

syncevolution --configure \
     --template webdav \
     username=nokiaphone \
     password=***** \
     syncurl="https://owncloud.local/owncloud" \
     SSLVerifyServer=0 \
     deviceId=jongleur \
     target-config <at> owncloud

syncevolution --configure \

database=https://owncloud.local/owncloud/remote.php/caldav/calendars/nokiaphone/defaultcalendar/ 
\
     backend=caldav \
     target-config <at> owncloud calendar

syncevolution --configure \

database=https://owncloud.local/owncloud/remote.php/caldav/calendars/nokiaphone/defaultcalendar/ 
\
     backend=caldavtodo \
     target-config <at> owncloud todo

syncevolution --configure \

database=https://owncloud.local/owncloud/remote.php/carddav/addressbooks/jsmith/contacts/ 
\
     backend=carddav \
     target-config <at> owncloud contacts

syncevolution --configure \
     --template SyncEvolution_Client \
     sync=none \
     syncURL=local:// <at> owncloud \
     username= \
     password= \
     peerIsClient=1 \
     owncloud

syncevolution --configure \
     sync=refresh-from-remote \
     backend=calendar \
     database="Persönlich" \
     owncloud calendar

syncevolution --configure \
     sync=refresh-from-remote \
     backend=evolution-tasks \
     database="Persönlich" \
     owncloud todo

syncevolution --configure \
     sync=refresh-from-remote \
     backend=contacts \
     database="Persönlich" \
     owncloud contacts

Everything works fine, but I noticed a time shift of 1 hour when syncing 
calendar entries to my nokia s40.
So i decided to do an upgrade with the repository "deb 
https://download.01.org/syncevolution/apt stable main".
Now the time shift is away. ;-)
But when refreshing the contacts from my owncloud, i don't see "adding 
<John Smith>",... anymore. I see "adding <???>".
The refresh from my owncloud runs through without errors and the number 
of contacts is correct.
But when syncing now my contacts to my nokia it fails.
Is this a bug or have I to change something when upgrading syncevolution 
from 1.4 to latest 1.5?

Regards

Thorsten
_______________________________________________
SyncEvolution mailing list
SyncEvolution <at> syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution
Téglás János | 23 Sep 19:35 2015
Picon

Re: bluetooth error

Hello,
Could you help me, please, how to debug the error I described in my first message? I still don't have a clue.
J.
h_m | 23 Sep 10:34 2015
Picon

URL with ? and &

Hello,

I'm using syncevolution (Version 1.3) on my N900 for years now - great
software!

Now I want to add another sync. The server uses CGI. But the syncURL
contains ? and &, e.g. https://silly.com/cgi?user=name&bla=blub .

These special characters are interpreted by syncevolution to different
options.

How can I specify the URL in the configuration?

Thanks in advance,
Helge
Patrick Ohly | 11 Sep 08:20 2015
Picon
Gravatar

Re: Comparison was impossible.

On Thu, 2015-09-10 at 23:22 +0200, Marc Bantle wrote:
> Am Montag, den 03.08.2015, 13:51 +0200 schrieb Marc Bantle:
> > And yes, the perl system installed seems to be very "reduced", for some
> > reason.
> 
> Ubuntu touch comes with package perl-base instead of 
> perl since OTA-5 to save 17MB root-fs. Previous versions 
> had a full perl package aboard. According to the
> developers, none of the packages delivered with the base 
> system (apt-)depends on perl. 
> 
> I checked syncevolution-common and it does neither. So
> should syncevolution-common add a dependency to perl?

It's not a hard dependency, more like a recommendation.

>  Or 
> is there maybe a way to do a detailed compare without the 
> Base64 and MD5 modules from package perl.

There's a long-standing feature request to rewrite synccompare in C++,
but no-one had the interest and time to do it.

--

-- 
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.
Renato Filho | 11 Aug 01:04 2015
Gravatar

DBUS APi

Hey guys,

I am using the DBUS API for a while do to simple syncs, but now I want
to sync all remote calendars from Google(Webdav) into individual local
calendars (EDS-calendars).

I am trying to reproduce the steps of this tutorial[1] with DBUS API.
Until now I think I did it right since I can sync it manually in the
end using:
    syncevolution --sync refresh-from-remote <peer-name> <source-name>

But I fail to sync it using the DBUS API. Probably I am missing
something during the implementation. Could you guys help me with that?

These are a high level commands of the translation from command line to DBUS API

COMMAND:
Syncevolution --configure
--template Google username=uoa:ACCOUNT_ID,google-calendar
syncURL=https://apidata.googleusercontent.com/caldav/v2
target-config <at> gcal

syncevolution --configure
database=https://apidata.googleusercontent.com/caldav/v2/GOOGLECALENDARID-4bHDNLGkYkFWVKst7DdmghPsWskHk0ljAL8bYrjMMd8 <at> public.gmane.org/events
backend=caldav target-config <at> gcal workcal

DBUS:
// create a new session with name "gcal"
session = Server.StartSessionWithFlags("gcal", ["all-configs"])
// get Google Template
config = session.GetConfig("Google", true)
config[""]["username"] = QString("uoa:%1,google-caldav").arg(m_account->id());
config[""]["password"] = QString();

// use "source/calendar" as template for each remote database
template = config["source/calendar"]

// helper.listRemoteDatabase internal function that retrieves all the
remote database using
// Session.GetDatabases
foreach(db, helper.listRemoteDatabase()) {
  calendar = template
  calendar[database] = db.source
  config["source/" + normalize(db.name)] = calendar
}

// save the new config with the new sources
session->SetNamedConfig("target-config <at> gcal", config)

COMMAND:
syncevolution --configure backend=evolution-calendar database=Work
 <at> default workcal

DBUS:
// start a new session without name
session = Server.StartSessionWithFlags("", ["all-configs"])
// retrieve the  <at> default config
config = session->GetConfig(" <at> default", false);

// add a storage for each remote database with individuals local calendars
foreach(db, helper.listRemoteDatabase()) {
  config["source/" + normalize(db.name)]["backend"] = "evolution-calendar"
  config["source/" + normalize(db.name)]["database"] = localDatabase[db.source]
}
// save changes on  <at> default config
session->SetNamedConfig(" <at> default", config)

COMMAND:
syncevolution --configure --template SyncEvolution_Client
syncURL=local:// <at> gcal username= password= gcal workcal

DBUS:
// start a session without name
session = Server.StartSessionWithFlags("", ["all-configs"])
// get the tamplate config for "SyncEvolution_Client"
config = session->GetConfig("SyncEvolution_Client", true);

// link with "gcal" remote source
config[""]["syncURL"] = QString("local:// <at> gcal");
config[""]["username"] = QString();
config[""]["password"] = QString();

// save the new config with name "gcal"
session->SetNamedConfig("gcal", config)

COMMAND:
syncevolution --sync refresh-from-remote gcal workcal

DBUS:
// try to sync  invidual sources
// start a new session without name (probably the error is here I am
not sure which name to use for the session)
session = Server.StartSessionWithFlags("", [])
syncSources = {}
foreach(db, helper.listRemoteDatabase()) {
   syncSources.insert(normalize(db.name), "refresh-from-remote")
}
// start a sync for all sources
session.Sync('', syncSources)

Gmane