gnosygnu / xowa

xowa offline wiki application
Other
379 stars 40 forks source link

Does not launch on ArchLinux : No more handles because there is no underlying browser available. #868

Open cl-parsons opened 11 months ago

cl-parsons commented 11 months ago

OS : ArchLinux (updated in november 2023) Architecture : AMD64 XOWA version : 4.6.12.2009 Display Manager : Xorg Window Manager : i3

I downloaded the XOWA binary from the xowa.org website, unzipped it and tried to launch it from the command line. A pop-up with the following error appeared :

Sorry! XOWA failed to run!

Please check the TROUBLESHOOTING section in the readme.txt for known issues.

You can also open an issue or send an email with the data below.

Thanks!

----
OS: linux
Java: 17.0.9 (64 bit)
Java path: 17.0.9
XOWA: 4.6.12.2009
XOWA path: /home/emixam/Downloads/xowa/xowa_linux_64.jar

Error: org.eclipse.swt.SWTError: No more handles because there is no underlying browser available.
Please ensure that WebKit with its GTK 3.x bindings is installed (WebKit2 API level is preferred). Additionally, please note that GTK4 does not currently have Browser support.

Stack: org.eclipse.swt.SWT.error(SWT.java:4749)
org.eclipse.swt.browser.Browser.<init>(Browser.java:120)
gplx.gfui.kits.swts.Swt_html.<init>(Unknown Source)
gplx.gfui.kits.core.Swt_kit.New_html(Unknown Source)
gplx.xowa.guis.views.Xog_tab_itm.Make_html_box(Unknown Source)
gplx.xowa.guis.views.Xog_tab_mgr.Tabs_new(Unknown Source)
gplx.xowa.guis.views.Xog_tab_mgr.Tabs_new_init(Unknown Source)
gplx.xowa.guis.views.Xog_launcher_tabs.Launch_tab(Unknown Source)
gplx.xowa.guis.views.Xog_launcher_tabs.Restore_tabs(Unknown Source)
gplx.xowa.guis.views.Xog_launcher_tabs.Launch(Unknown Source)
gplx.xowa.guis.views.Xog_tab_itm_read_mgr.Launch(Unknown Source)
gplx.xowa.guis.Xoa_gui_mgr.Run(Unknown Source)
gplx.xowa.apps.boots.Xoa_boot_mgr.Run_app(Unknown Source)
gplx.xowa.apps.boots.Xoa_boot_mgr.Run(Unknown Source)
gplx.xowa.Xoa_app_.Run(Unknown Source)
gplx.xowa.Xowa_main.main(Unknown Source)
CocolinoFan commented 4 months ago

Exact same error for me as well.

OS : Kubuntu noble 24.04 XOWA version : 4.6.12.2009 Desktop environment : KDE Plasma 5.27.1 Java: openjdk version "21.0.3" 2024-04-16 OpenJDK Runtime Environment (build 21.0.3+9-Ubuntu-1ubuntu1) OpenJDK 64-Bit Server VM (build 21.0.3+9-Ubuntu-1ubuntu1, mixed mode, sharing)

zonk-labs commented 3 weeks ago

Same. issue.

OS: linux Java: 21.0.4 (64 bit) Java path: 21.0.4 XOWA: 4.6.12.2009 XOWA path: /media/user/LaCie/Torrents/xowa/xowa_linux_64.jar

Error: org.eclipse.swt.SWTError: No more handles because there is no underlying browser available. Please ensure that WebKit with its GTK 3.x bindings is installed (WebKit2 API level is preferred). Additionally, please note that GTK4 does not currently have Browser support.

SplashScreen.getSplashScreen() returned null
SWT Webkit: Warning, You are using an old version of webkitgtk. (pre 2.4) BrowserFunction functionality will not be avaliable
SWT WebKit: error initializing DBus server, dBusServer == 0

Stack: org.eclipse.swt.SWT.error(SWT.java:4749)
org.eclipse.swt.browser.Browser.<init>(Browser.java:120)
gplx.gfui.kits.swts.Swt_html.<init>(Unknown Source)
gplx.gfui.kits.core.Swt_kit.New_html(Unknown Source)
gplx.xowa.guis.views.Xog_tab_itm.Make_html_box(Unknown Source)
gplx.xowa.guis.views.Xog_tab_mgr.Tabs_new(Unknown Source)
gplx.xowa.guis.views.Xog_tab_mgr.Tabs_new_init(Unknown Source)
gplx.xowa.guis.views.Xog_launcher_tabs.Launch_tab(Unknown Source)
gplx.xowa.guis.views.Xog_launcher_tabs.Restore_tabs(Unknown Source)
gplx.xowa.guis.views.Xog_launcher_tabs.Launch(Unknown Source)
gplx.xowa.guis.views.Xog_tab_itm_read_mgr.Launch(Unknown Source)
gplx.xowa.guis.Xoa_gui_mgr.Run(Unknown Source)
gplx.xowa.apps.boots.Xoa_boot_mgr.Run_app(Unknown Source)
gplx.xowa.apps.boots.Xoa_boot_mgr.Run(Unknown Source)
gplx.xowa.Xoa_app_.Run(Unknown Source)
gplx.xowa.Xowa_main.main(Unknown Source)

I can run the server version. But SWT GUI has problems with libwebkit.

Additional info:

libwebkitgtk-6.0-4/noble-updates,noble-security,now 2.46.1-0ubuntu0.24.04.1 amd64 [installed,automatic]
  Web content engine library for GTK
libwebkit2gtk-4.1-0/noble-updates,noble-security,now 2.46.1-0ubuntu0.24.04.1 amd64 [installed,automatic]
  Web content engine library for GTK

libwebkit and libwebkit2 are installed. Maybe GTK version of XOWA is deprecated?