Description
While working on an app that some people in our community center prefer to feel like an "application" instead of a page in the browser I tried to change it to native mode.
I ran it and I got this suggestion:
Native mode is not supported in this configuration. Please run "pip install pywebview" to use it.
I installed pywebview(it installed 5.2 which seems to be the latest), ran the app again and I ran into this error:
RuntimeError: A SemLock created in a fork context is being shared with a process in a spawn context. This is not supported. Please use the same context to create multiprocessing objects and Process.
I created a new file to test a minimal NiceGUI app with this:
from nicegui import ui
ui.button("test")
ui.run(native=True)
But I get the exact same error running this.
I'm using Python 3.12 .3 with NiceGUI 2.2.0(in a venv) on Ubuntu 24.0.4.1.
Any idea if this SemLock is something internal that's being funky when using native mode?
I don't believe this is related to #3813
Description
While working on an app that some people in our community center prefer to feel like an "application" instead of a page in the browser I tried to change it to native mode.
I ran it and I got this suggestion:
Native mode is not supported in this configuration. Please run "pip install pywebview" to use it.I installed pywebview(it installed 5.2 which seems to be the latest), ran the app again and I ran into this error:
I created a new file to test a minimal NiceGUI app with this:
But I get the exact same error running this.
I'm using Python 3.12 .3 with NiceGUI 2.2.0(in a venv) on Ubuntu 24.0.4.1.
Any idea if this SemLock is something internal that's being funky when using native mode?
I don't believe this is related to #3813