← Back to team overview

linux-traipu team mailing list archive

[Bug 1453487] [NEW] Do crashes if ~/Pictures doesn't exist

 

Public bug reported:

I've don't have a ~/Pictures directory, and as a result, Do crashes everytime I begin by typing "p".
Deleting the .local/share/gnome-do directory and starting over doesn't seem to help, neither does disabling the files plugin.

Stack trace:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> GLib.GException: Error when getting information for file '/home/steven/Pictures': No such file or directory
  at GLib.FileAdapter.QueryInfo (System.String attributes, FileQueryInfoFlags flags, GLib.Cancellable cancellable) [0x00000] in <filename unknown>:0 
  at Do.Universe.Linux.FileItem.get_MimeType () [0x00000] in <filename unknown>:0 
  at Do.Universe.Linux.FileItem.get_Icon () [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelFullResultItemRenderer.RenderItem (Cairo.Context cr, Point renderAnchor, Int32 width, Do.Universe.Item item, Boolean drawArrow) [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.BufferItem (Do.Universe.Item item) [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.RenderItem (Cairo.Context cr, Int32 item) [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.DrawContextOnSurface (Cairo.Surface sr) [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.Paint () [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.AnimatedDraw () [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.Draw () [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.BezelGlassResults.set_Context (IUIContext value) [0x00000] in <filename unknown>:0 
  at Do.Interface.AnimationBase.AbstractAnimatedInterface.SetPaneContext (Pane pane, IUIContext context) [0x00000] in <filename unknown>:0 
  at Do.Core.Controller.UpdatePane (Pane pane) [0x00000] in <filename unknown>:0 
  at Do.Core.Controller.SmartUpdatePane (Pane pane) [0x00000] in <filename unknown>:0 
  at Do.Core.Controller.SearchFinished (System.Object o, Do.Interface.SearchFinishState state, Pane pane) [0x00000] in <filename unknown>:0 
  at Do.Core.Controller.<Controller>m__2 (System.Object o, Do.Interface.SearchFinishState state) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_SearchFinishState (object,Do.Interface.SearchFinishState)
  at Do.Core.SimpleSearchController.OnSearchFinished (Boolean selection_changed, Boolean query_changed, Do.Universe.Item selection, System.String query) [0x00000] in <filename unknown>:0 
  at Do.Core.FirstSearchController.UpdateResults () [0x00000] in <filename unknown>:0 
  at Do.Core.SimpleSearchController.AddChar (Char character) [0x00000] in <filename unknown>:0 
  at Do.Core.Controller.OnIMCommit (System.Object sender, Gtk.CommitArgs e) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,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] in <filename unknown>:0 
  --- 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] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
   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.IMContext.gtk_im_context_filter_keypress(IntPtr , IntPtr )
   at Gtk.IMContext.FilterKeypress(Gdk.EventKey evnt)
   at Do.Core.Controller.OnInputKeyPressEvent(Gdk.EventKey evnt)
   at Do.Core.Controller.KeyPressWrap(Gdk.EventKey evnt)
   at Do.Interface.AnimationBase.AbstractAnimatedInterface.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Do.Do.Main(System.String[] args)

** Affects: do
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Do.
https://bugs.launchpad.net/bugs/1453487

Title:
  Do crashes if ~/Pictures doesn't exist

Status in Do:
  New

Bug description:
  I've don't have a ~/Pictures directory, and as a result, Do crashes everytime I begin by typing "p".
  Deleting the .local/share/gnome-do directory and starting over doesn't seem to help, neither does disabling the files plugin.

  Stack trace:

  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> GLib.GException: Error when getting information for file '/home/steven/Pictures': No such file or directory
    at GLib.FileAdapter.QueryInfo (System.String attributes, FileQueryInfoFlags flags, GLib.Cancellable cancellable) [0x00000] in <filename unknown>:0 
    at Do.Universe.Linux.FileItem.get_MimeType () [0x00000] in <filename unknown>:0 
    at Do.Universe.Linux.FileItem.get_Icon () [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelFullResultItemRenderer.RenderItem (Cairo.Context cr, Point renderAnchor, Int32 width, Do.Universe.Item item, Boolean drawArrow) [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.BufferItem (Do.Universe.Item item) [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.RenderItem (Cairo.Context cr, Int32 item) [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.DrawContextOnSurface (Cairo.Surface sr) [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.Paint () [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.AnimatedDraw () [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.Draw () [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.BezelGlassResults.set_Context (IUIContext value) [0x00000] in <filename unknown>:0 
    at Do.Interface.AnimationBase.AbstractAnimatedInterface.SetPaneContext (Pane pane, IUIContext context) [0x00000] in <filename unknown>:0 
    at Do.Core.Controller.UpdatePane (Pane pane) [0x00000] in <filename unknown>:0 
    at Do.Core.Controller.SmartUpdatePane (Pane pane) [0x00000] in <filename unknown>:0 
    at Do.Core.Controller.SearchFinished (System.Object o, Do.Interface.SearchFinishState state, Pane pane) [0x00000] in <filename unknown>:0 
    at Do.Core.Controller.<Controller>m__2 (System.Object o, Do.Interface.SearchFinishState state) [0x00000] in <filename unknown>:0 
    at (wrapper delegate-invoke) <Module>:invoke_void__this___object_SearchFinishState (object,Do.Interface.SearchFinishState)
    at Do.Core.SimpleSearchController.OnSearchFinished (Boolean selection_changed, Boolean query_changed, Do.Universe.Item selection, System.String query) [0x00000] in <filename unknown>:0 
    at Do.Core.FirstSearchController.UpdateResults () [0x00000] in <filename unknown>:0 
    at Do.Core.SimpleSearchController.AddChar (Char character) [0x00000] in <filename unknown>:0 
    at Do.Core.Controller.OnIMCommit (System.Object sender, Gtk.CommitArgs e) [0x00000] in <filename unknown>:0 
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,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] in <filename unknown>:0 
    --- 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] in <filename unknown>:0 
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
    at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
    at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
    at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
    at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
    at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
    at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
     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.IMContext.gtk_im_context_filter_keypress(IntPtr , IntPtr )
     at Gtk.IMContext.FilterKeypress(Gdk.EventKey evnt)
     at Do.Core.Controller.OnInputKeyPressEvent(Gdk.EventKey evnt)
     at Do.Core.Controller.KeyPressWrap(Gdk.EventKey evnt)
     at Do.Interface.AnimationBase.AbstractAnimatedInterface.OnKeyPressEvent(Gdk.EventKey evnt)
     at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
     at Gtk.Application.gtk_main()
     at Gtk.Application.Run()
     at Do.Do.Main(System.String[] args)

To manage notifications about this bug go to:
https://bugs.launchpad.net/do/+bug/1453487/+subscriptions


Follow ups

References