Comments (7)
I want to know how to handle this issue?
from nicegui.
Does your code run fine when not packaged with pyinstaller? Is the exception happening whenever you start the program, or have you pressed CTRL-C or something else?
from nicegui.
Does your code run fine when not packaged with pyinstaller? Is the exception happening whenever you start the program, or have you pressed CTRL-C or something else?
No packaged it works. When after I packaged it and exeacute it, it could show the right page. However, I clicked the button, it appears this error. I don't do any other operation.
from nicegui.
Can anyone reproduce this?
from nicegui.
Besides a confirmation from another windows user I would like to know if the error also happens if you use nicegui-pack
(see https://nicegui.io/documentation/section_configuration_deployment#package_for_installation).
from nicegui.
Besides a confirmation from another windows user I would like to know if the error also happens if you use
nicegui-pack
(see https://nicegui.io/documentation/section_configuration_deployment#package_for_installation).
It has the same error even i use the nicegui-pack
from nicegui.
I was able to replicate this error. However, after further investigation, it doesn't appear to be an issue with NiceGUI. From the PyInstaller documentation:
Currently, the only supported multi-processing framework is the multiprocessing module from the Python standard library, and even that requires you to make a multiprocessing.freeze_support() call before using any multiprocessing functionality.
I modified demp.py to include:
multiprocessing.freeze_support()
ui.run(reload=False)
This prevented the error.
@Wananrd, does this also resolve the issue for you?
from nicegui.
Related Issues (20)
- Packaging with nicegui-package makes process hang HOT 12
- Plotly charts are not responsive HOT 2
- Deploy nice gui on Aws beanstalk similar to django and flask
- Too short default time-out for notification element HOT 2
- JS exception due to wrong variable in download function HOT 1
- Some of Tailwind's minimum height classes get ignored HOT 3
- Component registration warning always emitted HOT 1
- The local_file_picker module cannot open the path selection box sometimes. HOT 3
- ECharts 3D Line Doesn't Render HOT 2
- how can i upload a directory use ui.upload component HOT 2
- container.clear silently deletes timers created in event handlers HOT 2
- Unable to update table object from function HOT 3
- Changing min/max limits of `ui.range` breaks the element HOT 3
- Bug in props parsing HOT 7
- User Storage Intercommunication Across Devices on Non-Standard Ports HOT 2
- Bus error crash on aarch64 - Caused by orjson HOT 2
- Storage_secret missing with ui.run_with and on_connect HOT 2
- Frameless Window Options Break When Compiled into EXE with ui.page HOT 1
- Clearing value of `ui.editor` does not work on 2nd try HOT 11
- On the expectations of refreshable + user storage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nicegui.