Comment 36 for bug 501670

Revision history for this message
jonesints (jone-u2) wrote :

Not that I intend forcing to version 2.22.2 since I'm soon planning on upgrading, but I thought I'd say, I got this error when trying to launch tomboy and now it won't even load at all. So, at least in my case its more than just a terminal message.
If people don't intend to upgrade, I can understand the importance of fixing it!

studio@studio-laptop:~$ tomboy

(/usr/lib/tomboy/Tomboy.exe:3420): GLib-WARNING **: g_set_prgname() called multiple times

(/usr/lib/tomboy/Tomboy.exe:3420): GLib-WARNING **: g_set_prgname() called multiple times
[INFO]: Initializing Mono.Addins

Unhandled Exception: System.IO.IOException: Invalid handle to path "/home/studio/.local/share/tomboy/0d6597e4-b650-495d-8118-10d8b5487dfa.note"
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000]
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000]
  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]
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000]
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000]
  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]
  at Tomboy.NoteArchiver.Read (System.String read_file, System.String uri) [0x00000]
  at Tomboy.Note.Load (System.String read_file, Tomboy.NoteManager manager) [0x00000]
  at Tomboy.NoteManager.LoadNotes () [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory, System.String backup_directory) [0x00000]
  at Tomboy.NoteManager..ctor (System.String directory) [0x00000]
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000]