From vincent.lambert9 at free.fr Thu May 11 07:12:01 2017 From: vincent.lambert9 at free.fr (Vincent) Date: Thu, 11 May 2017 09:12:01 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: Message-ID: <1967648520.173168831.1494486721244.JavaMail.root@zimbra79-e14.priv.proxad.net> Do you have any idea? =/ ----- Mail original ----- > De: "Vincent Lambert" > ?: syncevolution at syncevolution.org > Envoy?: Lundi 1 Mai 2017 22:34:55 > Objet: Re: [SyncEvolution] "Comparison was impossible" > > Le 01/05/2017 ? 20:00, Patrick Ohly a ?crit : > > Okai... so I first did a refresh-from-remote sync, but if I delete a > contact from my phone, a regular sync didn't delete it on the server. > So > I tried with a complete reset of my config and database. I've deleted > all my contacts from the graphical app and did the slow sync. I have > always the same problem =( > > Here is the log: > > :~$ syncevolution owncloud contacts > [WARNING] owncloud: ignoring username , it is not needed > [INFO] @default/9frfrenchholiday: inactive > [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive > [INFO] @default/addressbook: inactive > [INFO] @default/calendar: inactive > [INFO] @default/memo: inactive > [INFO] @default/todo: inactive > [WARNING] owncloud: ignoring username , it is not needed > [INFO @owncloud] target side of local sync ready > [INFO @owncloud] @owncloud/addressbook: inactive > [INFO @owncloud] @owncloud/calendar: inactive > [INFO @owncloud] @owncloud/memo: inactive > [INFO @owncloud] @owncloud/todo: inactive > [INFO @owncloud] @owncloud/contacts: using configured > database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts > [INFO @owncloud] @owncloud/contacts: starting normal sync, two-way > (peer > is server) > [INFO] @default/contacts: starting normal sync, two-way (peer is > client) > [INFO] creating complete data backup of datastore contacts before > sync > (enabled with dumpData and needed for printChanges) > @default data changes to be applied during synchronization: > *** @default/contacts *** > Comparison was impossible. > > [INFO] @default/contacts: started > [INFO] @default/contacts: sent 1 > [INFO @owncloud] @owncloud/contacts: started > [INFO @owncloud] @owncloud/contacts: updating "Chlo?" > [INFO @owncloud] @owncloud/contacts: received 1/1 > [INFO] @default/contacts: normal sync done successfully > [INFO @owncloud] @owncloud/contacts: normal sync done successfully > > Synchronization successful. > > Changes applied during synchronization (@owncloud): > +---------------|-----------------------|-----------------------|-CON-+ > > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > [INFO] creating complete data backup after sync (enabled with > dumpData > and needed for printChanges) > > Synchronization successful. > > Changes applied during synchronization: > +---------------|-----------------------|-----------------------|-CON-+ > > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > Data modified @default during synchronization: > *** @default/contacts *** > Comparison was impossible. > > > Thank you very much for you help and time! > _______________________________________________ > SyncEvolution mailing list > SyncEvolution at syncevolution.org > https://lists.syncevolution.org/mailman/listinfo/syncevolution _______________________________________________ SyncEvolution mailing list SyncEvolution at syncevolution.org https://lists.syncevolution.org/mailman/listinfo/syncevolution From patrick.ohly at intel.com Thu May 11 08:31:28 2017 From: patrick.ohly at intel.com (Patrick Ohly) Date: Thu, 11 May 2017 10:31:28 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <1967648520.173168831.1494486721244.JavaMail.root@zimbra79-e14.priv.proxad.net> References: <1967648520.173168831.1494486721244.JavaMail.root@zimbra79-e14.priv.proxad.net> Message-ID: <1494491488.1179.97.camel@intel.com> On Thu, 2017-05-11 at 09:12 +0200, Vincent wrote: > Do you have any idea? =/ Have you seen my latest reply in the mail thread? You didn't respond to that, so perhaps it got lost. I'm attaching it again. -- 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 -------------- An embedded message was scrubbed... From: Patrick Ohly Subject: Re: [SyncEvolution] "Comparison was impossible" " Date: Mon, 01 May 2017 20:00:39 +0200 Size: 4691 URL: From vincent.lambert9 at free.fr Thu May 11 13:45:07 2017 From: vincent.lambert9 at free.fr (Vincent) Date: Thu, 11 May 2017 15:45:07 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <1494491488.1179.97.camel@intel.com> Message-ID: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> ----- Mail original ----- > De: "Patrick Ohly" > ?: "Vincent" > Cc: syncevolution at syncevolution.org > Envoy?: Jeudi 11 Mai 2017 10:31:28 > Objet: Re: [SyncEvolution] "Comparison was impossible" > > Have you seen my latest reply in the mail thread? You didn't respond > to > that, so perhaps it got lost. I'm attaching it again. > Yes I just anwsered you in the next message, here is the message: I first did a refresh-from-remote sync, but if I delete a contact from my phone, a regular sync didn't delete it on the server. So I tried with a complete reset of my config and database. I've deleted all my contacts from the graphical app and did the slow sync. I have always the same problem =( Here is the log: :~$ syncevolution owncloud contacts [WARNING] owncloud: ignoring username , it is not needed [INFO] @default/9frfrenchholiday: inactive [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive [INFO] @default/addressbook: inactive [INFO] @default/calendar: inactive [INFO] @default/memo: inactive [INFO] @default/todo: inactive [WARNING] owncloud: ignoring username , it is not needed [INFO @owncloud] target side of local sync ready [INFO @owncloud] @owncloud/addressbook: inactive [INFO @owncloud] @owncloud/calendar: inactive [INFO @owncloud] @owncloud/memo: inactive [INFO @owncloud] @owncloud/todo: inactive [INFO @owncloud] @owncloud/contacts: using configured database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts [INFO @owncloud] @owncloud/contacts: starting normal sync, two-way (peer is server) [INFO] @default/contacts: starting normal sync, two-way (peer is client) [INFO] creating complete data backup of datastore contacts before sync (enabled with dumpData and needed for printChanges) @default data changes to be applied during synchronization: *** @default/contacts *** Comparison was impossible. [INFO] @default/contacts: started [INFO] @default/contacts: sent 1 [INFO @owncloud] @owncloud/contacts: started [INFO @owncloud] @owncloud/contacts: updating "Chlo?" [INFO @owncloud] @owncloud/contacts: received 1/1 [INFO] @default/contacts: normal sync done successfully [INFO @owncloud] @owncloud/contacts: normal sync done successfully Synchronization successful. Changes applied during synchronization (@owncloud): +---------------|-----------------------|-----------------------|-CON-+ | | @owncloud | @default | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | two-way, 0 KB sent by client, 0 KB received | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Mon May 1 22:19:38 2017, duration 0:14min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ [INFO] creating complete data backup after sync (enabled with dumpData and needed for printChanges) Synchronization successful. Changes applied during synchronization: +---------------|-----------------------|-----------------------|-CON-+ | | @default | @owncloud | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | | two-way, 0 KB sent by client, 0 KB received | | item(s) in database backup: 140 before sync, 140 after it | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Mon May 1 22:19:37 2017, duration 0:16min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ Data modified @default during synchronization: *** @default/contacts *** Comparison was impossible. From patrick.ohly at intel.com Fri May 12 07:13:29 2017 From: patrick.ohly at intel.com (Patrick Ohly) Date: Fri, 12 May 2017 09:13:29 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> References: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> Message-ID: <1494573209.1179.198.camel@intel.com> On Thu, 2017-05-11 at 15:45 +0200, Vincent wrote: > > ----- Mail original ----- > > De: "Patrick Ohly" > > ?: "Vincent" > > Cc: syncevolution at syncevolution.org > > Envoy?: Jeudi 11 Mai 2017 10:31:28 > > Objet: Re: [SyncEvolution] "Comparison was impossible" > > > > Have you seen my latest reply in the mail thread? You didn't respond > > to > > that, so perhaps it got lost. I'm attaching it again. > > > > > Yes I just anwsered you in the next message, here is the message: That mail didn't reach the list. > I first did a refresh-from-remote sync, but if I delete a > contact from my phone, a regular sync didn't delete it on the server. So > I tried with a complete reset of my config and database. I've deleted > all my contacts from the graphical app and did the slow sync. I have > always the same problem =( I lost track of what "the same problem" is. Are we still talking about the "Comparison was impossible" part or something else? > [INFO] @default/contacts: started > [INFO] @default/contacts: sent 1 > [INFO @owncloud] @owncloud/contacts: started > [INFO @owncloud] @owncloud/contacts: updating "Chlo?" > [INFO @owncloud] @owncloud/contacts: received 1/1 > [INFO] @default/contacts: normal sync done successfully > [INFO @owncloud] @owncloud/contacts: normal sync done successfully So "Chlo?" was considered "modified" locally and thus updated on the OwnCloud side. Directly after a "refresh from remote" that indeed shouldn't happen. -- 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. From vincent.lambert9 at free.fr Sat May 13 12:33:36 2017 From: vincent.lambert9 at free.fr (Vincent Lambert) Date: Sat, 13 May 2017 14:33:36 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <1494573209.1179.198.camel@intel.com> References: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> <1494573209.1179.198.camel@intel.com> Message-ID: Le 12/05/2017 ? 09:13, Patrick Ohly a ?crit : > On Thu, 2017-05-11 at 15:45 +0200, Vincent wrote: >> ----- Mail original ----- >>> De: "Patrick Ohly" >>> ?: "Vincent" >>> Cc: syncevolution at syncevolution.org >>> Envoy?: Jeudi 11 Mai 2017 10:31:28 >>> Objet: Re: [SyncEvolution] "Comparison was impossible" >>> >>> Have you seen my latest reply in the mail thread? You didn't respond >>> to >>> that, so perhaps it got lost. I'm attaching it again. >>> >> >> Yes I just anwsered you in the next message, here is the message: > That mail didn't reach the list. > >> I first did a refresh-from-remote sync, but if I delete a >> contact from my phone, a regular sync didn't delete it on the server. So >> I tried with a complete reset of my config and database. I've deleted >> all my contacts from the graphical app and did the slow sync. I have >> always the same problem =( > I lost track of what "the same problem" is. Are we still talking about > the "Comparison was impossible" part or something else? I understood that "Comparison was impossible" if often present in the logs, so my main problem is I can't delete a contact on my phone, sync, and get it deleted on the server, effectively after the refresh-from-remote sync you recommanded. > >> [INFO] @default/contacts: started >> [INFO] @default/contacts: sent 1 >> [INFO @owncloud] @owncloud/contacts: started >> [INFO @owncloud] @owncloud/contacts: updating "Chlo?" >> [INFO @owncloud] @owncloud/contacts: received 1/1 >> [INFO] @default/contacts: normal sync done successfully >> [INFO @owncloud] @owncloud/contacts: normal sync done successfully > So "Chlo?" was considered "modified" locally and thus updated on the > OwnCloud side. Directly after a "refresh from remote" that indeed > shouldn't happen. Yes, I think that is correct. I don't know why syncevolution behave like that. From patrick.ohly at intel.com Sat May 13 18:56:22 2017 From: patrick.ohly at intel.com (Patrick Ohly) Date: Sat, 13 May 2017 20:56:22 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: References: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> <1494573209.1179.198.camel@intel.com> Message-ID: <1494701782.1179.221.camel@intel.com> On Sat, 2017-05-13 at 14:33 +0200, Vincent Lambert wrote: > Le 12/05/2017 ? 09:13, Patrick Ohly a ?crit : > > On Thu, 2017-05-11 at 15:45 +0200, Vincent wrote: > >> ----- Mail original ----- > >>> De: "Patrick Ohly" > >>> ?: "Vincent" > >>> Cc: syncevolution at syncevolution.org > >>> Envoy?: Jeudi 11 Mai 2017 10:31:28 > >>> Objet: Re: [SyncEvolution] "Comparison was impossible" > >>> > >>> Have you seen my latest reply in the mail thread? You didn't respond > >>> to > >>> that, so perhaps it got lost. I'm attaching it again. > >>> > >> > >> Yes I just anwsered you in the next message, here is the message: > > That mail didn't reach the list. > > > >> I first did a refresh-from-remote sync, but if I delete a > >> contact from my phone, a regular sync didn't delete it on the server. So > >> I tried with a complete reset of my config and database. I've deleted > >> all my contacts from the graphical app and did the slow sync. I have > >> always the same problem =( > > I lost track of what "the same problem" is. Are we still talking about > > the "Comparison was impossible" part or something else? > I understood that "Comparison was impossible" if often present in the > logs, so my main problem is I can't delete a contact on my phone, sync, > and get it deleted on the server, effectively after the > refresh-from-remote sync you recommanded. > > >> [INFO] @default/contacts: started > >> [INFO] @default/contacts: sent 1 > >> [INFO @owncloud] @owncloud/contacts: started > >> [INFO @owncloud] @owncloud/contacts: updating "Chlo?" > >> [INFO @owncloud] @owncloud/contacts: received 1/1 > >> [INFO] @default/contacts: normal sync done successfully > >> [INFO @owncloud] @owncloud/contacts: normal sync done successfully > > So "Chlo?" was considered "modified" locally and thus updated on the > > OwnCloud side. Directly after a "refresh from remote" that indeed > > shouldn't happen. > > Yes, I think that is correct. I don't know why syncevolution behave like > that. So the "Chloe" contact was the one you deleted after the "refresh-from-remote" sync? I bet it wasn't actually deleted when you marked it as deleted on the phone. Let's verify that hypothesis. Use "syncevolution --print-items @default contacts". It'll give you an ID string for each contact. Then use "syncevolution --export - @default contacts " to dump the contact to your console. Example (for my local setup, with "addressbook" instead of "contacts"): $ syncevolution --print-items @default addressbook pas-id-5406E78700000000: John Doe $ syncevolution --export - @default addressbook pas-id-5406E78700000000 BEGIN:VCARD VERSION:3.0 UID:pas-id-5406E78700000000 PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.47//EN REV:2014-09-03T12:03:08Z(1) N:Doe;John;;; FN:John Doe X-EVOLUTION-FILE-AS:Doe\, John END:VCARD Is there anything in your "Chloe" contact that might mark it as "deleted"? If unsure, then dump it directly after the refresh-from-remote and again after deleting it in the UI. If you can still dump it after deleting, then it definitely wasn't deleted for real. -- 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. From vincent.lambert9 at free.fr Sun May 14 19:02:18 2017 From: vincent.lambert9 at free.fr (Vincent Lambert) Date: Sun, 14 May 2017 21:02:18 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <1494701782.1179.221.camel@intel.com> References: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> <1494573209.1179.198.camel@intel.com> <1494701782.1179.221.camel@intel.com> Message-ID: <033bfff8-48f3-d8f2-9361-92271d2555fc@free.fr> Le 13/05/2017 ? 20:56, Patrick Ohly a ?crit : > So the "Chloe" contact was the one you deleted after the > "refresh-from-remote" sync? Absolutely! > I bet it wasn't actually deleted when you marked it as deleted on the > phone. > > Let's verify that hypothesis. > > Use "syncevolution --print-items @default contacts". It'll give you an > ID string for each contact. Then use "syncevolution --export - @default > contacts " to dump the contact to your console. > > Example (for my local setup, with "addressbook" instead of "contacts"): > > $ syncevolution --print-items @default addressbook > pas-id-5406E78700000000: John Doe > > $ syncevolution --export - @default addressbook pas-id-5406E78700000000 > BEGIN:VCARD > VERSION:3.0 > UID:pas-id-5406E78700000000 > PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.47//EN > REV:2014-09-03T12:03:08Z(1) > N:Doe;John;;; > FN:John Doe > X-EVOLUTION-FILE-AS:Doe\, John > END:VCARD > > Is there anything in your "Chloe" contact that might mark it as > "deleted"? > > If unsure, then dump it directly after the refresh-from-remote and again > after deleting it in the UI. If you can still dump it after deleting, > then it definitely wasn't deleted for real. > Okay, let's try that. Firstly, I've created a contact on the server. Then on the phone, I use a refresh-from-remote sync and your commands to export a contact in the console: $ syncevolution --export - @default contacts pas-id-5918A52200000119 BEGIN:VCARD VERSION:3.0 PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.47//EN REV:20170514T184149Z N:AAA;AAA;;; FN:AAA AAA X-EVOLUTION-FILE-AS:AAA\, AAA NICKNAME:AAA EMAIL;TYPE=WORK:aaa at aaa.aa X-MOZILLA-HTML:FALSE UID:pas-id-5918A52200000119 END:VCARD Now, I delete it from the Contacts app and retry: $ syncevolution --export - @default contacts pas-id-5918A52200000119 BEGIN:VCARD VERSION:3.0 X-DELETED-AT:2017-05-14T20:47:23 UID:pas-id-5918A52200000119 PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.47//EN REV:2017-05-14T18:47:23Z(423) N:AAA;AAA;;; FN:AAA AAA X-EVOLUTION-FILE-AS:AAA\, AAA NICKNAME:AAA EMAIL;TYPE=WORK:aaa at aaa.aa X-MOZILLA-HTML:FALSE END:VCARD As you suspected, the delete operation doesn't work properly. But there is a second problem. Let's try a normal sync, to see what happen next: $ syncevolution owncloud contacts [WARNING] owncloud: ignoring username , it is not needed [INFO] @default/9frfrenchholiday: inactive [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive [INFO] @default/addressbook: inactive [INFO] @default/calendar: inactive [INFO] @default/memo: inactive [INFO] @default/todo: inactive [WARNING] owncloud: ignoring username , it is not needed [INFO @owncloud] target side of local sync ready [INFO @owncloud] @owncloud/addressbook: inactive [INFO @owncloud] @owncloud/calendar: inactive [INFO @owncloud] @owncloud/memo: inactive [INFO @owncloud] @owncloud/todo: inactive [INFO @owncloud] @owncloud/contacts: using configured database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts [INFO @owncloud] @owncloud/contacts: starting normal sync, two-way (peer is server) [INFO] @default/contacts: starting normal sync, two-way (peer is client) [INFO] creating complete data backup of datastore contacts before sync (enabled with dumpData and needed for printChanges) @default data changes to be applied during synchronization: *** @default/contacts *** Comparison was impossible. [INFO] @default/contacts: started [INFO] @default/contacts: sent 1 [INFO @owncloud] @owncloud/contacts: started [INFO @owncloud] @owncloud/contacts: updating "AAA AAA" [INFO @owncloud] @owncloud/contacts: received 1/1 [INFO] @default/contacts: normal sync done successfully [INFO @owncloud] @owncloud/contacts: normal sync done successfully Synchronization successful. Changes applied during synchronization (@owncloud): +---------------|-----------------------|-----------------------|-CON-+ | | @owncloud | @default | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | two-way, 0 KB sent by client, 0 KB received | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Sun May 14 20:49:51 2017, duration 0:10min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ [INFO] creating complete data backup after sync (enabled with dumpData and needed for printChanges) Synchronization successful. Changes applied during synchronization: +---------------|-----------------------|-----------------------|-CON-+ | | @default | @owncloud | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | | two-way, 0 KB sent by client, 0 KB received | | item(s) in database backup: 141 before sync, 141 after it | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Sun May 14 20:49:50 2017, duration 0:11min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ Data modified @default during synchronization: *** @default/contacts *** Comparison was impossible. Whatever the problem is, the contact has been updated on the server but no information has changed. I can see it in another client (Thunderbird). Finally, I try again a refresh-from-remote, that is supposed to completely reset the local problem on the phone, and surprise: $ syncevolution --sync refresh-from-remote owncloud contacts [WARNING] owncloud: ignoring username , it is not needed [INFO] @default/9frfrenchholiday: inactive [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive [INFO] @default/addressbook: inactive [INFO] @default/calendar: inactive [INFO] @default/memo: inactive [INFO] @default/todo: inactive [WARNING] owncloud: ignoring username , it is not needed [INFO @owncloud] target side of local sync ready [INFO @owncloud] @owncloud/addressbook: inactive [INFO @owncloud] @owncloud/calendar: inactive [INFO @owncloud] @owncloud/memo: inactive [INFO @owncloud] @owncloud/todo: inactive [INFO @owncloud] @owncloud/contacts: using configured database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts [INFO @owncloud] @owncloud/contacts: starting first time sync from client (peer is server) [INFO @owncloud] @owncloud/contacts: sent 141/141 [INFO] @default/contacts: starting slow sync from client (peer is client) [INFO] creating complete data backup of datastore contacts before sync (enabled with dumpData and needed for printChanges) @default data changes to be applied during synchronization: *** @default/contacts *** Comparison was impossible. [INFO] @default/contacts: deleting "AAA AAA" [...] [INFO] @default/contacts: adding "AAA AAA" [...] [INFO] @default/contacts: received 141 [INFO @owncloud] @owncloud/contacts: started [INFO] @default/contacts: slow sync done successfully [INFO @owncloud] @owncloud/contacts: first time sync done successfully Synchronization successful. Changes applied during synchronization (@owncloud): +---------------|-----------------------|-----------------------|-CON-+ | | @owncloud | @default | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 0 | 0 | 0 | 141 | 0 | 0 | 0 | 0 | | refresh-from-local, 44 KB sent by client, 0 KB received | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Sun May 14 20:51:55 2017, duration 0:28min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ [INFO] creating complete data backup after sync (enabled with dumpData and needed for printChanges) Synchronization successful. Changes applied during synchronization: +---------------|-----------------------|-----------------------|-CON-+ | | @default | @owncloud | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 141 | 0 | 141 | 0 | 0 | 0 | 0 | 0 | 0 | | refresh-from-remote, 0 KB sent by client, 44 KB received | | item(s) in database backup: 141 before sync, 141 after it | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Sun May 14 20:51:54 2017, duration 0:30min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ Data modified @default during synchronization: *** @default/contacts *** Comparison was impossible. The AAA contact can't be seen in the Contact app at this time! Even if you previous command reveal it in the database: $ syncevolution --print-items owncloud contacts pas-id-5918A76400000233: AAA AAA [...] By the way I can see a lot of contacts I've deleted from the phone that are always on the server and printed by this command. From patrick.ohly at intel.com Sun May 14 19:21:23 2017 From: patrick.ohly at intel.com (Patrick Ohly) Date: Sun, 14 May 2017 21:21:23 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <033bfff8-48f3-d8f2-9361-92271d2555fc@free.fr> References: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> <1494573209.1179.198.camel@intel.com> <1494701782.1179.221.camel@intel.com> <033bfff8-48f3-d8f2-9361-92271d2555fc@free.fr> Message-ID: <1494789683.1179.236.camel@intel.com> On Sun, 2017-05-14 at 21:02 +0200, Vincent Lambert wrote: > Now, I delete it from the Contacts app and retry: > > $ syncevolution --export - @default contacts pas-id-5918A52200000119 > BEGIN:VCARD > VERSION:3.0 > X-DELETED-AT:2017-05-14T20:47:23 ... > N:AAA;AAA;;; > FN:AAA AAA ... > END:VCARD > > As you suspected, the delete operation doesn't work properly. I've never seen this X-DELETED-AT before. As you are using an Ubuntu Phone, with sync and datastore provided by Canonical, I suggest that you bring this up with them. This looks like an Ubuntu Phone specialty to me. > But there > is a second problem. Let's try a normal sync, to see what happen next: > $ syncevolution owncloud contacts > [WARNING] owncloud: ignoring username , it is not needed > [INFO] @default/9frfrenchholiday: inactive > [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive > [INFO] @default/addressbook: inactive > [INFO] @default/calendar: inactive > [INFO] @default/memo: inactive > [INFO] @default/todo: inactive > [WARNING] owncloud: ignoring username , it is not needed > [INFO @owncloud] target side of local sync ready > [INFO @owncloud] @owncloud/addressbook: inactive > [INFO @owncloud] @owncloud/calendar: inactive > [INFO @owncloud] @owncloud/memo: inactive > [INFO @owncloud] @owncloud/todo: inactive > [INFO @owncloud] @owncloud/contacts: using configured > database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts > [INFO @owncloud] @owncloud/contacts: starting normal sync, two-way (peer > is server) > [INFO] @default/contacts: starting normal sync, two-way (peer is client) > [INFO] creating complete data backup of datastore contacts before sync > (enabled with dumpData and needed for printChanges) > @default data changes to be applied during synchronization: > *** @default/contacts *** > Comparison was impossible. > > [INFO] @default/contacts: started > [INFO] @default/contacts: sent 1 > [INFO @owncloud] @owncloud/contacts: started > [INFO @owncloud] @owncloud/contacts: updating "AAA AAA" > [INFO @owncloud] @owncloud/contacts: received 1/1 > [INFO] @default/contacts: normal sync done successfully > [INFO @owncloud] @owncloud/contacts: normal sync done successfully > > Synchronization successful. > > Changes applied during synchronization (@owncloud): > +---------------|-----------------------|-----------------------|-CON-+ > | | @owncloud | @default | FLI | > | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | contacts | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | > | two-way, 0 KB sent by client, 0 KB received | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | start Sun May 14 20:49:51 2017, duration 0:10min | > | synchronization completed successfully | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > [INFO] creating complete data backup after sync (enabled with dumpData > and needed for printChanges) > > Synchronization successful. > > Changes applied during synchronization: > +---------------|-----------------------|-----------------------|-CON-+ > | | @default | @owncloud | FLI | > | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | contacts | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | > | two-way, 0 KB sent by client, 0 KB received | > | item(s) in database backup: 141 before sync, 141 after it | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | start Sun May 14 20:49:50 2017, duration 0:11min | > | synchronization completed successfully | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > Data modified @default during synchronization: > *** @default/contacts *** > Comparison was impossible. > > > > > > Whatever the problem is, the contact has been updated on the server but > no information has changed. I'm not following. What problem? If this is the first two-way sync after "deleting" the contact via the phone UI, then the sync above makes perfect sense. The contact has been modified (by adding the X-DELETED-AT) and that's why it gets sent to the server, including that extension. But as it is non-standard, the server doesn't do anything with it. > I can see it in another client > (Thunderbird). Finally, I try again a refresh-from-remote, that is > supposed to completely reset the local problem on the phone, and surprise: > > $ syncevolution --sync refresh-from-remote owncloud contacts > [WARNING] owncloud: ignoring username , it is not needed > [INFO] @default/9frfrenchholiday: inactive > [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive > [INFO] @default/addressbook: inactive > [INFO] @default/calendar: inactive > [INFO] @default/memo: inactive > [INFO] @default/todo: inactive > [WARNING] owncloud: ignoring username , it is not needed > [INFO @owncloud] target side of local sync ready > [INFO @owncloud] @owncloud/addressbook: inactive > [INFO @owncloud] @owncloud/calendar: inactive > [INFO @owncloud] @owncloud/memo: inactive > [INFO @owncloud] @owncloud/todo: inactive > [INFO @owncloud] @owncloud/contacts: using configured > database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts > [INFO @owncloud] @owncloud/contacts: starting first time sync from > client (peer is server) > [INFO @owncloud] @owncloud/contacts: sent 141/141 > [INFO] @default/contacts: starting slow sync from client (peer is client) > [INFO] creating complete data backup of datastore contacts before sync > (enabled with dumpData and needed for printChanges) > @default data changes to be applied during synchronization: > *** @default/contacts *** > Comparison was impossible. > > [INFO] @default/contacts: deleting "AAA AAA" > [...] > [INFO] @default/contacts: adding "AAA AAA" > [...] > [INFO] @default/contacts: received 141 > [INFO @owncloud] @owncloud/contacts: started > [INFO] @default/contacts: slow sync done successfully > [INFO @owncloud] @owncloud/contacts: first time sync done successfully > > Synchronization successful. > > Changes applied during synchronization (@owncloud): > +---------------|-----------------------|-----------------------|-CON-+ > | | @owncloud | @default | FLI | > | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | contacts | 0 | 0 | 0 | 0 | 141 | 0 | 0 | 0 | 0 | > | refresh-from-local, 44 KB sent by client, 0 KB received | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | start Sun May 14 20:51:55 2017, duration 0:28min | > | synchronization completed successfully | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > [INFO] creating complete data backup after sync (enabled with dumpData > and needed for printChanges) > > Synchronization successful. > > Changes applied during synchronization: > +---------------|-----------------------|-----------------------|-CON-+ > | | @default | @owncloud | FLI | > | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | contacts | 141 | 0 | 141 | 0 | 0 | 0 | 0 | 0 | 0 | > | refresh-from-remote, 0 KB sent by client, 44 KB received | > | item(s) in database backup: 141 before sync, 141 after it | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | start Sun May 14 20:51:54 2017, duration 0:30min | > | synchronization completed successfully | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > Data modified @default during synchronization: > *** @default/contacts *** > Comparison was impossible. > > > > > The AAA contact can't be seen in the Contact app at this time! Even if > you previous command reveal it in the database: > $ syncevolution --print-items owncloud contacts > pas-id-5918A76400000233: AAA AAA > [...] So presumably the X-DELETED-AT was preserved on the server (you can check by dumping it again). The server still shows the contact (because it doesn't know what that property means), but the phone hides it (because it knows the property). -- 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. From vincent.lambert9 at free.fr Sun May 14 23:23:15 2017 From: vincent.lambert9 at free.fr (Vincent Lambert) Date: Mon, 15 May 2017 01:23:15 +0200 Subject: [SyncEvolution] "Comparison was impossible" In-Reply-To: <1494789683.1179.236.camel@intel.com> References: <1936973155.174525862.1494510307001.JavaMail.root@zimbra79-e14.priv.proxad.net> <1494573209.1179.198.camel@intel.com> <1494701782.1179.221.camel@intel.com> <033bfff8-48f3-d8f2-9361-92271d2555fc@free.fr> <1494789683.1179.236.camel@intel.com> Message-ID: <9d670b87-b319-8b0e-700d-3a6a48dcb8f3@free.fr> Thank you for your time and your answers. I've reset the phone and the problem is still here, so I guess I've never succeed in remove a contact on the server from my phone. Can't be sure because all system files haven't been reset =/ *Vincent Lambert* D?veloppeur informatique Le 14/05/2017 ? 21:21, Patrick Ohly a ?crit : > On Sun, 2017-05-14 at 21:02 +0200, Vincent Lambert wrote: >> Now, I delete it from the Contacts app and retry: >> >> $ syncevolution --export - @default contacts pas-id-5918A52200000119 >> BEGIN:VCARD >> VERSION:3.0 >> X-DELETED-AT:2017-05-14T20:47:23 > ... >> N:AAA;AAA;;; >> FN:AAA AAA > ... >> END:VCARD >> >> As you suspected, the delete operation doesn't work properly. > I've never seen this X-DELETED-AT before. As you are using an Ubuntu > Phone, with sync and datastore provided by Canonical, I suggest that you > bring this up with them. This looks like an Ubuntu Phone specialty to > me. > >> But there >> is a second problem. Let's try a normal sync, to see what happen next: >> $ syncevolution owncloud contacts >> [WARNING] owncloud: ignoring username , it is not needed >> [INFO] @default/9frfrenchholiday: inactive >> [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive >> [INFO] @default/addressbook: inactive >> [INFO] @default/calendar: inactive >> [INFO] @default/memo: inactive >> [INFO] @default/todo: inactive >> [WARNING] owncloud: ignoring username , it is not needed >> [INFO @owncloud] target side of local sync ready >> [INFO @owncloud] @owncloud/addressbook: inactive >> [INFO @owncloud] @owncloud/calendar: inactive >> [INFO @owncloud] @owncloud/memo: inactive >> [INFO @owncloud] @owncloud/todo: inactive >> [INFO @owncloud] @owncloud/contacts: using configured >> database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts >> [INFO @owncloud] @owncloud/contacts: starting normal sync, two-way (peer >> is server) >> [INFO] @default/contacts: starting normal sync, two-way (peer is client) >> [INFO] creating complete data backup of datastore contacts before sync >> (enabled with dumpData and needed for printChanges) >> @default data changes to be applied during synchronization: >> *** @default/contacts *** >> Comparison was impossible. >> >> [INFO] @default/contacts: started >> [INFO] @default/contacts: sent 1 >> [INFO @owncloud] @owncloud/contacts: started >> [INFO @owncloud] @owncloud/contacts: updating "AAA AAA" >> [INFO @owncloud] @owncloud/contacts: received 1/1 >> [INFO] @default/contacts: normal sync done successfully >> [INFO @owncloud] @owncloud/contacts: normal sync done successfully >> >> Synchronization successful. >> >> Changes applied during synchronization (@owncloud): >> +---------------|-----------------------|-----------------------|-CON-+ >> | | @owncloud | @default | FLI | >> | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | contacts | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | >> | two-way, 0 KB sent by client, 0 KB received | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | start Sun May 14 20:49:51 2017, duration 0:10min | >> | synchronization completed successfully | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> [INFO] creating complete data backup after sync (enabled with dumpData >> and needed for printChanges) >> >> Synchronization successful. >> >> Changes applied during synchronization: >> +---------------|-----------------------|-----------------------|-CON-+ >> | | @default | @owncloud | FLI | >> | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | contacts | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | >> | two-way, 0 KB sent by client, 0 KB received | >> | item(s) in database backup: 141 before sync, 141 after it | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | start Sun May 14 20:49:50 2017, duration 0:11min | >> | synchronization completed successfully | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> >> Data modified @default during synchronization: >> *** @default/contacts *** >> Comparison was impossible. >> >> >> >> >> >> Whatever the problem is, the contact has been updated on the server but >> no information has changed. > I'm not following. What problem? > > If this is the first two-way sync after "deleting" the contact via the > phone UI, then the sync above makes perfect sense. The contact has been > modified (by adding the X-DELETED-AT) and that's why it gets sent to the > server, including that extension. But as it is non-standard, the server > doesn't do anything with it. > > >> I can see it in another client >> (Thunderbird). Finally, I try again a refresh-from-remote, that is >> supposed to completely reset the local problem on the phone, and surprise: >> >> $ syncevolution --sync refresh-from-remote owncloud contacts >> [WARNING] owncloud: ignoring username , it is not needed >> [INFO] @default/9frfrenchholiday: inactive >> [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive >> [INFO] @default/addressbook: inactive >> [INFO] @default/calendar: inactive >> [INFO] @default/memo: inactive >> [INFO] @default/todo: inactive >> [WARNING] owncloud: ignoring username , it is not needed >> [INFO @owncloud] target side of local sync ready >> [INFO @owncloud] @owncloud/addressbook: inactive >> [INFO @owncloud] @owncloud/calendar: inactive >> [INFO @owncloud] @owncloud/memo: inactive >> [INFO @owncloud] @owncloud/todo: inactive >> [INFO @owncloud] @owncloud/contacts: using configured >> database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts >> [INFO @owncloud] @owncloud/contacts: starting first time sync from >> client (peer is server) >> [INFO @owncloud] @owncloud/contacts: sent 141/141 >> [INFO] @default/contacts: starting slow sync from client (peer is client) >> [INFO] creating complete data backup of datastore contacts before sync >> (enabled with dumpData and needed for printChanges) >> @default data changes to be applied during synchronization: >> *** @default/contacts *** >> Comparison was impossible. >> >> [INFO] @default/contacts: deleting "AAA AAA" >> [...] >> [INFO] @default/contacts: adding "AAA AAA" >> [...] >> [INFO] @default/contacts: received 141 >> [INFO @owncloud] @owncloud/contacts: started >> [INFO] @default/contacts: slow sync done successfully >> [INFO @owncloud] @owncloud/contacts: first time sync done successfully >> >> Synchronization successful. >> >> Changes applied during synchronization (@owncloud): >> +---------------|-----------------------|-----------------------|-CON-+ >> | | @owncloud | @default | FLI | >> | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | contacts | 0 | 0 | 0 | 0 | 141 | 0 | 0 | 0 | 0 | >> | refresh-from-local, 44 KB sent by client, 0 KB received | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | start Sun May 14 20:51:55 2017, duration 0:28min | >> | synchronization completed successfully | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> [INFO] creating complete data backup after sync (enabled with dumpData >> and needed for printChanges) >> >> Synchronization successful. >> >> Changes applied during synchronization: >> +---------------|-----------------------|-----------------------|-CON-+ >> | | @default | @owncloud | FLI | >> | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | contacts | 141 | 0 | 141 | 0 | 0 | 0 | 0 | 0 | 0 | >> | refresh-from-remote, 0 KB sent by client, 44 KB received | >> | item(s) in database backup: 141 before sync, 141 after it | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> | start Sun May 14 20:51:54 2017, duration 0:30min | >> | synchronization completed successfully | >> +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ >> >> Data modified @default during synchronization: >> *** @default/contacts *** >> Comparison was impossible. >> >> >> >> >> The AAA contact can't be seen in the Contact app at this time! Even if >> you previous command reveal it in the database: >> $ syncevolution --print-items owncloud contacts >> pas-id-5918A76400000233: AAA AAA >> [...] > So presumably the X-DELETED-AT was preserved on the server (you can > check by dumping it again). The server still shows the contact (because > it doesn't know what that property means), but the phone hides it > (because it knows the property). > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent.lambert9 at free.fr Mon May 1 15:15:08 2017 From: vincent.lambert9 at free.fr (Vincent Lambert) Date: Mon, 1 May 2017 17:15:08 +0200 Subject: [SyncEvolution] "Comparison was impossible" " In-Reply-To: <1493372203.4241.173.camel@intel.com> References: <699509860.131321856.1493368315201.JavaMail.root@zimbra79-e14.priv.proxad.net> <1493370315.4241.166.camel@intel.com> <579b9dc4-12c8-5b17-ac5c-ea00b9560ece@cobb.uk.net> <1493372203.4241.173.camel@intel.com> Message-ID: Le 28/04/2017 ? 11:36, Patrick Ohly a ?crit : > On Fri, 2017-04-28 at 10:18 +0100, Graham Cobb wrote: >> On 28/04/17 10:05, Patrick Ohly wrote: >>> On Fri, 2017-04-28 at 10:31 +0200, Vincent wrote: >>>> Could you tell me more about synccompare? >>> In the syncevolution.org packages, it is under /usr/bin/synccompare. >>> It's a perl script that takes two database dumps and compares them, >>> similar to a diff between text files. >> I find it to be of variable usefulness. It is great when it works, but >> in my experience it scales horribly. > I just use it on a laptop and it works for me, but I agree that it's > mostly a hack originating in the automated testing. There's even a bug > open for rewriting it... > >> I think I always see "comparison was impossible" with refreshes. I >> assumed that is because the databases are deleted or something (although >> thinking about it further I am not sure that is a reasonable expectation). > There should be "before" and "after" dumps also for refreshes, so this > has to be something else. > So what is the goal of this command? Does it mean that something went wrong but nothing important enought to break the system? I deleted the two related to my configuration, restarted to clear the sessions and then added again my notes taken from there http://influence-pc.fr/03-07-2015-synchroniser-ses-contacts-et-calendrier-dubuntu-phone-via-owncloud-cosy-cloud (was working from past 2 years) so just after the first "sync slow" here is what I can see: [WARNING] owncloud: ignoring username , it is not needed [INFO] @default/9frfrenchholiday: inactive [INFO] @default/9rd2q8ps5e2r48skvidunfkoms8: inactive [INFO] @default/addressbook: inactive [INFO] @default/calendar: inactive [INFO] @default/memo: inactive [INFO] @default/todo: inactive [WARNING] owncloud: ignoring username , it is not needed [INFO @owncloud] target side of local sync ready [INFO @owncloud] @owncloud/addressbook: inactive [INFO @owncloud] @owncloud/calendar: inactive [INFO @owncloud] @owncloud/memo: inactive [INFO @owncloud] @owncloud/todo: inactive [INFO @owncloud] @owncloud/contacts: using configured database=[censored]/remote.php/carddav/addressbooks/Vincent/contacts [INFO @owncloud] @owncloud/contacts: starting first time sync, two-way (peer is server) [INFO @owncloud] @owncloud/contacts: sent 140/140 [INFO] @default/contacts: starting first time sync, two-way (peer is client) [INFO] creating complete data backup of datastore contacts before sync (enabled with dumpData and needed for printChanges) @default data changes to be applied during synchronization: *** @default/contacts *** Comparison was impossible. [INFO] @default/contacts: started [INFO] @default/contacts: updating "[censored]" [INFO] @default/contacts: received 140 [INFO @owncloud] @owncloud/contacts: started [INFO] @default/contacts: first time sync done successfully [INFO @owncloud] @owncloud/contacts: first time sync done successfully Synchronization successful. Changes applied during synchronization (@owncloud): +---------------|-----------------------|-----------------------|-CON-+ | | @owncloud | @default | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 0 | 0 | 0 | 140 | 0 | 0 | 0 | 0 | | slow, 44 KB sent by client, 0 KB received | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Mon May 1 16:47:48 2017, duration 0:13min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ [INFO] creating complete data backup after sync (enabled with dumpData and needed for printChanges) Synchronization successful. Changes applied during synchronization: +---------------|-----------------------|-----------------------|-CON-+ | | @default | @owncloud | FLI | | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | contacts | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | slow, 0 KB sent by client, 44 KB received | | 140 item(s) matched | | item(s) in database backup: 140 before sync, 140 after it | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | start Mon May 1 16:47:48 2017, duration 0:13min | | synchronization completed successfully | +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ Data modified @default during synchronization: *** @default/contacts *** Comparison was impossible. Even if I delete the config, the backup database still contain entries! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ SyncEvolution mailing list SyncEvolution at syncevolution.org https://lists.syncevolution.org/mailman/listinfo/syncevolution From patrick.ohly at intel.com Mon May 1 18:00:39 2017 From: patrick.ohly at intel.com (Patrick Ohly) Date: Mon, 01 May 2017 20:00:39 +0200 Subject: [SyncEvolution] "Comparison was impossible" " In-Reply-To: References: <699509860.131321856.1493368315201.JavaMail.root@zimbra79-e14.priv.proxad.net> <1493370315.4241.166.camel@intel.com> <579b9dc4-12c8-5b17-ac5c-ea00b9560ece@cobb.uk.net> <1493372203.4241.173.camel@intel.com> Message-ID: <1493661639.4241.197.camel@intel.com> On Mon, 2017-05-01 at 17:15 +0200, Vincent Lambert wrote: > Le 28/04/2017 ? 11:36, Patrick Ohly a ?crit : > > On Fri, 2017-04-28 at 10:18 +0100, Graham Cobb wrote: > > > On 28/04/17 10:05, Patrick Ohly wrote: > > > > On Fri, 2017-04-28 at 10:31 +0200, Vincent wrote: > > > > > Could you tell me more about synccompare? > > > > In the syncevolution.org packages, it is under /usr/bin/synccompare. > > > > It's a perl script that takes two database dumps and compares them, > > > > similar to a diff between text files. > > > I find it to be of variable usefulness. It is great when it works, but > > > in my experience it scales horribly. > > I just use it on a laptop and it works for me, but I agree that it's > > mostly a hack originating in the automated testing. There's even a bug > > open for rewriting it... > > > > > I think I always see "comparison was impossible" with refreshes. I > > > assumed that is because the databases are deleted or something (although > > > thinking about it further I am not sure that is a reasonable expectation). > > There should be "before" and "after" dumps also for refreshes, so this > > has to be something else. > > > > So what is the goal of this command? It's purely informational. It's not needed for the sync to work. > I deleted the two related to my configuration, restarted to clear the > sessions and then added again my notes taken from there > http://influence-pc.fr/03-07-2015-synchroniser-ses-contacts-et-calendrier-dubuntu-phone-via-owncloud-cosy-cloud (was working from past 2 years) so just after the first "sync slow" here is what I can see: So was this a slow sync or a refresh-from-remote sync? > Changes applied during synchronization: > +---------------|-----------------------|-----------------------|-CON-+ > | | @default | @owncloud | FLI > | > | Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS > | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | contacts | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 > | > | slow, 0 KB sent by client, 44 KB received > | > | 140 item(s) matched > | > | item(s) in database backup: 140 before sync, 140 after it > | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > | start Mon May 1 16:47:48 2017, duration 0:13min > | > | synchronization completed successfully > | > +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ > > Data modified @default during synchronization: > *** @default/contacts *** > Comparison was impossible. > > > Even if I delete the config, the backup database still contain > entries! Not the *backup* database. Your local *system* database still has these 140 contacts. Removing the SyncEvolution configuration does not clean that database, because it exists independently from SyncEvolution. So for a slow sync, the behavior quoted above is as expected. A "--sync refresh-from-remote" would tell SyncEvolution to erase the local contacts before the sync, so all of them then should show up as "new" on the local side. -- 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.