[ubuntu-mono] [Bug 449648] Re: Synchronization via Tomboy web (Ubuntu One server) fails.

doomdragon david.harris9 at blueyonder.co.uk
Mon Jun 7 21:05:55 UTC 2010


Experiencing syncing issue sorry for the other bug report I think i
fluffed it! forgive me! It won't synchronise my notes via tomboy web. I
have a debug log if it is of any use?

** Running Mono with --debug    **
[DEBUG 21:55:32.849] NoteManager created with note path "/home/david/.local/share/tomboy".
[DEBUG 21:55:32.931] EnableDisable Called: enabling... True
[DEBUG 21:55:32.934] Binding key '<Alt>F12' for '/apps/tomboy/global_keybindings/show_note_menu'
[DEBUG 21:55:32.937] Binding key '<Alt>F11' for '/apps/tomboy/global_keybindings/open_start_here'
[INFO 21:55:33.404] Initializing Mono.Addins
[DEBUG 21:55:33.581] AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG 21:55:33.587] 	       Name: Tomboy.Tomboy,0.10
[DEBUG 21:55:33.587] 	Description: 
[DEBUG 21:55:33.587] 	  Namespace: Tomboy
[DEBUG 21:55:33.587] 	    Enabled: True
[DEBUG 21:55:33.588] 	       File: /usr/lib/tomboy/Tomboy.exe
[DEBUG 21:55:34.373] AddinManager.OnAddinLoaded: Tomboy.WebSyncServiceAddin
[DEBUG 21:55:34.374] 	       Name: Web Sync Service Add-in
[DEBUG 21:55:34.374] 	Description: Synchronize Tomboy Notes with Tomboy Online and other compatible web services
[DEBUG 21:55:34.374] 	  Namespace: Tomboy
[DEBUG 21:55:34.374] 	    Enabled: True
[DEBUG 21:55:34.374] 	       File: /usr/lib/tomboy/addins/WebSyncServiceAddin.dll
[DEBUG 21:55:34.375] AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG 21:55:34.376] 	       Name: WebDav Sync Service Add-in
[DEBUG 21:55:34.376] 	Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG 21:55:34.376] 	  Namespace: Tomboy
[DEBUG 21:55:34.376] 	    Enabled: True
[DEBUG 21:55:34.376] 	       File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG 21:55:34.380] Unable to locate 'gnomesu' in your PATH
[DEBUG 21:55:34.380] Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG 21:55:34.380] Successfully found all system tools
[DEBUG 21:55:34.380] Unable to locate 'wdfs' in your PATH
[DEBUG 21:55:34.382] AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG 21:55:34.383] 	       Name: Local Directory Sync Service Add-in
[DEBUG 21:55:34.383] 	Description: Synchronize Tomboy Notes to a local file system path
[DEBUG 21:55:34.383] 	  Namespace: Tomboy
[DEBUG 21:55:34.383] 	    Enabled: True
[DEBUG 21:55:34.384] 	       File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
[DEBUG 21:55:34.580] AddinManager.OnAddinLoaded: Tomboy.ExportToHtmlAddin
[DEBUG 21:55:34.581] 	       Name: Export to HTML
[DEBUG 21:55:34.581] 	Description: Exports individual notes to HTML.
[DEBUG 21:55:34.581] 	  Namespace: Tomboy
[DEBUG 21:55:34.581] 	    Enabled: True
[DEBUG 21:55:34.581] 	       File: /usr/lib/tomboy/addins/ExportToHtml.dll
[DEBUG 21:55:34.582] AddinManager.OnAddinLoaded: Tomboy.PrintNotesAddin
[DEBUG 21:55:34.582] 	       Name: Printing Support
[DEBUG 21:55:34.582] 	Description: Allows you to print a note.
[DEBUG 21:55:34.582] 	  Namespace: Tomboy
[DEBUG 21:55:34.582] 	    Enabled: True
[DEBUG 21:55:34.582] 	       File: /usr/lib/tomboy/addins/PrintNotes.dll
[DEBUG 21:55:34.583] AddinManager.OnAddinLoaded: Tomboy.BacklinksAddin
[DEBUG 21:55:34.585] 	       Name: Backlinks
[DEBUG 21:55:34.585] 	Description: See which notes link to the one you're currently viewing.
[DEBUG 21:55:34.585] 	  Namespace: Tomboy
[DEBUG 21:55:34.585] 	    Enabled: True
[DEBUG 21:55:34.585] 	       File: /usr/lib/tomboy/addins/Backlinks.dll
[DEBUG 21:55:34.587] AddinManager.OnAddinLoaded: Tomboy.EvolutionAddin
[DEBUG 21:55:34.587] 	       Name: Evolution Mail Integration
[DEBUG 21:55:34.587] 	Description: Allows you to drag an email from Evolution into a Tomboy note.  The message subject is added as a link in the note with an envelope icon next to it.
[DEBUG 21:55:34.587] 	  Namespace: Tomboy
[DEBUG 21:55:34.587] 	    Enabled: True
[DEBUG 21:55:34.587] 	       File: /usr/lib/tomboy/addins/Evolution.dll
[DEBUG 21:55:34.591] AddinManager.OnAddinLoaded: Tomboy.FixedWidthAddin
[DEBUG 21:55:34.592] 	       Name: Fixed Width
[DEBUG 21:55:34.592] 	Description: Adds fixed-width font style.
[DEBUG 21:55:34.592] 	  Namespace: Tomboy
[DEBUG 21:55:34.592] 	    Enabled: True
[DEBUG 21:55:34.592] 	       File: /usr/lib/tomboy/addins/FixedWidth.dll
[DEBUG 21:55:34.594] AddinManager.OnAddinLoaded: Tomboy.StickyNoteImportAddin
[DEBUG 21:55:34.594] 	       Name: Sticky Notes Importer
[DEBUG 21:55:34.594] 	Description: Import your notes from the Sticky Notes applet.
[DEBUG 21:55:34.594] 	  Namespace: Tomboy
[DEBUG 21:55:34.594] 	    Enabled: True
[DEBUG 21:55:34.594] 	       File: /usr/lib/tomboy/addins/StickyNoteImport.dll
[DEBUG 21:55:34.595] StickyNoteImporter: Sticky Notes XML file does not exist or is invalid!
[DEBUG 21:55:34.832] Unable to locate 'wdfs' in your PATH
[DEBUG 21:55:34.838] Autosync pref changed...restarting sync timer
[DEBUG 21:55:35.054] Tomboy remote control active.
[DEBUG 21:55:45.306] SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG 21:55:45.344] Building web request for URL: https://one.ubuntu.com/notes//api/1.0/
[DEBUG 21:55:45.889] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[ERROR 21:55:45.982] Caught exception. Message: The remote server returned an error: (404) NOT FOUND.
[ERROR 21:55:45.988] 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 21:55:45.994] 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 21:55:45.995] 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] 
[DEBUG 21:56:34.850] BackgroundSyncChecker: Checking server for updates
[DEBUG 21:56:34.852] Building web request for URL: https://one.ubuntu.com/notes//api/1.0/
[DEBUG 21:56:34.993] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[ERROR 21:56:35.070] Caught exception. Message: The remote server returned an error: (404) NOT FOUND.
[ERROR 21:56:35.070] 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 21:56:35.071] 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.UpdatesAvailableSince(Int32 revision)
   at Tomboy.Sync.SyncManager.BackgroundSyncChecker()
   at Tomboy.Sync.SyncManager.<UpdateSyncAction>m__25(System.Object o)
[DEBUG 21:56:35.071] BackgroundSyncChecker: Error connecting to server

Once again i aopologise for my earlier bug report I could not seem to
delete it!

-- 
Synchronization via Tomboy web (Ubuntu One server) fails.
https://bugs.launchpad.net/bugs/449648
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to tomboy in ubuntu.

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

Bug description:
Binary package hint: tomboy

As per title.
Launching Tomboy with --debug allowed me to see the following exception:

<--- snip --->
[...]

[DEBUG]: Returned value from web request: 
<html>
<head>
  <title>OpenID transaction in progress</title>
</head>
<body onload="document.forms[0].submit();">
<form accept-charset="UTF-8" action="https://login.launchpad.net/+openid" enctype="application/x-www-form-urlencoded" id="openid_message" method="post"><input name="openid.mode" type="hidden" value="checkid_setup" /><input name="openid.return_to" type="hidden" value="https://one.ubuntu.com/auth/complete/?next=%2Fnotes%2Fapi%2F1.0%2F[***REMOVED***]" /><input name="openid.realm" type="hidden" value="https://one.ubuntu.com/" /><input name="openid.lp.query_membership" type="hidden" value="ubuntuone-admins,ubuntuone-hackers,canonical" /><input name="openid.ns" type="hidden" value="http://specs.openid.net/auth/2.0" /><input name="openid.sreg.optional" type="hidden" value="email,fullname,nickname" /><input name="openid.claimed_id" type="hidden" value="http://specs.openid.net/auth/2.0/identifier_select" /><input name="openid.ns.sreg" type="hidden" value="http://openid.net/extensions/sreg/1.1" /><input name="openid.assoc_handle" type="hidden" value="{HMAC-SHA1}[***REMOVED***]" /><input name="openid.ns.lp" type="hidden" value="http://ns.launchpad.net/2007/openid-teams" /><input name="openid.identity" type="hidden" value="http://specs.openid.net/auth/2.0/identifier_select" /><input type="submit" value="Continue" /></form>
<script>
var elements = document.forms[0].elements;
for (var i = 0; i < elements.length; i++) {
  elements[i].style.display = "none";
}
</script>
</body>
</html>

[ERROR]: Synchronization failed with the following exception: Unexpected character '<' at [2:0]
  at Hyena.Json.Tokenizer.UnexpectedCharacter (Char ch) [0x00000] 
  at Hyena.Json.Tokenizer.InnerScan () [0x00000] 
  at Hyena.Json.Tokenizer.Scan () [0x00000] 
  at Hyena.Json.Deserializer.CheckScan (TokenType expected, Boolean eofok) [0x00000] 
  at Hyena.Json.Deserializer.Deserialize () [0x00000] 
  at Tomboy.WebSync.Api.UserInfo.ParseJson (System.String jsonString) [0x00000] 
  at Tomboy.WebSync.Api.UserInfo.GetUser (System.String userUri, IWebConnection connection) [0x00000] 
  at Tomboy.WebSync.WebSyncServer.BeginSyncTransaction () [0x00000] 
  at Tomboy.Sync.SyncManager.SynchronizationThread () [0x00000]

<--- snip --->

ProblemType: Bug
Architecture: amd64
Date: Mon Oct 12 18:09:24 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: tomboy 1.0.0-0ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=it_IT.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-13.43-generic
SourcePackage: tomboy
Uname: Linux 2.6.31-13-generic x86_64






More information about the Ubuntu-mono mailing list