Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Oct 31, 2025

Try to fix CI by asking Cursor to fix it.

Wait for Inputs

Try to fix the failing Ubuntu test test_python_import.py::test_python_import saying

 Element {#lambdaX} was not visible after 10 seconds!

That one also passes on my local pc

Fix Python 3.14 (macOS CI)

Dashboard never started up:

      File "impactx/src/python/impactx/dashboard/start.py", line 45, in start
    server.start()
    
      File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/trame_server/core.py", line 716, in start
        task = CoreServer.server_start(
    ...
    
      File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/wslink/protocol.py", line 33, in __init__
        self._completion = asyncio.get_event_loop().create_future()
                           ~~~~~~~~~~~~~~~~~~~~~~^^
      File "/Library/Frameworks/Python.framework/Versions/3.14/lib/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'.

@ax3l ax3l requested review from cemitch99 and proy30 October 31, 2025 21:28
@ax3l ax3l added bug Something isn't working bug: affects latest release Bug also exists in latest release version component: tests examples, tests and benchmarks component: python Python bindings component: dashboard our browser based trame dashboard labels Oct 31, 2025
```
  File "impactx/src/python/impactx/dashboard/start.py", line 45, in start
server.start()

  File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/trame_server/core.py", line 716, in start
    task = CoreServer.server_start(
...

  File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/wslink/protocol.py", line 33, in __init__
    self._completion = asyncio.get_event_loop().create_future()
                       ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Library/Frameworks/Python.framework/Versions/3.14/lib/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'.
```
@ax3l ax3l changed the title Dashboard: Wait for Inputs Dashboard: Wait for Inputs, Fix Python 3.14 Oct 31, 2025
@ax3l ax3l force-pushed the topic-fix-dashboard-wait-initial branch from 3a7c5ad to e7b4d4a Compare November 1, 2025 03:46
@ax3l ax3l force-pushed the topic-fix-dashboard-wait-initial branch from d5accb7 to 80fed10 Compare November 3, 2025 16:43
@ax3l
Copy link
Member Author

ax3l commented Nov 4, 2025

Fixed via #1208

@ax3l ax3l closed this Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: affects latest release Bug also exists in latest release version bug Something isn't working component: dashboard our browser based trame dashboard component: python Python bindings component: tests examples, tests and benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant