尝试与 Ubuntu 同步时出现 Tomboy 错误;有人可以帮忙吗?

尝试与 Ubuntu 同步时出现 Tomboy 错误;有人可以帮忙吗?

所以我确信你之前听过这首歌,但在尝试将我的笔记与 Ubuntu One(10.10 AMD64)同步后,我收到“无法同步笔记。请查看以下详细信息并重试。”当然,问题是没有详细信息,重试也无济于事。所以我运行并将tomboy -debug我的错误与我能找到的有关类似问题的任何内容进行了比较(例如帖子这里),但发现没什么用。

无论如何,这是我的第一个错误,我是使用首选项>同步>Ubuntu_one 遇到此问题的

[ERROR 21:08:42.271] 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_web 和默认的“http://one.ubuntu.com/notes/”,但得到了相同的错误以及另一个错误。

[ERROR 21:12:31.949] System.ObjectDisposedException: The object was used after being disposed.
   at System.Net.HttpListener.CheckDisposed () [0x00000] in <filename unknown>:0
   at System.Net.HttpListener.EndGetContext (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
   at Tomboy.WebSync.WebSyncPreferencesWidget.<OnAuthButtonClicked>m__1 (IAsyncResult localResult) [0x00000] in <filename unknown>:0
[ERROR 21:13:19.245] 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

我也尝试过从我的 Ubuntu One 帐户中删除然后重新添加我的电脑,但这也无济于事。我注意到的唯一另一件事是,在系统>首选项>ubuntu one>服务下,“Notes”未列为服务。我不知道这是否正常。感谢您的帮助,如果有任何令人困惑的地方,请告诉我。

答案1

所以目前我的笔记正在再次同步。原来漏洞launchpad 上报告的错误与我的相同。修复过程有些烦人,但我所做的就是备份本地笔记,从 U1 服务器删除所有笔记,重新启动 tomboy,然后尝试再次同步。似乎从 U1 Web 界面编辑笔记会导致上述错误。

相关内容