App crashes on close.

Bug #2004570 reported by Jose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
New
Undecided
Unassigned

Bug Description

WINDOWS 10X64, LATEST VERSION. INTEL G3240+8GB DDR3+SSD

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> GLib.GException: Invalid filename
   at GLib.FileAdapter.Replace(String etag, Boolean make_backup, FileCreateFlags flags, Cancellable cancellable)
   at Pinta.Core.GtkExtensions.Replace(IFile file) in D:\a\Pinta\Pinta\Pinta.Core\Extensions\GtkExtensions.cs:line 289
   at Pinta.Core.PaintDotNetPalette.Save(List`1 colors, IFile file) in D:\a\Pinta\Pinta\Pinta.Core\PaletteFormats\PaintDotNetPalette.cs:line 66
   at Pinta.Core.Palette.Save(IFile file, IPaletteSaver saver) in D:\a\Pinta\Pinta\Pinta.Core\Classes\Palette.cs:line 190
   at Pinta.Core.PaletteManager.SaveCurrentPalette() in D:\a\Pinta\Pinta\Pinta.Core\Managers\PaletteManager.cs:line 184
   at Pinta.Core.PaletteManager.<.ctor>b__21_0(Object o, EventArgs e) in D:\a\Pinta\Pinta\Pinta.Core\Managers\PaletteManager.cs:line 87
   at Pinta.Core.SettingsManager.DoSaveSettingsBeforeQuit() in D:\a\Pinta\Pinta\Pinta.Core\Managers\SettingsManager.cs:line 106
   at Pinta.MainWindow.SaveUserSettings() in D:\a\Pinta\Pinta\Pinta\MainWindow.cs:line 497
   at Pinta.MainWindow.<OnActivated>b__6_2(Object <p0>, EventArgs <p1>) in D:\a\Pinta\Pinta\Pinta\MainWindow.cs:line 119
   at Pinta.Core.AppActions.RaiseBeforeQuit() in D:\a\Pinta\Pinta\Pinta.Core\Actions\AppActions.cs:line 67
   at Pinta.Actions.ExitProgramAction.Activated(Object sender, EventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\ExitAction.cs:line 61
   at Pinta.Core.Command.<.ctor>b__33_0(Object o, ActivatedArgs args) in D:\a\Pinta\Pinta\Pinta.Core\Actions\Command.cs:line 61
   at InvokeStub_ActivatedHandler.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

Revision history for this message
Cameron White (cameronwhite91) wrote :

Looks like something is going wrong with saving the current palette to the preferences folder
For Windows this is something like "%AppData%\Roaming\Pinta" I think - does that file exist / have appropriate permissions? Although it looks like the error message is something to do with the file name so it would be useful to see what the path of that folder is on your system

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.