STEPS: Download and Install new version Pinta 1.6 on Max OS X Yosemite version 10.10.2 Mac mini server (late 2012). Unzip and copy Pinta icon to applications folder. Below error appears. Click OK. Pinta closes. Also downloaded and installed Mono after that. No change.
ERROR: Unhandled Exception: Exception has been thrown by the target of an invocation.
DETAILS: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Cairo.Context.SetSource'.
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
I think this might be an issue with the Mac package being built on Ubuntu, which uses a newer version of Mono.Cairo than what is shipped with the Mono installer we link to from http:// pinta-project. com/releases.
Can you try out the latest Mono installer from http:// www.mono- project. com/download/ and check if that works?
Regardless, though, I think https:/ /github. com/PintaProjec t/Pinta/ commit/ 34b698d3 needs to be changed to use a separate method rather than an extension method in order to avoid this problem.