#"WebKit encountered an internal error"

3 messages · Page 1 of 1 (latest)

cobalt grail
#

SOLUTION
#1225506472306278532 message

Hi all,
Originally, I was running into a previous problem that prevented me from running the app regarding of undefined symbol "__libc_pthread_init, version GLIBC_PRIVATE". When I search online for a solution, the recommended solution was to run unset GTK_PATH in terminal, which fixes the problem above. However, when the app finally ran, it presented me with another error that WebKit encountered an internal error with no additional information display in console log. When I look back in the rust compiler log, it reports four "Failed to load module "canberra-gtk-module" message, follow by the same error regarding of GLIBC_PRIVATE initially.

I am using Ubuntu 22.04.4 LTS 64bit
GNOME 42.9
Window system: X11
Using tauri version 1.5 with all api features.

This process works fine on MacOS, but does not work fine on Ubuntu Linux machine.

This app used to work before in the past, until after a recent update that I performed on my mac computer, that no longer runs on my linux machine. I've already ran cargo update and still to no avail.

Help is much appreciated!

cobalt grail
#

Some update: Received a tip to run cargo tauri dev in terminal outside VSCode's terminal window. Will try this when I get back to my place.

cobalt grail
#

Yup - seems like an snap app issue. For future visitors: uninstall the snap version of Code, and download the .deb version - https://code.visualstudio.com/download | sudo apt install ~/Download/code_XXX.deb. Once it's finish, cargo tauri dev will no longer complain with any of the error message above.

Huge thanks to @spark gust for helping work through this ugly snap problem for linux distro!

Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.