Skip to content

Instantly share code, notes, and snippets.

@snarkyboojum
Created October 1, 2011 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snarkyboojum/1256005 to your computer and use it in GitHub Desktop.
Save snarkyboojum/1256005 to your computer and use it in GitHub Desktop.
$ mono run/Niecza.exe examples/gtk1.pl
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application ---> System.DllNotFoundException: glibsharpglue-2
at (wrapper managed-to-native) GLib.Thread:glibsharp_g_thread_supported ()
at GLib.Thread.get_Supported () [0x00000] in <filename unknown>:0
at Gtk.Application..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
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 Niecza.OverloadCandidate.Invoke (System.Object obj, Niecza.Variable[] pos, Niecza.VarHash named) [0x00000] in <filename unknown>:0
at Niecza.CLRWrapperProvider+<BindGroup>c__AnonStoreyA.<>m__B (Niecza.Frame th) [0x00000] in <filename unknown>:0
at Niecza.Kernel.RunCore (Niecza.Frame& cur) [0x00000] in <filename unknown>:0
at line 0 (CLR::Gtk::Application.Init @ 0)
at /Users/adrian/Development/Perl6/niecza/examples/gtk1.pl line 9 (MAIN mainline @ 1)
at /Users/adrian/Development/Perl6/niecza/lib/CORE.setting line 2115 (CORE C1022_ANON @ 2)
at /Users/adrian/Development/Perl6/niecza/lib/CORE.setting line 2116 (CORE module-CORE @ 58)
at /Users/adrian/Development/Perl6/niecza/lib/CORE.setting line 2116 (CORE mainline @ 1)
at line 0 (boot-MAIN @ 1)
at line 0 (ExitRunloop @ 0)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 766 (CORE die @ 2)
at /Users/adrian/Development/Perl6/niecza/src/NieczaBackendDotnet.pm6 line 37 (NieczaBackendDotnet NieczaBackendDotnet.accept @ 13)
at /Users/adrian/Development/Perl6/niecza/src/NieczaCompiler.pm6 line 32 (NieczaCompiler C19_ANON @ 4)
at /Users/adrian/Development/Perl6/niecza/src/NieczaCompiler.pm6 line 38 (NieczaCompiler NieczaCompiler.compile @ 18)
at /Users/adrian/Development/Perl6/niecza/src/NieczaCompiler.pm6 line 68 (NieczaCompiler NieczaCompiler.compile_file @ 5)
at /Users/adrian/Development/Perl6/niecza/src/niecza line 306 (MAIN mainline @ 107)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 2115 (CORE C1022_ANON @ 2)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 2116 (CORE module-CORE @ 58)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 2116 (CORE mainline @ 1)
at line 0 (boot-MAIN @ 1)
at line 0 (ExitRunloop @ 0)
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application ---> System.DllNotFoundException: glibsharpglue-2
at (wrapper managed-to-native) GLib.Thread:glibsharp_g_thread_supported ()
at GLib.Thread.get_Supported () [0x00000] in <filename unknown>:0
at Gtk.Application..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
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 Niecza.OverloadCandidate.Invoke (System.Object obj, Niecza.Variable[] pos, Niecza.VarHash named) [0x00000] in <filename unknown>:0
at Niecza.CLRWrapperProvider+<BindGroup>c__AnonStoreyA.<>m__B (Niecza.Frame th) [0x00000] in <filename unknown>:0
at Niecza.Kernel.RunCore (Niecza.Frame& cur) [0x00000] in <filename unknown>:0
at line 0 (CLR::Gtk::Application.Init @ 0)
at /Users/adrian/Development/Perl6/niecza/examples/gtk1.pl line 9 (MAIN mainline @ 1)
at /Users/adrian/Development/Perl6/niecza/lib/CORE.setting line 2115 (CORE C1022_ANON @ 2)
at /Users/adrian/Development/Perl6/niecza/lib/CORE.setting line 2116 (CORE module-CORE @ 58)
at /Users/adrian/Development/Perl6/niecza/lib/CORE.setting line 2116 (CORE mainline @ 1)
at line 0 (boot-MAIN @ 1)
at line 0 (ExitRunloop @ 0)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 766 (CORE die @ 2)
at /Users/adrian/Development/Perl6/niecza/src/NieczaBackendDotnet.pm6 line 37 (NieczaBackendDotnet NieczaBackendDotnet.accept @ 13)
at /Users/adrian/Development/Perl6/niecza/src/NieczaCompiler.pm6 line 32 (NieczaCompiler C19_ANON @ 4)
at /Users/adrian/Development/Perl6/niecza/src/NieczaCompiler.pm6 line 38 (NieczaCompiler NieczaCompiler.compile @ 18)
at /Users/adrian/Development/Perl6/niecza/src/NieczaCompiler.pm6 line 68 (NieczaCompiler NieczaCompiler.compile_file @ 5)
at /Users/adrian/Development/Perl6/niecza/src/niecza line 306 (MAIN mainline @ 107)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 2115 (CORE C1022_ANON @ 2)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 2116 (CORE module-CORE @ 58)
at /Users/adrian/Development/Perl6/niecza/boot/lib/CORE.setting line 2116 (CORE mainline @ 1)
at line 0 (boot-MAIN @ 1)
at line 0 (ExitRunloop @ 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment