Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
thewxwguy
In need of some credit
In need of some credit
Posts: 3
Joined: Sun Jun 28, 2020 3:45 am

Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions

Post by thewxwguy » Sun Jun 28, 2020 2:12 pm

Webviews are working fine visually, but I get this popup every time I display one, and also these console errors:

Code: Select all

(process:277754): GLib-GObject-WARNING **: 15:05:36.856: ../../../gobject/gsignal.c:2617: signal 'changed::' is invalid for instance '0x55d4f8711430' of type 'GSettings'

(process:277754): GLib-GObject-WARNING **: 15:05:36.856: ../../../gobject/gsignal.c:2617: signal 'changed::' is invalid for instance '0x55d4f8711c30' of type 'GSettings'

(process:277754): GLib-GObject-WARNING **: 15:05:36.856: ../../../gobject/gsignal.c:2617: signal 'changed::' is invalid for instance '0x55d4f8711570' of type 'GSettings'

(process:277754): GLib-GObject-WARNING **: 15:05:36.856: ../../../gobject/gsignal.c:2617: signal 'changed::' is invalid for instance '0x55d4f8711700' of type 'GSettings'

(process:277754): GLib-GObject-WARNING **: 15:05:36.857: ../../../gobject/gsignal.c:2617: signal 'changed::' is invalid for instance '0x55d4f8711e10' of type 'GSettings'

(WebKitWebProcess:277724): Atk-CRITICAL **: 15:05:38.881: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed

(WebKitWebProcess:277724): GLib-GObject-CRITICAL **: 15:05:38.881: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(WebKitWebProcess:277724): Atk-CRITICAL **: 15:05:38.881: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed

(WebKitWebProcess:277724): GLib-GObject-CRITICAL **: 15:05:38.881: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
I configured wxWidgets like so:

Code: Select all

./configure --with-opengl --disable-shared --enable-monolithic --enable-webview --enable-webviewwebkit --enable-mediactrl --with-gtk=3
I have libwebkit2gtk-4.0-37 & libwebkit2gtk-4.0-dev installed. I don't see any webextension plugin in the build folder and google searches have proved fruitless. Can someone please advise on how to get/build the required web extensions?

Thank you

thewxwguy
In need of some credit
In need of some credit
Posts: 3
Joined: Sun Jun 28, 2020 3:45 am

Re: Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions

Post by thewxwguy » Sun Jun 28, 2020 2:34 pm

Ok, I found that there was a webkit2_extu-3.1.3.so extension built in the wxwidgets source folder. Moving that to /usr/local/lib/wx/3.1.3/web-extensions/ fixed the extension missing popup.

Is there any way to include this statically though? I don't want to have to install extra files along with my program.
Thanks!

DavidHart
Site Admin
Site Admin
Posts: 3988
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions

Post by DavidHart » Sun Jun 28, 2020 4:14 pm

Hi,

This is Linux, where static-linking is unusual and monolithic rare. I wouldn't be at all surprised if you were the first to try configuring with the particular combination of --with-opengl --disable-shared --enable-monolithic --enable-webview --enable-webviewwebkit --enable-mediactrl --with-gtk=3.

I suggest you consider using a default shared, non-monolithic build instead.

Regards,

David

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 4245
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions

Post by ONEEYEMAN » Sun Jun 28, 2020 4:15 pm

Hi,
This is not extra file - it is required for the web application.

Thank you.

thewxwguy
In need of some credit
In need of some credit
Posts: 3
Joined: Sun Jun 28, 2020 3:45 am

Re: Ubuntu 20 - Web extension not found in "/usr/local/lib/wx/3.1.3/web-extensions

Post by thewxwguy » Sun Jun 28, 2020 4:37 pm

DavidHart wrote:
Sun Jun 28, 2020 4:14 pm
Hi,

This is Linux, where static-linking is unusual and monolithic rare. I wouldn't be at all surprised if you were the first to try configuring with the particular combination of --with-opengl --disable-shared --enable-monolithic --enable-webview --enable-webviewwebkit --enable-mediactrl --with-gtk=3.

I suggest you consider using a default shared, non-monolithic build instead.

Regards,

David
Thanks for the info David. I'm admittedly new to the Linux developer world, after spending the majority of my time on Windows & Mac systems.

I'll try shifting to the default shared system instead.
Thank you :)

Post Reply