At first, thanks for the great WxPython toolkit.
My issue is kindof connected to Segmentation fault when using a custom file system handler.
In GitHub as #1396 # Always “Segmentation fault: 11” when using wx.html2.WebViewHandler on macOS Mojave Python.
Operating system: macOS Mojave
wxPython version & source: pip, wxPython 4.0.6
Python version & source: pyenv, Python 3.7.0
Description of the problem:
Console output “Segmentation fault: 11” and macOS gives prompt telling “Python quit unexpectly”
class WebViewMddHandler(wx.html2.WebViewHandler):
def __init__(self):
wx.html2.WebViewHandler.__init__(self, 'mdd')
def GetFile(self, uri):
print(uri)
return None
browser = wx.html2.WebView.New(self.panel_1, wx.ID_ANY, style=0)
browser.RegisterHandler(WebViewMddHandler())
By the way, I really need some documentation to tell how to use wx.html2.WebViewHandler and wx.FileSystemHandler since the current documentation is really poor! And the so called zip handler is also not existed!
Is there anyone who can tell me how to fix this issue?