[ubuntu-mono] [Bug 575937] Re: Can't synchronize Tomboy Notes: Server returned 404 NOT FOUND
Tom Durrant
thdurrant at gmail.com
Fri Apr 1 00:51:10 UTC 2011
I have been effected by this bug for a long time. In the end, I
resorted to using dropbox, which works reasonably well (with no web
access or course). Recently, dropbox access has been blocked at work,
prompting me to look at this again.
I tried most of the things mentioned above, to no avail. Then I read
some other bug reports with complaints about conflicts in templates
(templates do not show up in note lists, so cannot be deleted manually.
So, I deleted these manually with the following procedure
quit tomboy
Romove all notes from web server. I found the easiest way to do this
was to sync an empty tomboy instance to the web.
Move old tomboy notes to backup:
mv ~/.local/share/tomboy ~/.local/share/tomboy.bak
Restart tomboy, which will create a new library.
Delete all notes (start here etc)
Set up sync to ubuntu one web account and sync.
Check online at ubuntu one to see that all notes are gone.
quit tomboy
Then, clean out all old template notes from backup library
cd ~/.local/share/tomboy.bak
locate old template notes, those that have been renamed in previous sync
attempts.
grep "Template (old)" *
remove the offending notes (rm ...)
Move library back to where tomboy expects it
rm -fr ~/.local/share/tomboy
cp ~/.local/share/tomboy.bak ~/.local/share/tomboy
restart tomboy, and sync to ubuntu one.
This seems to have fixed my system now, and I have 419 notes synced to
the web.
Hope this helps
--
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