[ubuntu-mono] [Bug 677865] Re: Tomboy note XML broken by U1 online editor, sync failure
Roman Yepishev
roman.yepishev at canonical.com
Wed Apr 13 09:03:40 UTC 2011
Hello,
At the moment it looks like all the bugs that could have caused complete
failure of the sync process have been fixed so I am setting this to Fix
Released.
If you are experiencing issues with tomboy sync (but not 404 NOT FOUND
response from the server, that's bug 575937[0]) please try the following
script that should provide you with the information regarding what note
is causing the synchronization to fail.
Editing and re-saving the offending notes in the web interface should
restore your tomboy sync, however if the note in the web interface
appears completely blank please do not re-save it since that will
overwrite your previous note content.
Please contact ubuntuone-support at canonical.com if you are not able to
restore the notes in this way and we will find the ways that can be done
on a case-by-case basis.
Here's how to use the script in the terminal:
cd /tmp
wget
http://people.canonical.com/~roman.yepishev/us/tomboy-sync-validator.py
python tomboy-sync-validator.py
It should print something like this:
API ref is at https://one.ubuntu.com/notes/api/1.0/user/, querying...
Notes are at https://one.ubuntu.com/notes/api/1.0/op/, querying...
Current sync GUID: 0
Latest sync revision: 2
Found 5 notes
[1/5] "Start Here": OK
[2/5] "Ubuntu One": OK
[3/5] "Hello again!": OK
[4/5] "Using Links in Tomboy": OK
[5/5] "New Note 1": OK
However if there is an error it will print something like
[1/5] "Start Here": ERROR
23d57ffb-a492-4ba1-adf4-72f0eb23b254: last-change-date-is-broken (000)
https://one.ubuntu.com/notes/view/23d57ffb-a492-4ba1-adf4-72f0eb23b254
[0] Can't synchronize Tomboy Notes: Server returned 404 NOT FOUND
https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/575937
** Changed in: ubuntuone-servers
Status: Confirmed => Fix Released
** Changed in: ubuntuone-servers
Assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) => Roman Yepishev (rye)
--
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/677865
Title:
Tomboy note XML broken by U1 online editor, sync failure
Status in Ubuntu One Servers:
Fix Released
Status in “tomboy” package in Ubuntu:
Invalid
Bug description:
Binary package hint: tomboy
my ~/.config/tomboy/tomboy.log
20.11.2010 21:55:33 [INFO]: Initializing Mono.Addins
20.11.2010 21:55:55 [ERROR]: Synchronization failed with the following exception: Expected =, but found > [62] Line 12, position 60.
at Mono.Xml2.XmlTextReader.ExpectAfterWhitespace (Char c) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadAttributes (Boolean isXmlDecl) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at Tomboy.Sync.NoteUpdate..ctor (System.String xmlContent, System.String title, System.String uuid, Int32 latestRevision) [0x00000] in <filename unknown>:0
at Tomboy.WebSync.WebSyncServer.GetNoteUpdatesSince (Int32 revision) [0x00000] in <filename unknown>:0
at Tomboy.Sync.SyncManager.SynchronizationThread () [0x00000] in <filename unknown>:0
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tomboy 1.4.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Sat Nov 20 22:01:26 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate i386 (20100928)
ProcEnviron:
LANG=ru_RU.utf8
SHELL=/bin/bash
SourcePackage: tomboy
More information about the Ubuntu-mono
mailing list