[ubuntu-mono] [Bug 709378] Re: Tomboy fails to sync after editing note via web: "String was not recognized as a valid DateTime."

forteller 709378 at bugs.launchpad.net
Mon Feb 6 01:54:39 UTC 2012


I see that nothing has happened here in a year, and it says that a fix
has been released. But I still suffer from this bug. I'm on Ubuntu
11.10, with all the latest updates. Running the latest tomboy-sync-
validator.py linked to above did not help.

Here's  what tomboy --debug says:

[DEBUG 02:47:46.311] SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG 02:47:46.362] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG 02:47:50.286] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG 02:47:51.130] 8
[DEBUG 02:47:51.131] Sync: GetNoteUpdatesSince rev -1
[DEBUG 02:47:51.133] Building web request for URL: https://one.ubuntu.com/notes/api/1.0/op/?include_notes=true
[ERROR 02:47:52.077] Synchronization failed with the following exception: String was not recognized as a valid DateTime.
  at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0 
  at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at Tomboy.WebSync.Api.NoteInfo.ParseJson (Hyena.Json.JsonObject jsonObj) [0x00000] in <filename unknown>:0 
  at Tomboy.WebSync.Api.UserInfo.ParseJsonNoteArray (Hyena.Json.JsonArray jsonArray) [0x00000] in <filename unknown>:0 
  at Tomboy.WebSync.Api.UserInfo.ParseJsonNotes (System.String jsonString, System.Nullable`1& latestSyncRevision) [0x00000] in <filename unknown>:0 
  at Tomboy.WebSync.Api.UserInfo.GetNotes (Boolean includeContent, Int32 sinceRevision, System.Nullable`1& latestSyncRevision) [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 

(Tomboy:15702): GLib-CRITICAL **: g_source_remove: assertion `tag > 0'
failed

-- 
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/709378

Title:
  Tomboy fails to sync after editing note via web: "String was not
  recognized as a valid DateTime."

Status in Ubuntu One Servers:
  Fix Released
Status in “tomboy” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: tomboy

  I edited a note via the web interface as I was away from my computers.
  Next time I reached my laptop and desktop, both of them have been
  unable to sync notes, stating no helpful error message in the dialog
  box.

  When manually attempting to synchronize notes with Tomboy it seems to begin well
  and then it stops with a message "Could not synchronize notes. Check details below
  and try again however, in details there is no data.

  The debug information shows that it has something to do with a time stamp issue but
  am unable to debug it and it may be a server side issue. Files from folders designated
  to synch to ubuntu one do however continue to work.

  I have verified that the oauth tokens are correct. I have tried
  removing and re-adding my computers to U1. I have attempted to delete
  all of my notes from server and computer, delete my
  ~/.local/share/tomboy and ~/.config/tomboy folders, and then sync an
  arbitrary, new note. It still fails. I have been unable to get any of
  this to work.

  I will attach the tomboy.log after using 'tomboy --debug' in the
  terminal.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: tomboy 1.4.2-0ubuntu1
  Uname: Linux 2.6.36-020636-generic x86_64
  Architecture: amd64
  Date: Fri Jan 28 12:28:52 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: tomboy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-servers/+bug/709378/+subscriptions



More information about the Ubuntu-mono mailing list