wxPython 4.1 and wx.html2

wxHtmlTest.py (2.2 KB)

This code works fine on wxPython4.0.6.
But with 4.1 version, I have an alert :

Web extension not found in "/user/local/lib/wx/3.1.4/web-extensions",
some wxWebView functionality will be not available.

Can you produce this issue too ?

Yep.

I’ve added an issue and info about what the problem is and what is needed for a solution.

Also, unless you are doing something advanced with the WebView then the missing extension probably will not be an issue for you, and you can safely ignore the warning.

Thank you Robin for your answer.

It is an issue for me, due to the fact that my application opens this warning in a popup every time I need wxWebView : I can’t ask my user to ignore this popup message each time it appears… It’s not convenient at all.

I hope you will find a way to fix that somehow, one day or another.
(meanwhile I have to stay with 4.0.6 version)

It’s a wxLog message, so you can avoid the popup by setting a different log target, such as

wx.Log.SetActiveTarget(wx.LogStderr())

This workaround is fine to me.
Thank you Robin.