jamiemcg / Remarkable

Remarkable - The Markdown Editor for Linux http://remarkableapp.github.io
MIT License
1.96k stars 228 forks source link

Live Preview broken in Ubuntu 20.04 with libwebkit2gtk-4.0-37 #354

Open lazzarello opened 4 years ago

lazzarello commented 4 years ago

Installed version from snapcraft

remarkable 0+git.6f21d49 5 latest/stable deadolus

Ubuntu 20.04 LTS.

Opening the application produces these errors from WebKitNetworkProcess

Warning: Remarkable could not connect to the internet to check for updates
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: undefined symbol: _ZN6WebKit14WebProcessMainEiPPc
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess: undefined symbol: _ZN6WebKit18NetworkProcessMainEiPPc

Each keystroke in the editor window causes an event to produce these two lines again. I have the following packages installed with the word webkit2gtk in the name

$ apt-cache search webkit2gtk
libwebkit2gtk-4.0-37 - Web content engine library for GTK
libwebkit2gtk-4.0-dev - Web content engine library for GTK - development files
libwebkit2gtk-4.0-doc - Web content engine library for GTK - documentation
libwebkit2gtk-4.0-37-gtk2 - Transitional dummy package
webkit2gtk-driver - WebKitGTK WebDriver support
lazzarello commented 4 years ago

The following pull request happens to fix this bug. A new release would be dope!

lazzarello commented 4 years ago

Prolly worth looking into the CPU performance of the Live Preview feature as typing with the pane open consumes 80% of a CPU core on my 2.7 Ghz Xeon

roadt commented 1 year ago

I met the same issue, I installed remarkable from snap. ubuntu 20.04.

/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: undefined symbol: _ZN6WebKit14WebProcessMainEiPPc

scovetta commented 1 year ago

Similar on Manjaro (from the snap):

# remarkable
Gtk-Message: 22:06:44.517: Failed to load module "xapp-gtk3-module"
Warning: Remarkable could not connect to the internet to check for updates
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess: undefined symbol: _ZN6WebKit14WebProcessMainEiPPc
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess: symbol lookup error: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess: undefined symbol: _ZN6WebKit18NetworkProcessMainEiPPc

The result is that I can edit on the markdown screen, but the preview screen is empty and I cannot export.