← Back to team overview

desktop-packages team mailing list archive

[Bug 566066] Re: Tomboy crash on deleting a note

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: tomboy (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to tomboy in Ubuntu.
https://bugs.launchpad.net/bugs/566066

Title:
  Tomboy crash on deleting a note

Status in “tomboy” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: tomboy

  When I delete a note, tomboy crash. It shouldn't crash, more over, it
  should explain that "Access to the path is denied" and also witch one
  !

  How to solve it ?

  Catch the System.Reflection.TargetInvocationException in the
  Tomboy.NoteManager.Delete method and display an error message with the
  absolute path from which the access is denied.

  Here is the traceback :

  [INFO]: Initializing Mono.Addins
  Marshaling clicked signal
  Exception in Gtk# callback delegate
    Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path is denied.
    at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] 
    at Tomboy.NoteManager.Delete (Tomboy.Note note) [0x00000] 
    at Tomboy.NoteUtils.ShowDeletionDialog (System.Collections.Generic.List`1 notes, Gtk.Window parent) [0x00000] 
    at Tomboy.NoteWindow.OnDeleteButtonClicked (System.Object sender, System.EventArgs args) [0x00000] 
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
    --- End of inner exception stack trace ---
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] 
    at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
    at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
    at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] 
    at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] 
    at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] 
    at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] 
     at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
     at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
     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)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: tomboy 1.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Sun Apr 18 18:25:57 2010
  ProcEnviron:
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: tomboy

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