Falko Schindler
Falko Schindler
Sure, you can avoid individual page updates by implementing a handler which returns a non-None value. But you need to be aware of every *event* that *can* be handled and...
I just don't see why Python should trigger a page update if it didn't subscribe to the JavaScript event in the first place. The information that something happened does not...
Ok, I see. My tendency was indeed to change this line https://github.com/elimintz/justpy/blob/42275e9c6e00373f09affd7d781a278383171807/justpy/justpy.py#L341 to `= False`, i.e. treating a missing event handler as if there was one which returned `False`. I...
I also got this error and didn't see any image topic. I solved it by replacing the definition of `GSCAM_CONFIG` in `jetson_csi_cam.launch` with the following lines: ``` ``` It's basically...
Hi, thanks for reporting this issue! I think I can explain what is going on an how to fix your example. By default NiceGUI starts a uvicorn server with auto-reload...
The "not working" example using `reload=False` works for me. You might just need to restart the script, since changes to `ui.run` arguments are ignored during auto-reload. Or maybe there's something...
See this discussion about JustPy's dependency on specific Vue and Quasar versions: https://github.com/justpy-org/justpy/discussions/476
I tried to remove the interactive mode on this branch: https://github.com/zauberzeug/nicegui/tree/remove_interactive_mode Looks promising, but needs a bit more testing.
Now I introduced a new flag `globals.pre_evaluation_succeeded`. This makes decisions in `ui.run` more explicit, but does not introduce an "internal" configuration flag like `interactive` was. I tested the different scenarios...
By the way: The previous implementation opens the browser on 127.0.0.1 if NiceGUI is started with `host=0.0.0.0` - but only if `reload=True`. The new implementation uses 127.0.0.1 consistently.