Hi
I’m new to the group, but I’ve been using wxPython for a while 
I have a project which runs fine on Win and Mac, but need to get it working on CentOS 7.
I’ve compiled up the latest classic source bundle, and all goes OK. However when I try and use the webview
I get an exception
wx.html2 is not available on this platform
However - I it works fine in ‘raw’ C++ using wxWidgets - so I know the webkitgtk2 is there.
Any idea what the issue might be.
I checked the config and it does show
checking for WEBKIT…yes
Thanks
R.
Can you provide any more details about how you built wxPython? That error message comes when wxPython is built where wxUSE_WEBKIT is not defined.
···
On Fri, 4 Nov 2016, strider91 wrote:
Hi
I'm new to the group, but I've been using wxPython for a while 
I have a project which runs fine on Win and Mac, but need to get it working
on CentOS 7.
I've compiled up the latest classic source bundle, and all goes OK. However
when I try and use the webview
I get an exception
wx.html2 is not available on this platform
However - I it works fine in 'raw' C++ using wxWidgets - so I know the
webkitgtk2 is there.
Any idea what the issue might be.
I checked the config and it does show
checking for WEBKIT...yes
Just used the standard build method - e.g.
python build-wxpython.py
I do get the line
checking for WEBKIT…yes
in the config script output during the build.
I also tried on Ubunto 16.0.4
sudo apt-get install python-wxgtk3.0
installs wxPython, but the webkit demo fails.
I tried installing
sudo apat-get libwebkit-dev
but still no joy.
What’s the error message?
There is a bug with it I just reported some years ago, check ppa for it.
···
El 7 nov. 2016 11:37 AM, “strider91” robertastrider91@gmail.com escribió:
I also tried on Ubunto 16.0.4
sudo apt-get install python-wxgtk3.0
installs wxPython, but the webkit demo fails.
I tried installing
sudo apat-get libwebkit-dev
but still no joy.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The error message is
/wx-3.0-gtk2/wx/_html2.x86_64-linux.gnu.so: undefined symbol wxEVT_WEBVIEW_NAVIGATED
A simple search in Google give you the answer and my bug report:
https://www.google.com/search?client=ubuntu&channel=fs&q=undefined+symbol+wxEVT_WEBVIEW_NAVIGATED&ie=utf-8&oe=utf-8
there is a fix there too.
···
2016-11-07 13:23 GMT-05:00 strider91 robertastrider91@gmail.com:
The error message is
/wx-3.0-gtk2/wx/_html2.x86_64-linux.gnu.so: undefined symbol wxEVT_WEBVIEW_NAVIGATED
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav
Lima - Peru
Hi
Thanks for the heads up on the patch.
I tried the various suggestions but none worked on my install.
The strange thing is wxWidgets works fine with the webview. It seems to be the linkage via python that is an issue for me anyway.
I’ll try a Debian installation and see if that works better.
R.