syncing tomboy to ubuntu one fails

Bug #571865 reported by atreju
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: tomboy

Trying to sync tomboy to U1 fails with 'Could not synchronise notes'
I believe this is a different bug to #449648 as I do not see the line
[ERROR]: Synchronization failed with the following exception: Unexpected character '<' at [1:1]
but it might well be identical to the bug reported by the last two posters in that report. Someone more knowledgeable than me should probably decide what is a duplicate of what.
I also assume that it might be a server bug rather than a bug in tomboy?

the output of tomboy --debug is below:

[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes//api/1.0/
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: 8
[DEBUG]: Sync: GetNoteUpdatesSince rev -1
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/?include_notes=true
[DEBUG]: Sync: 0 updates since rev -1
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/
[DEBUG]: Sync: Uploading 12 note updates
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/
[ERROR]: Caught exception. Message: The remote server returned an error: (500) INTERNAL SERVER ERROR.
[ERROR]: 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]: 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.Put(System.String uri, IDictionary`2 queryParameters, System.String putValue)
   at Tomboy.WebSync.Api.UserInfo.UpdateNotes(IList`1 noteUpdates, Int32 expectedNewRevision)
   at Tomboy.WebSync.WebSyncServer.CommitSyncTransaction()
   at Tomboy.Sync.SyncManager.SynchronizationThread()
[ERROR]: Synchronization failed with the following exception: The remote server returned an error: (500) INTERNAL SERVER ERROR.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]

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

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: tomboy 1.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Thu Apr 29 21:44:04 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100305)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: tomboy

Revision history for this message
atreju (atreju-tauschinsky) wrote :
Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

[ERROR]: Caught exception. Message: The remote server returned an error: (500) INTERNAL SERVER ERROR.

This indicates a server error when Tomboy tries to PUT the updated notes to the server. So this is probably a U1 bug, not a Tomboy bug (though it's hard to be sure).

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

Do you get this error every time you try to sync? Has this always happened to you?

Revision history for this message
atreju (atreju-tauschinsky) wrote :

I do get the error every single time I try to sync, on two different computers, both running Lucid.
I did manage to sync successfully some while ago, but I think that was on Karmic. I'm not sure if I ever had a successful sync on Lucid.

Revision history for this message
Tom Durrant (thdurrant) wrote :

I can confirm this, I get exactly the same error. Had problems with Karmic, have never had a successful sync on lucid

Revision history for this message
Eric Drechsel (ericdrex) wrote :

I'm having the same issue with my ubuntu one account

I first synced using Lucid. I started to see the error after syncing to Tomboy on OSX (my Ubuntu machine is on the fritz). I've tried deleting my local notes, and using 1.3.1 of tomboy. I suspect that some data stored on the server is malformed, causing an error in processing.

Revision history for this message
atreju (atreju-tauschinsky) wrote :

I also have the impression that this is due to malformed data on the server. I created a new Ubuntu One account to test this. With the new account syncing works flawlessly, while on the old account it always failed.

Revision history for this message
Benjamin Halbrock (kontakt-bennis-blog) wrote :

Same problem for me here running 10.04

I tried clearing notes on the web following

https://wiki.ubuntu.com/UbuntuOne/FAQ#How%20can%20I%20delete%20all%20my%20Tomboy%20notes%20from%20the%20server?

but it didn't help.

No Sync - Not even a single note appears online

Might the use of multiple Notebooks be the problem?

Revision history for this message
Robert Roth (evfool) wrote :

This looks like an unescaped < character. This might be caused by the note containing a < character and the body of the notes is not properly escaped. Can anyone confirm? Can anyone attach a note which can not be synced because of this issue?

Revision history for this message
atreju (atreju-tauschinsky) wrote :

I at least can not reproduce this issue any more.
Some months ago I switched to a new Ubuntu One account which did not have the problem described above. (see comment #7)
I now switched back to the account that showed the bug before, but can not reproduce the issue in this account any more.
So as far as I'm concerned the bug can be closed.

Revision history for this message
Pete Goodall (pgoodall) wrote :

This bug is definitely *not* fixed. This is a very old and very annoying bug. My Tomboy notes are amazingly importantly to me, and this bug screws up years of work. Is someone going to look at the problem?

Revision history for this message
Alemann Massho (armistice-con-deactivatedaccount) wrote :

This bug is still here and seems to affect a lot of users.

Changed in tomboy (Ubuntu):
status: New → Confirmed
Revision history for this message
Alemann Massho (armistice-con-deactivatedaccount) wrote :

Ubuntu One notes sync is going away, see https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/1115460. This seems to be an Ubuntu One-specific bug, so I am going to close it. If anyone is still having trouble with general notes syncing, they can reopen it.

Changed in tomboy (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.