Hi guys any advice how to call the sync for the specific source from DBUS?
I believe the only missing command is: "syncevolution --sync
refresh-from-remote gcal workcal"
Thanks
On Mon, Aug 24, 2015 at 1:20 PM, Renato Filho
<renato.filho(a)canonical.com> wrote:
Hi Patrick,
Based on my debugs, looks like it is trying to sync all sources
instead of the source specified on the sync command.
I created a python script that reproduce my C++ code. This should help
to understand the problem.
To use it:
Create config files: "python3 main.py config <account-id>"
Sync source: "python3 main.py sync <source-name>"
Thanks
On Fri, Aug 14, 2015 at 9:59 AM, Patrick Ohly <patrick.ohly(a)intel.com> wrote:
> On Mon, 2015-08-10 at 20:04 -0300, Renato Filho wrote:
>> 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.
>
> How does it fail? Running "syncevo-dbus-server" with --dbus-verbosity=3
> and then capturing the D-Bus traffic with "dbus-monitor" would be
> useful.
>
> And/or can you turn this into a fully functional Python script that I
> can run here to reproduce the issue?
>
> --
> 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.
>
>
>