Comment 21 for bug 152978

Revision history for this message
qo_ (imtimt) wrote :

Opps. Sorry. I spoke too soon. Using -s seemed to help in the case where Tomboy is able to sync successfully. But, in cases where the sync fails, the lock is still left behind.

In my case, sync is not completing on the first try when many notes need to be synced. This results in the lock remaining. So, steps are:

1. Start a sync
2. Sync partially completes
3. Manually delete the remote lock on the WebDAV server
4. Start another sync
5. This adds more notes from the server that didn't sync the first time
6. Manually delete the remote lock
7. Repeat steps 4-6 as many times as it takes for all notes to be synced

Now, add ONE new note. Start a sync. It succeeds and the lock is properly removed afterward.

Specifically, if you can get to the point where Tomboy reports:

                       Synchronization is complete
                    8 notes updated. Your notes are now up to date.

Then the lock will likely have been successfully removed.

Also, if Tomboy starts to sync automatically (before you start a manual sync) the lock is not cleaned up. Perhaps this was addressed -proposed (?).

Again, my apologies if anyone's hopes were raised.

qo