Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MesopUI is not working in Windows #413

Closed
kumaranvpl opened this issue Oct 16, 2024 · 0 comments · Fixed by #415
Closed

MesopUI is not working in Windows #413

kumaranvpl opened this issue Oct 16, 2024 · 0 comments · Fixed by #415
Assignees

Comments

@kumaranvpl
Copy link
Collaborator

FastAgency run is not working
gunicorn is not supported in Windows
MesopUI is not working when started with waitress

ERROR:mesop.server.server:Exception on /__web-components-module__//__fast_agency_internal__/javascript/wakeup_component.js [GET]
Traceback (most recent call last):
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\flask\app.py", line 1473, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\flask\app.py", line 865, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\mesop\server\static_file_serving.py", line 121, in serve_file
    return send_file_compressed(
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\mesop\server\static_file_serving.py", line 310, in send_file_compressed
    response = send_file(path)
               ^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\flask\helpers.py", line 499, in send_file
    return werkzeug.utils.send_file(  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Kumaran Rajendhiran\Downloads\test_fastagency\venv\Lib\site-packages\werkzeug\utils.py", line 428, in send_file
    stat = os.stat(path)
           ^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Kumaran Rajendhiran\\Downloads\\test_fastagency\\venv\\Lib\\site-packages\\mesop\\utils\\../web/src/app/prod/web_package/__web-components-module__/__fast_agency_internal__/javascript/wakeup_component.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant