Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wx.html2.WebView.New() NotImplementedError #148

Open
sagnik3788 opened this issue Mar 7, 2025 · 2 comments
Open

wx.html2.WebView.New() NotImplementedError #148

sagnik3788 opened this issue Mar 7, 2025 · 2 comments

Comments

@sagnik3788
Copy link

I'm trying to run make run-dev on my Linux system, but it's showing errors even though WebKitGTK is already installed.

`lib) ┌─[sangnik@hp-15] - [~/kolibri-app] - [Fri Mar 07, 16:26]
└─[$] git:(test*) make run-dev

PYTHONPATH=$PYTHONPATH:./kolibrisrc python -m kolibri_app
WARNING: kolibri.plugins.app already enabled
WARNING: kolibri_app already enabled
INFO: Kolibri App Initializing
INFO: Started at: 2025-03-07 16:27:43.601355
WARNING: Traceback (most recent call last):
WARNING: File "/home/sangnik/kolibri-app/lib/lib/python3.11/site-packages/kolibri_app/application.py", line 52, in OnInit
WARNING: self.create_kolibri_window()
WARNING: File "/home/sangnik/kolibri-app/lib/lib/python3.11/site-packages/kolibri_app/application.py", line 95, in create_kolibri_window
WARNING: window = KolibriView(self, url=url)
WARNING: ^^^^^^^^^^^^^^^^^^^^^^^^^^
WARNING: File "/home/sangnik/kolibri-app/lib/lib/python3.11/site-packages/kolibri_app/view.py", line 78, in init
WARNING: self.webview = html2.WebView.New(self.view, backend=backend)
WARNING: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
WARNING: NotImplementedError
WARNING: OnInit returned false, exiting...
make: *** [Makefile:134: run-dev] Error 1
(lib) ┌─[sangnik@hp-15] - [~/kolibri-app] - [Fri Mar 07, 16:27]
└─[$] git:(test*) `

@rtibbles
Copy link
Member

rtibbles commented Mar 7, 2025

Hrm, what version of Linux are you using?

When I run locally on Ubuntu 22.04, I don't get any such error.

Have you checked the guide here to make sure you have the correct GTK package installed? https://docs.wxpython.org/wx.html2.WebView.html#phoenix-title-webview-webkit2-gtk3

@sagnik3788
Copy link
Author

Linux: Manjaro 25.0.0
WebKit2GTK: 2.46.6-2
I tried a simple demo application, and it worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants