Bug 6482

Summary: Cannot quit pinta
Product: Mageia Reporter: Jacques Pronchery <jacques.pronchery>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: 2Keywords: NEEDINFO
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: pinta-1.1-2.mga2 CVE:
Status comment:

Description Jacques Pronchery 2012-06-16 13:55:02 CEST
Pinta works fine but we have the message :

[jacques@localhost ~]$ pinta
ERROR: Add-in cache directory could not be created (Access to the path "/home/jacques/.config/mono.addins/addin-db-001/addin-data/873594504" is denied.)
Marshaling activate signal

and when we want to quit there is a message :

Unhandled exception:
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path "/home/jacques/.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) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] 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) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Components.Docking.DockFrame.SaveLayouts (System.String file) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.SaveUserSettings () [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.<MainWindow>m__33 (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0 
  at Pinta.Core.FileActions.RaiseBeforeQuit () [0x00000] in <filename unknown>:0 
  at Pinta.Actions.ExitProgramAction.Activated (System.Object sender, System.EventArgs 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 

And pinta cannot be closed.
Comment 1 Sander Lepik 2012-06-16 14:07:06 CEST
Are you sure that your user is the owner of /home/jacques/.config/mono.addins and its subdirectories + files?

CC: (none) => sander.lepik

Sander Lepik 2012-06-16 14:07:18 CEST

Keywords: (none) => NEEDINFO

Comment 2 Jacques Pronchery 2012-06-16 14:37:28 CEST
Oh yes the owner was root and the user jacques. (I do not know why !!!)
I deleted mono.addins and its subdirectories + files.
Now it is correct but I cannot close pinta.
I have the same message.
Comment 3 Jacques Pronchery 2012-06-16 14:54:34 CEST
I founded there was also the directory ~/.config/pinta with owner root.
I deleted it and now all is OK.
Excuse me.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 4 Manuel Hiebel 2012-06-16 22:38:00 CEST
closing then, feel free to reopen.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => FIXED

Comment 5 Manuel Hiebel 2012-06-16 22:38:58 CEST
better

Resolution: FIXED => INVALID