Pinta errors after today’s update

Pinta is broken after today’s update. Here’s errors, that it returns after launch:

System.UriFormatException: Invalid URI: The URI is empty.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at System.Uri..ctor(String uriString)
   at GLib.FileAdapter.get_Uri()
   at Pinta.MainWindow.LoadUserSettings()
   at Pinta.MainWindow.OnActivated()
   at GLib.Application.Activated_cb(IntPtr inst)

And second:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Pinta.Core.BaseTool.SetCursor(Cursor cursor)
   at Pinta.Core.BaseTool.<.ctor>b__14_0(Object _, EventArgs _)
   at Pinta.Core.WorkspaceManager.OnActiveDocumentChanged(EventArgs e)
   at Pinta.Core.WorkspaceManager.SetActiveDocumentInternal(Document document)
   at Pinta.Core.WindowActions.<.ctor>b__11_0(Object o, ActivatedArgs e)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   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)

Please, fix it or revert the update.

I can’t reproduce that, it runs fine for me.

FYI, pinta is packaged by Arch, not Manjaro.

❯ pacman -Si pinta | grep Packager
Packager        : NicoHood <nicohood@archlinux.org>

I completely reinstalled Pinta, deleted all its configs, but it returns 2 errors right after launch.

Screenshots


If I click on every button, it returns this error.

Screenshot

I found the reason of these errors. It stopped to like my ~/.config/user-dirs.dirs . However I didn’t update it since 2019 year. After I deleted this config and ran xdg-user-dirs-update, it starts without errors. However, I still can’t understand the reason, why my old config became incorrect for new version of Pinta.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.