Comment 30 for bug 513945

Revision history for this message
Kees van den Broek (kvdb-kvdb) wrote :

Some problem here (harddisk full, after regaining space, unable to save), but a slightly different error.

Running: tomboy (1.10.1-0ubuntu1) precise; urgency=low

[ERROR 17:22:54.022] Exception while saving note: System.IO.IOException: Invalid handle to path "/home/user/.local/share/tomboy/fb094aa4-6bbe-405b-9e60-c87ee6343d2b.note.tmp"
  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.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
  at System.Xml.XmlWriter.Create (System.String file, System.Xml.XmlWriterSettings settings) [0x00000] in <filename unknown>:0
  at Tomboy.NoteArchiver.WriteFile (System.String write_file, Tomboy.NoteData note) [0x00000] in <filename unknown>:0
  at Tomboy.NoteArchiver.Write (System.String write_file, Tomboy.NoteData note) [0x00000] in <filename unknown>:0
  at Tomboy.Note.Save () [0x00000] in <filename unknown>:0

Suggested workaround fixed issue for me too:
rm ~/.local/share/tomboy/*.tmp