I can not close the program

Bug #1779735 reported by Arthu Vinicius Demetrio Santiago
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Incomplete
Undecided
Unassigned

Bug Description

Every time I try to close the program a traditional mode, it displays the following error message:

Unhandled exception:
Exception has been thrown by the target of an invocation.

Detalhes:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path "/home/arthu/.config/Pinta/layouts.xml" is denied.
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x7f112b15d2c0 + 0x005ed> in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x7f112b15cf30 + 0x0004b> 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.Xml.XmlTextWriter..ctor (System.String filename, System.Text.Encoding encoding) <0x41edb140 + 0x00048> in <filename unknown>:0
  at MonoDevelop.Components.Docking.DockFrame.SaveLayouts (System.String file) <0x41edb070 + 0x00053> in <filename unknown>:0
  at Pinta.MainWindow.SaveUserSettings () <0x41edabe0 + 0x00067> in <filename unknown>:0
  at Pinta.MainWindow.<MainWindow>m__1 (System.Object , System.EventArgs ) <0x41edabc0 + 0x0000f> in <filename unknown>:0
  at Pinta.Core.FileActions.RaiseBeforeQuit () <0x41edab80 + 0x0002d> in <filename unknown>:0
  at Pinta.Actions.ExitProgramAction.Activated (System.Object sender, System.EventArgs e) <0x41ed95d0 + 0x000ab> 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) <0x7f112b1ab9e0 + 0x000a1> 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) <0x7f112b1ab9e0 + 0x000ef> in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0x7f112afe3cf0 + 0x0002a> in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) <0x7f112b263f60 + 0x0024c> in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) <0x7f112b26c040 + 0x00035> in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) <0x7f112b263e80 + 0x00019> in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) <0x41e2f4b0 + 0x00153> in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) <0x41e2f470 + 0x0002f> 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) <0x41e2de00 + 0x002bb> in <filename unknown>:0

Revision history for this message
Arthu Vinicius Demetrio Santiago (arthu.santiago) wrote :
Revision history for this message
grofaty (grofaty) wrote :

I a pretty sure something else has triggered the problem. Some step before save was problematic. Writing exact step by step how crash appears would be very helpful.

Also writing Pinta version (Help | About) and operating system name and version.

grofaty (grofaty)
Changed in pinta:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers