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

Xplorer .AppImage doesn't run on Fedora Linux #255

Open
akza07 opened this issue May 15, 2022 · 10 comments
Open

Xplorer .AppImage doesn't run on Fedora Linux #255

akza07 opened this issue May 15, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@akza07
Copy link

akza07 commented May 15, 2022

Description

Using Fedora Linux 36 Work Station, when I try to launch the AppImage it throws these messages.

Gtk-Message: 21:26:42.869: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:26:42.870: Failed to load module "pk-gtk-module"
Gtk-Message: 21:26:42.871: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:26:42.872: Failed to load module "pk-gtk-module"

** (xplorer:31336): ERROR **: 21:26:42.996: Unable to spawn a new child process: Failed to execute child process “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess” (No such file or directory)
[1]    31336 trace trap (core dumped)  ./xplorer_0.3.1_amd64.AppImage
➜  Downloads GDB_BACKEND=x11 ./xplorer_0.3.1_amd64.AppImage
Gtk-Message: 21:29:18.698: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:29:18.699: Failed to load module "pk-gtk-module"
Gtk-Message: 21:29:18.700: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:29:18.701: Failed to load module "pk-gtk-module"

** (xplorer:31668): ERROR **: 21:29:18.818: Unable to spawn a new child process: Failed to execute child process “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess” (No such file or directory)
[1]    31668 trace trap (core dumped)  ./xplorer_0.3.1_amd64.AppImage

It was the same in Fedora 35 Workstation.

Steps To Reproduce

just make it executable and run it. No UI or Error and fails silently.
Use terminal to run, it shows the given messages and ends.

Expected behavior

App to launch and show a GUI.

Xplorer Version

v0.3.1

Operating System Version

Fedora 36 Workstation

Additional Information

image

@akza07 akza07 added the bug Something isn't working label May 15, 2022
@jblumie
Copy link

jblumie commented May 17, 2022

Can confirm this happening to me too under Arch Linux. I have installed all the webkit2gtk versions in the official repos but the "/usr/lib/x86_64-linux-gnu" folder doesn't exist. I do not get the gtk canberra messages tho.

@akza07
Copy link
Author

akza07 commented May 18, 2022

It seems libwebkit2gtk-4.0-37 package needed as Tauri dependency isn't installed in Most distribution.

In fedora's case, running
sudo dnf install libwebkit2gtk-4.0-37 gives
No match for argument: libwebkit2gtk-4.0-37 Error: Unable to find a match: libwebkit2gtk-4.0-37

It's not in the official repos.

I think the AppImage will have to include libwebkit2gtk itself which I'm unsure Xplorer devs should handle or Tauri's side.

@kimlimjustin
Copy link
Owner

Really sorry that I won't able to check which problems is it but one question, does installing libwebkit2gtk fix it? If it does, I think I'll just write it on the docs (or maybe any PR will be welcomed)

@jblumie
Copy link

jblumie commented May 18, 2022

I did have installed the dependency on my system, the correct version. However it expected it to be under "/usr/lib/x86_64-linux-gnu/" and I had it under "/usr/lib/". I did a quick test with a symlink and it works just fine, the application now works, but that's not a solution.

Maybe the distro doesn't have the dependency or maybe it has but it's just in a different location, but that dependency, being a critical dependency which has caused problems, should be in the AppImage itself, I think.

UPDATE:
Just found out this issue is the same one as this, and this person solved it the same way I did. If it's a Tauri problem then I guess it's just a matter of waiting

#179 (comment)

@akza07
Copy link
Author

akza07 commented May 20, 2022

Yes. That Pull request to Tauri also mentions my case. So it's a Tauri issue.

Edit : It shows that it's Merged. So maybe try using Latest Tauri to build it?

@Mart-Bogdan
Copy link

App image is broken. Manjaro Linux.

For some reason you have in readme badge of [Arch] which points not to AUR but to releases page on GH. And there are no tgz, only stupid AppImage, and deb package.

When I run AppImage I'm gerring following error:

Unable to spawn a new child process: Не вдалося виконати дочірній процес «/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess» (No such file or directory)

Wasn't it the point of app image to bundle everything?

And wasn't this the point of Tauri -- to use system PROVIDED webkit, to not increase package size.

And then I unpacked deb archive and run it, and it works!!!

Previously I have installed webkitgtk package from repo.

@ghost
Copy link

ghost commented Jan 20, 2023

I tried all the versions and 1.0 is the only version worked.

I use Fedora 37 and installed sudo dnf install webkit2gtk3 and still the latest versions don't work

@Mart-Bogdan
Copy link

@ZHassanQ I think you need GTK4, not GTK3

@Mart-Bogdan
Copy link

But app image is broken. Just try unpacking deb package.

That's a shame, that Xplorer.app.tar.gz is Mac version. Would be nice to have linux version packaged as simple archive, and let users to take care of their dependencies.

@ghost
Copy link

ghost commented Jan 24, 2023

@Mart-Bogdan sudo dnf install gtk4 says is already installed.

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

No branches or pull requests

4 participants