You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Im using nuitka to compile my code using this cmd command: python -m nuitka main.py --follow-imports --onefile --standalone --include-module=pygments.formatters.html --nofollow-import-to=doctest --output-filename=Gui.exe .
After successfully compiling and firing the program, this error pops up. I need help to fix it.
Error:
C:\Users\Kowersky\Desktop\RKopacz\GUi>Gui.exe
Traceback (most recent call last):
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\main.py", line 1, in <module>
from nicegui import ui, app
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\nicegui\__init__.py", line 1, in <module nicegui>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\nicegui\ui.py", line 227, in <module nicegui.ui>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\nicegui\elements\upload.py", line 8, in <module nicegui.elements.upload>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\nicegui\nicegui.py", line 18, in <module nicegui.nicegui>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\nicegui\error.py", line 8, in <module nicegui.error>
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\pathlib.py", line 1027, in read_text
File "C:\Users\Kowersky\AppData\Local\Temp\onefile_17768_133680638442891441\pathlib.py", line 1013, in open
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Kowersky\\AppData\\Local\\Temp\\onefile_17768_133680638442891441\\nicegui\\static\\sad_face.svg'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, Im using nuitka to compile my code using this cmd command:
python -m nuitka main.py --follow-imports --onefile --standalone --include-module=pygments.formatters.html --nofollow-import-to=doctest --output-filename=Gui.exe
.After successfully compiling and firing the program, this error pops up. I need help to fix it.
Error:
Beta Was this translation helpful? Give feedback.
All reactions