Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 14.04 - Could not load file or assembly webkitgtk-sharp #1496

Closed
ashleyblackmore opened this issue Apr 19, 2014 · 4 comments
Closed

Comments

@ashleyblackmore
Copy link

All dependencies installed from their respective github repositories (including webkitgtk-sharp) as per linux instructions, except for gtk-sharp3 which was installed from apt.

21:33 $  sparkleshare start
21:33:15 | Environment | SparkleShare version: 1.4.0, Operating system: Unix (Unix 3.13.0.24)
21:33:15 | Config | Wrote to '/home/user/.config/sparkleshare/config.xml'
21:33:15 | Config | Updated option notifications:True
Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'webkitgtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=e1f0fd21e79c8b0f' or one of its dependencies.
File name: 'webkitgtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=e1f0fd21e79c8b0f'
  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 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at GLib.Application.g_application_run(IntPtr , Int32 , IntPtr )
   at GLib.Application.Run(Int32 argc, System.String argv)
   at SparkleShare.SparkleUI.Run()
   at SparkleShare.Program.Main(System.String[] args)

Seems it might be related to #1490

@ashleyblackmore ashleyblackmore changed the title Ubuntu 14.04 Ubuntu 14.04 - Could not load file or assembly webkitgtk-sharp Apr 19, 2014
@hbons
Copy link
Owner

hbons commented Apr 26, 2014

#1484 (comment) do the things in this comment help?

@ashleyblackmore
Copy link
Author

yes, thank you so much Hylke - I have Sparkleshare up and running again :)

@hbons
Copy link
Owner

hbons commented Apr 26, 2014

@ashleyblackmore good to hear. which step did the trick exactly?

@ashleyblackmore
Copy link
Author

I installed webkit-gtksharp using --prefix=/usr, and then had to do the same with appindicator-sharp. I first uninstalled each, too:

./autogen.sh && sudo make uninstall && ./autogen.sh --prefix=/usr && sudo make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants