Replies: 4 comments 3 replies
-
Hi @bajirama, is main.py the one from the NiceGUI repository, or your own app? |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late response - due to holidays . I did not change any code but 1.3.12 is working where else higher version is not working and failing in the framework level at this function asyncexitstack.py
Here is the Scope value |
Beta Was this translation helpful? Give feedback.
-
Sorry got into other priorities , but found answers to my error , I was not using the the correct method to get my path for my json file got that fixed here is the my code def getJson(fileName:str):
file_path = Path(__file__).parent / 'config' / f"{fileName}.json"
#file_path = f".\config\{fileName}.json" - old way of calling the json file
with open(file_path) as file:
data = json.load(file)
return data |
Beta Was this translation helpful? Give feedback.
-
try running it with gunicorn if you are using fastapi through uvicorn |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I am getting this error when I execute it from Command line but when I run that from Pycharm in debug mode the code is working fine. Only thing I did is updated the nicegui framework Please help
Beta Was this translation helpful? Give feedback.
All reactions