Public bug reported:

After a problem with my computer, a few things got cleaned up by fsck.
Tomboy however refused to load. Running from the command line gives (key
line being: System.IO.IOException: Invalid handle to path
"/home/m/.local/share/tomboy/78aa9097-ac72-4e91-a512-f3724aeec3b3.note"):

m@am:~$ tomboy
[INFO 13:14:22.740] 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/m/.local/share/tomboy/78aa9097-ac72-4e91-a512-f3724aeec3b3.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.Initialize () [0x00000] 
  at Tomboy.Tomboy+<Main>c__AnonStorey1.<>m__0 () [0x00000] 
  at GLib.Timeout+TimeoutProxy.Handler () [0x00000] 
   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)
m@am:~$

I think it would be nice if Tomboy could cope with not being able to
open a file now and again.

Apport gives more info about my system:

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: tomboy 1.2.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-41.94-generic 2.6.32.59+drm33.24
Uname: Linux 2.6.32-41-generic i686
Architecture: i386
Date: Tue Aug  7 13:16:19 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: tomboy

** Affects: tomboy (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033961

Title:
  tomboy can not deal with input/output errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/1033961/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to