Skip to content

Regression on Python 3.14 #10

@boosterl

Description

@boosterl
Traceback (most recent call last):
  File "/tmp/cic/bin/cic", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "/tmp/cic/lib/python3.14/site-packages/click/core.py", line 1485, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/tmp/cic/lib/python3.14/site-packages/click/core.py", line 1406, in main
    rv = self.invoke(ctx)
  File "/tmp/cic/lib/python3.14/site-packages/click/core.py", line 1269, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/cic/lib/python3.14/site-packages/click/core.py", line 824, in invoke
    return callback(*args, **kwargs)
  File "/home/booster/projects/can-i-charge/src/can_i_charge/__main__.py", line 20, in main
    get_event_loop().run_until_complete(run_metrics_loop(station, interval if interval else 60))
    ~~~~~~~~~~~~~~^^
  File "/usr/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'.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions