Access to the path "/home/fivemil/.config/Pinta/layouts.xml" is denied

Bug #1629891 reported by Joseph Daurio
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pinta
Incomplete
Undecided
Unassigned

Bug Description

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path "/home/fivemil/.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) <0xb555c550 + 0x00720> in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0xb555c100 + 0x00051> 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) <0xb1e0cda8 + 0x0003f> in <filename unknown>:0
  at MonoDevelop.Components.Docking.DockFrame.SaveLayouts (System.String file) <0xb1e16d18 + 0x00047> in <filename unknown>:0
  at Pinta.MainWindow.SaveUserSettings () <0xb1e16910 + 0x00063> in <filename unknown>:0
  at Pinta.MainWindow.<MainWindow>m__1 (System.Object , System.EventArgs ) <0xb1e168e8 + 0x00013> in <filename unknown>:0
  at Pinta.Core.FileActions.RaiseBeforeQuit () <0xb1e168b0 + 0x0002c> in <filename unknown>:0
  at Pinta.Actions.ExitProgramAction.Activated (System.Object sender, System.EventArgs e) <0xb1e155b0 + 0x00083> 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) <0xb55ad950 + 0x00091> 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) <0xb55ad950 + 0x000da> in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0xb53c8120 + 0x00046> in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) <0xb56739a0 + 0x00267> in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) <0xb567c770 + 0x00030> in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) <0xb56738b0 + 0x00024> in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) <0xb2284c88 + 0x00127> in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) <0xb2284c58 + 0x00029> 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) <0xb2283668 + 0x0025b> in <filename unknown>:0

Revision history for this message
grofaty (grofaty) wrote :

In error: "Access to the path "/home/fivemil/.config/Pinta/layouts.xml" is denied." It looks like you are using Pinta in some Linux distribution. Have you by any chance changed permission to file/directory? It looks like Pinta is unable to access its own config file.

summary: - System.Reflection.TargetInvocationException: Exception has been thrown
- by the target of an invocation. ---> System.UnauthorizedAccessException:
- Access to the path "/home/fivemil/.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) <0xb555c550 + 0x00720> in <filename unknown>:0
- at System.IO.FileStream..ctor (System.String path, FileMode mode,
- FileAccess access, FileShare share) <0xb555c100 + 0x00051> 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) <0xb1e0cda8 + 0x0003f> in <filename
- unknown>:0 at MonoDevelop.Components.Docking.DockFrame.SaveLayouts
- (System.String file) <0xb1e16d18 + 0x00047> in <filename unknown>:0
- at Pinta.MainWindow.SaveUserSettings () <0xb1e16910 + 0x00063> in
- <filename unknown>:0 at Pinta.MainWindow.<MainWindow>m__1
- (System.Object , System.EventArgs ) <0xb1e168e8 + 0x00013> in <filename
- unknown>:0 at Pinta.Core.FileActions.RaiseBeforeQuit () <0xb1e168b0 +
- 0x0002c> in <filename unknown>:0 at
- Pinta.Actions.ExitProgramAction.Activated (System.Object sender,
- System.EventArgs e) <0xb1e155b0 + 0x00083> 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) <0xb55ad950 + 0x00091> 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) <0xb55ad950 + 0x000da> in
- <filename unknown>:0 at System.Reflection.MethodBase.Invoke
- (System.Object obj, System.Object[] parameters) <0xb53c8120 + 0x00046>
- in <filename unknown>:0 at System.Delegate.DynamicInvokeImpl
- (System.Object[] args) <0xb56739a0 + 0x00267> in <filename unknown>:0
- at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args)
- <0xb567c770 + 0x00030> in <filename unknown>:0 at
- System.Delegate.DynamicInvoke (System.Object[] args) <0xb56738b0 +
- 0x00024> in <filename unknown>:0 at GLib.Signal.ClosureInvokedCB
- (System.Object o, GLib.ClosureInvokedArgs args) <0xb2284c88 + 0x00127>
- in <filename unknown>:0 at GLib.SignalClosure.Invoke
- (GLib.ClosureInvokedArgs args) <0xb2284c58 + 0x00029> 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) <0xb2283668 + 0x0025b> in
- <filename unknown>:0 when trying to close pinta
+ Access to the path "/home/fivemil/.config/Pinta/layouts.xml" is denied
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.