Skip to content

matlab-proxy-app fails with RuntimeError: no running event loop #82

@erentar

Description

@erentar

Summary

$❯ matlab-proxy-app
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.14/site-packages/matlab_proxy/util/event_loop.py", line 23, in get_event_loop
    loop = asyncio.get_running_loop()
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/bin//matlab-proxy-app", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/user/.local/lib/python3.14/site-packages/matlab_proxy/app.py", line 1076, in main
    create_and_start_app(config_name=desired_configuration_name)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/.local/lib/python3.14/site-packages/matlab_proxy/app.py", line 1024, in create_and_start_app
    app = create_app(config_name)
  File "/home/user/.local/lib/python3.14/site-packages/matlab_proxy/app.py", line 961, in create_app
    app["state"] = AppState(app["settings"])
                   ~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/user/.local/lib/python3.14/site-packages/matlab_proxy/app_state.py", line 121, in __init__
    loop = util.get_event_loop()
  File "/home/user/.local/lib/python3.14/site-packages/matlab_proxy/util/event_loop.py", line 28, in get_event_loop
    loop = asyncio.get_event_loop()
  File "/usr/lib64/python3.14/asyncio/events.py", line 715, in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
                       % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.

Browser(s) used

No response

Script output

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions