[SyncEvolution] DBUS APi
Renato Filho
renato.filho at canonical.com
Mon Aug 24 16:20:33 UTC 2015
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 at 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.
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 6111 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/syncevolution/attachments/20150824/7c516016/attachment.py>
More information about the SyncEvolution
mailing list