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 open on Arch Linux #179

Open
aathif394 opened this issue Nov 24, 2021 · 17 comments
Open

Xplorer AppImage doesn't open on Arch Linux #179

aathif394 opened this issue Nov 24, 2021 · 17 comments
Labels
bug Something isn't working dependency bug Problem with dependency/framework os: linux Linux platform

Comments

@aathif394
Copy link

Description

Running the xplorer appimage does not work and instead errors out.
** (xplorer:5459): ERROR **: 20:24:41.369: 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)

I do have webkit2gtk and webkit2gtk-4.1 installed.

Steps To Reproduce

  1. Try to launch the appimage on arch or arch based distros.
  2. The app doesn't launch

Expected behavior

The app is supposed to launch without any errors

Xplorer Version

v0.2.0

Operating System Version

EndeavourOS

Additional Information

No response

@aathif394 aathif394 added the bug Something isn't working label Nov 24, 2021
@im-coder-lg
Copy link
Contributor

Have you installed Rust and Tauri dependencies via pacman? Mostly I guess you need Rust, Node 17 and maybe and optionally, the Tauri dependencies.
@kimlimjustin any ideas?

@kimlimjustin
Copy link
Owner

Have you installed Rust and Tauri dependencies via pacman? Mostly I guess you need Rust, Node 17 and maybe and optionally, the Tauri dependencies. @kimlimjustin any ideas?

Rust and node js are not needed for the packaged app.

Actually, I tried to install AppImage on Garuda Linux (an Arch os-based Linux distro) and it works but not sure with freshly installed Arch Linux tho, but yeah, I'll try to install fresh arch os VM and try to install Xplorer appimage inside tomorrow.

Anyway, does the deb installer works there (if you don't mind trying)?

Thanks

@im-coder-lg
Copy link
Contributor

Arch doesn't use deb files it uses .pacman files.

@aathif394
Copy link
Author

I did try the xplorer-bin package from the AUR and that worked without any issues. The AUR pacakge just repackages the deb format to work with Arch.

@im-coder-lg
Copy link
Contributor

Is it v0.2.0?

@im-coder-lg
Copy link
Contributor

I'll try to install fresh arch os VM and try to install Xplorer AppImage inside tomorrow.

PS: The normal Arch Linux might make you feel disturbed since you need to apply commands for installing, so make sure you get the one with Xfce, it might need only 2 GB of memory, I guess it will have a GUI installer, and it will do the job.

@kimlimjustin
Copy link
Owner

Arch doesn't use deb files it uses .pacman files.

It works, just using dpkg -i command.

I did try the xplorer-bin package from the AUR and that worked without any issues. The AUR package just repackages the deb format to work with Arch.

The xplorer-bin is not up to date, it is still on v0.1.0 and I do not clearly understand how AUR works and the 0.1.0 is provided by @DTan13, could you please help me update the package? Or do you have any resources of AUR? Thanks a lot

@kimlimjustin kimlimjustin added the os: linux Linux platform label Nov 25, 2021
@im-coder-lg
Copy link
Contributor

It works, just using dpkg -i command.

Are you referring to Debian?

@kimlimjustin
Copy link
Owner

It works, just using dpkg -i command.

Are you referring to Debian?

You can install deb installer on arch linux using dpkg -i command, (I do that every day on Garuda Linux), but not sure if it works on freshly installed Arch Linux, need to test tho (maybe later today)

@DTan13
Copy link
Contributor

DTan13 commented Nov 26, 2021

@kimlimjustin I have updated xplorer-bin to 0.2.0.

@kimlimjustin
Copy link
Owner

Thanks a lot, @aathif394 could you please give it a try?

@aathif394
Copy link
Author

Sorry for replying late, I was not able to check yesterday. As I said earlier, the problem does not occur when using the AUR package. I tried the latest one too. I get an error when I use the AppImage version.

@kimlimjustin
Copy link
Owner

Could you please run the app image via terminal and send the error? It seems like some dependencies are missing...

@aathif394
Copy link
Author

I have already posted the output when I created the issue. I think you forgot to see that :)

@kimlimjustin
Copy link
Owner

Ah ye, my bad. After asking on Tauri discord for clues, this is actually a problem with Tauri itself, which is detailed on this PR, waiting for the PR to be merged to fix this issue.

@kimlimjustin kimlimjustin added the dependency bug Problem with dependency/framework label Nov 28, 2021
@Bleyom
Copy link

Bleyom commented Jan 14, 2022

Well I had the same error and the solution was to search for the file "WebKitNetworkProcess"
sudo find / -name WebKitNetworkProcess 2>/dev/null
and i find the file "WebKitNetworkProcess" in "/usr/lib/webkit2gtk-4.0/WebKitWebProcess"
I created the /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/ and make a symlink to "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess"
And now the .AppImage works fine 🤙🏼

@IamRezaMousavi
Copy link

You may need to include WebKitWebProcess file in AppImage package too

I use:
Arch linux and
xplorer v0.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependency bug Problem with dependency/framework os: linux Linux platform
Projects
None yet
Development

No branches or pull requests

6 participants