xplorer icon indicating copy to clipboard operation
xplorer copied to clipboard

Xplorer AppImage doesn't open on Arch Linux

Open aathif394 opened this issue 4 years ago • 17 comments

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 avatar Nov 24 '21 14:11 aathif394

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?

im-coder-lg avatar Nov 24 '21 15:11 im-coder-lg

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

kimlimjustin avatar Nov 24 '21 15:11 kimlimjustin

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

im-coder-lg avatar Nov 24 '21 16:11 im-coder-lg

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.

aathif394 avatar Nov 24 '21 16:11 aathif394

Is it v0.2.0?

im-coder-lg avatar Nov 25 '21 03:11 im-coder-lg

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.

im-coder-lg avatar Nov 25 '21 03:11 im-coder-lg

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 avatar Nov 25 '21 03:11 kimlimjustin

It works, just using dpkg -i command.

Are you referring to Debian?

im-coder-lg avatar Nov 25 '21 03:11 im-coder-lg

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)

kimlimjustin avatar Nov 25 '21 03:11 kimlimjustin

@kimlimjustin I have updated xplorer-bin to 0.2.0.

DTan13 avatar Nov 26 '21 02:11 DTan13

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

kimlimjustin avatar Nov 26 '21 02:11 kimlimjustin

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.

aathif394 avatar Nov 27 '21 07:11 aathif394

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

kimlimjustin avatar Nov 28 '21 11:11 kimlimjustin

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

aathif394 avatar Nov 28 '21 13:11 aathif394

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 avatar Nov 28 '21 13:11 kimlimjustin

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 🤙🏼

Bleyom avatar Jan 14 '22 01:01 Bleyom

You may need to include WebKitWebProcess file in AppImage package too

I use: Arch linux and xplorer v0.3.1

IamRezaMousavi avatar Mar 15 '23 14:03 IamRezaMousavi