[ubuntu-mono] [Bug 575937] Re: Can't synchronize Tomboy Notes: Server returned 404 NOT FOUND

drivebull 575937 at bugs.launchpad.net
Sun Feb 27 03:31:35 UTC 2011


I JUST RESOLVED MY CASE.

I was affected by the problem as well, whenever I tried to sync, I just
got:

"Could not synchronize note. Check the details below and try again."
...but the "Details" windows was empty.

I think the problem started after I added some new notes via the Ubuntu
One web interface; some date strings probably got messed on the server
side so the sync couldn't be performed anymore.

After some hours passed trying many different ways, my solution was
this:

1) For ALL of your synchronized computers, back up the local folder,
located in ~/.local/share/tomboy/ (for lucid and maverick).

2) If you know that you have some notes that are on the Ubuntu One
server but not on your computer(s), because you entered them via the
Ubuntu One web interface and got not synchronized, copy them somehow,
e.g. via copy+paste into a notepad or gedit.

3) Go to your Ubuntu One account and delete at least the most recent
notes that you entered via the Web interface; you can delete all the
notes if you want.

4) Now Tomboy should sync; of course, all the notes that you deleted
from the server are deleted from your computer now.

5) For ALL of your computer, SHUT DOWN Tomboy and copy the files from
the Tomboy Backup folder into ~/.local/share/tomboy- , then restart
Tomboy and synchronize.

6) Create again the notes that you saved on step  2.

I'm so happy my systems are in sync again, I hope this writing will help
you as well.

Guido Torelli

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to tomboy in ubuntu.
https://bugs.launchpad.net/bugs/575937

Title:
  Can't synchronize Tomboy Notes: Server returned 404 NOT FOUND

Status in Ubuntu One Servers:
  Confirmed
Status in “tomboy” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: tomboy

  [INFO 20:33:26.411] Initializing Mono.Addins
  [ERROR 20:33:30.631] Caught exception. Message: The remote server returned an error: (404) NOT FOUND.
  [ERROR 20:33:30.633] Stack trace for previous exception:   at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
    at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]
  [ERROR 20:33:30.635] Rest of stack trace for above exception:    at System.Environment.get_StackTrace()
     at Tomboy.WebSync.Api.OAuth.MakeWebRequest(RequestMethod method, System.String url, System.Collections.Generic.List`1 parameters, System.String postData)
     at Tomboy.WebSync.Api.OAuth.WebRequest(RequestMethod method, System.String url, System.String postData)
     at Tomboy.WebSync.Api.OAuth.Get(System.String uri, IDictionary`2 queryParameters)
     at Tomboy.WebSync.Api.UserInfo.GetUser(System.String userUri, IWebConnection connection)
     at Tomboy.WebSync.WebSyncServer.BeginSyncTransaction()
     at Tomboy.Sync.SyncManager.SynchronizationThread()
  [ERROR 20:33:30.635] Synchronization failed with the following exception: The remote server returned an error: (404) NOT FOUND.
    at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
    at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]

  (tomboy:13558): GLib-CRITICAL **: g_source_remove: assertion `tag > 0'
  failed

  WORKAROUND:
  Please download the script from http://people.canonical.com/~roman.yepishev/ubuntuone-scripts/tomboy-recovery.py and run it. The script will request new tokens and automatically update Tomboy configuration.



More information about the Ubuntu-mono mailing list