停電でTomboy が起動しなくなったけどどうにか直った

輪番停電大変ですね.
停電時にうっかりマシンを落としてしまいTomboy が起動しなくなってしまいました.
とりあえず以下の手順で起動するようになったのでメモ.


コマンドライン上で,tomboy として起動を試みます.起動しないと思いますが,メッセージがズラズラ出てきます.

% tomboy
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-enable-event-sounds' of type `gboolean' from rc file value "((GString*) 0x10076a0)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-enable-input-feedback-sounds' of type `gboolean' from rc file value "((GString*) 0xf1d5a0)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-button-images' of type `gboolean' from rc file value "((GString*) 0x10078e0)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-menu-images' of type `gboolean' from rc file value "((GString*) 0x1008120)" of type `gboolean'
[INFO 16:59:30.257] Initializing Mono.Addins
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IO.IOException: Invalid handle to path "/home/mk/.local/share/tomboy/dd71fac5-207f-41aa-93c6-6e2a53fce994.note"
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
  at Tomboy.NoteArchiver.ReadFile (System.String read_file, System.String uri) [0x00000] in <filename unknown>:0 
  at Tomboy.NoteArchiver.Read (System.String read_file, System.String uri) [0x00000] in <filename unknown>:0 
  at Tomboy.Note.Load (System.String read_file, Tomboy.NoteManager manager) [0x00000] in <filename unknown>:0 
  at Tomboy.NoteManager.LoadNotes () [0x00000] in <filename unknown>:0 
  at Tomboy.NoteManager.Initialize () [0x00000] in <filename unknown>:0 
  at Tomboy.Tomboy+<Main>c__AnonStorey2.<>m__0 () [0x00000] in <filename unknown>:0 
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Timeout+TimeoutProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Tomboy.GnomeApplication.StartMainLoop()
   at Tomboy.Application.StartMainLoop()
   at Tomboy.Tomboy.StartTrayIcon()
   at Tomboy.Tomboy.Main(System.String[] args)
% rm /home/mk/.local/share/tomboy/dd71fac5-207f-41aa-93c6-6e2a53fce994.note

/home/mk/.local/share/tomboy/dd71fac5-207f-41aa-93c6-6e2a53fce994.note がなんかおかしいようです.
ls -l で確認すると0バイトだったので消して再度起動すると最新のデータは消えてましたが治りました.


これはeCryptFS のせいかもしれませんが,同じようになって困っている人が要るかもしれないので情報共有まで.