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

AM2R_Launcher does not run with libwebkit2gtk-5.0 #38

Open
ImonFyre opened this issue Dec 3, 2022 · 3 comments
Open

AM2R_Launcher does not run with libwebkit2gtk-5.0 #38

ImonFyre opened this issue Dec 3, 2022 · 3 comments
Labels
bug Something isn't working upstream

Comments

@ImonFyre
Copy link

ImonFyre commented Dec 3, 2022

Describe the bug
When trying to execute AM2R_Launcher on a system that has libwebkit2gtk-5.0 installed, the application crashes with the following:

Unhandled Exception has occured in your Application.
Unable to load shared library 'libwebkit2gtk-4.0.so.37' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/home/kyle/am2r/AM2R_Launcher/libwebkit2gtk-4.0.so.37.so: cannot open shared object file: No such file or directory
/opt/dotnet-sdk-bin-7.0/shared/Microsoft.NETCore.App/7.0.0/libwebkit2gtk-4.0.so.37.so: cannot open shared object file: No such file or directory
/home/kyle/am2r/AM2R_Launcher/liblibwebkit2gtk-4.0.so.37.so: cannot open shared object file: No such file or directory
/opt/dotnet-sdk-bin-7.0/shared/Microsoft.NETCore.App/7.0.0/liblibwebkit2gtk-4.0.so.37.so: cannot open shared object file: No such file or directory
/home/kyle/am2r/AM2R_Launcher/libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
/opt/dotnet-sdk-bin-7.0/shared/Microsoft.NETCore.App/7.0.0/libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
/home/kyle/am2r/AM2R_Launcher/liblibwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
/opt/dotnet-sdk-bin-7.0/shared/Microsoft.NETCore.App/7.0.0/liblibwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

*****Stack Trace*****

   at Eto.GtkSharp.NativeMethods.NMLinux.webkit_web_view_new()
   at Eto.GtkSharp.NativeMethods.webkit_web_view_new()
   at Eto.GtkSharp.Forms.Controls.WebViewHandler..ctor()
   at Eto.GtkSharp.Platform.<>c.<AddTo>b__12_61()
   at Eto.Widget..ctor()
   at Eto.Forms.BindableWidget..ctor()
   at Eto.Forms.Control..ctor()
   at Eto.Forms.WebView..ctor()
   at AM2RLauncher.MainForm..ctor() in /home/runner/work/AM2RLauncher/AM2RLauncher/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs:line 324
   at AM2RLauncher.Gtk.MainClass.Main() in /home/runner/work/AM2RLauncher/AM2RLauncher/AM2RLauncher/AM2RLauncher.Gtk/Program.cs:line 79
Check the logs at /root/.local/share/AM2RLauncher for more info!

Expected behavior
AM2R launcher runs

To Reproduce
Steps to reproduce the behavior:

  1. Install libwebkit2gtk-5.0
  2. run AM2R_Launcher

Platform

  • OS: Gentoo Linux, Kernel 6.0.10
  • AM2RLauncher Version: 2.3.0

AM2RLauncher.log

@ImonFyre ImonFyre added the bug Something isn't working label Dec 3, 2022
@Miepee
Copy link
Collaborator

Miepee commented Dec 4, 2022

Eto bug, I noticed the same recently when trying to upgrade the Gnome version on the Flatpak: flathub/io.github.am2r_community_developers.AM2RLauncher#4

Thanks for the reminder to open the issue upstream.

@Miepee
Copy link
Collaborator

Miepee commented Dec 4, 2022

Opened issue upstream: picoe/Eto#2361

@ImonFyre
Copy link
Author

ImonFyre commented Dec 4, 2022

Awesome, glad I could be helpful in some way /thumbsup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

2 participants