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

Self compiled sparkleshare crashes on start #1990

Open
axkibe opened this issue Feb 10, 2022 · 0 comments
Open

Self compiled sparkleshare crashes on start #1990

axkibe opened this issue Feb 10, 2022 · 0 comments

Comments

@axkibe
Copy link

axkibe commented Feb 10, 2022

Self compiled version doesn't start.

$ sparkleshare --status-icon=gtk
15:55:05 Environment | SparkleShare 3.38.0
15:55:05 Environment | Git LFS 2.13.2
15:55:05 Environment | Git 2.30.2
15:55:05 Environment | GNOME (Linux 5.10.0.11)
15:55:05 Cmd | gio set "/home/axel/SparkleShare" metadata::custom-icon-name org.sparkleshare.SparkleShare
15:55:05 Environment | GTK+ 3.24.24

(process:32667): GLib-GIO-CRITICAL **: 15:55:05.974: g_application_get_is_remote: assertion 'application->priv->is_registered' failed
15:55:05 Environment | Arguments: --status-icon=gtk
15:55:05 Environment | Status Icon: GtkStatusIcon
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.TypeLoadException: Could not load type of field 'SparkleShare.EventLog:web_view' (7) due to: Could not load file or assembly 'webkit2-sharp, Version=2.10.9.0, Culture=neutral, PublicKeyToken=93af088ca72d1b59' or one of its dependencies.
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0009a] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x0010d] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x0000b] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x0003e] in <4585e411a46b451eac14ce4f86025668>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00011] in <4585e411a46b451eac14ce4f86025668>:0 
  at GLib.SignalClosure.MarshalCallback (System.IntPtr raw_closure, System.IntPtr return_val, System.UInt32 n_param_vals, System.IntPtr param_values, System.IntPtr invocation_hint, System.IntPtr marshal_data) [0x00089] in <4585e411a46b451eac14ce4f86025668>:0 
  at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0 
  at GLib.SignalClosure.MarshalCallback (System.IntPtr raw_closure, System.IntPtr return_val, System.UInt32 n_param_vals, System.IntPtr param_values, System.IntPtr invocation_hint, System.IntPtr marshal_data) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0 
  at GLib.Application.g_application_run (System.IntPtr , System.Int32 , System.IntPtr ) [0x00000] in <46b602a63bb84fcea4f86063f00beda0>:0 
  at GLib.Application.Run (System.Int32 argc, System.String argv) [0x00000] in <46b602a63bb84fcea4f86063f00beda0>:0 
  at System.Reflection.RuntimeMethodInfo.InternalInvoke (System.Reflection.RuntimeMethodInfo , System.Object , System.Object[] , System.Exception& ) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at SparkleShare.UserInterface.Run (System.String[] args) [0x00000] in <d4215a86cf624b3f9a952dc7ca6769d0>:0 
  at SparkleShare.SparkleShare.Main (System.String[] args) [0x00000] in <d4215a86cf624b3f9a952dc7ca6769d0>:0 

My issues with host key on the flatpak version made me try to compile it myself, that one doesn't even start.

Albeit I skipped the "appindicator-sharp" thing (thats why I'm trying the "--status-icon=gtk" thingy). Here the issue is that libappindicator3-dev is deprecated from debian and no longer in debian bullseye. Debian is now using libayatana-appindicator. PS: As Ubuntu builds on debian it usually follows these kind of decissions...

@axkibe axkibe changed the title There is no Self compiled sparkleshare crashes on start Feb 10, 2022
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

1 participant