http://bugzilla.moblin.org/show_bug.cgi?id=2069





--- Comment #6 from pohly <[email protected]>  2009-12-16 08:22:52 PST ---
I have added printing of a textual status explanation to the command line. The
output includes the distinction between errors detected locally and remotely
("local/remote") and the actual status code (because that is sometimes more
helpful than the description.

Here's an example, based on the "unexpected slow sync" error scenario where one
source runs into that problem and then the other and the whole session get
aborted automatically:


[INFO] addressbook: starting normal sync, two-way
[INFO] calendar: inactive
[ERROR] calendar: unexpected slow sync (local, status 22000)
[INFO] calendar: starting slow sync, two-way
[INFO] addressbook: preparing 1/68
[...]
[INFO] addressbook: preparing 68/68
[ERROR] Aborting because of unexpected slow sync for source(s): calendar
[INFO] Doing a slow synchronization may lead to duplicated items or
lost data when the server merges items incorrectly. Choosing
a different synchronization mode may be the better alternative.
Restart synchronization of affected source(s) with one of the
following sync modes to recover from this problem:
    slow, refresh-from-server, refresh-from-client

Analyzing the current state:
    syncevolution --status syncevolution_client calendar

Running with one of the three modes:
    syncevolution --sync [slow|refresh-from-server|refresh-from-client]
syncevolution_client calendar

[INFO] addressbook: normal sync done unsuccessfully
[ERROR] addressbook: aborted on behalf of user (local, status 20017)

Synchronization failed, see
/home/pohly/.cache/syncevolution/syncevolution__client-2009-12-16-17-21/syncevolution-log.html
for details.

Changes applied during synchronization:
+---------------|-------ON CLIENT-------|-------ON SERVER-------|-CON-+
|               |   rejected / total    |   rejected / total    | FLI |
|        Source |  NEW  |  MOD  |  DEL  |  NEW  |  MOD  |  DEL  | CTS |
+---------------+-------+-------+-------+-------+-------+-------+-----+
|   addressbook |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0  |
|   two-way, 0 KB sent by client, 0 KB received                       |
|   item(s) in database backup: 68 before sync, 68 after it           |
|   aborted on behalf of user (local, status 20017)                   |
+---------------+-------+-------+-------+-------+-------+-------+-----+
|      calendar |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0  |
|      slow, 0 KB sent by client, 0 KB received                       |
|      item(s) in database backup: 13 before sync, 13 after it        |
|      unexpected slow sync (local, status 22000)                     |
+---------------+-------+-------+-------+-------+-------+-------+-----+
|          start Wed Dec 16 17:21:04 2009, duration 0:04min           |
|           aborted on behalf of user (local, status 20017)           |
+---------------+-------+-------+-------+-------+-------+-------+-----+

-- 
Configure bugmail: http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to