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

Uncaught RuntimeError in events.py line 702 #3237

Closed
eduboardio opened this issue Feb 13, 2025 · 1 comment
Closed

Uncaught RuntimeError in events.py line 702 #3237

eduboardio opened this issue Feb 13, 2025 · 1 comment

Comments

@eduboardio
Copy link

Aider version: 0.74.2
Python version: 3.12.9
Platform: macOS-13.3.1-x86_64-i386-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 22.4.0 (64bit)
Git version: git version 2.39.2 (Apple Git-143)

An uncaught exception occurred:

Traceback (most recent call last):
  File "aider", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 643, in main
    launch_gui(argv)
  File "main.py", line 268, in launch_gui
    cli.main(st_args)
  File "core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "cli.py", line 240, in main_run
    _main_run(target, args, flag_options=kwargs)
  File "cli.py", line 276, in _main_run
    bootstrap.run(file, is_hello, args, flag_options)
  File "bootstrap.py", line 344, in run
    if asyncio.get_event_loop().is_running():
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "events.py", line 702, in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.

Copy link

Thanks for trying aider and filing this issue.

This looks like a duplicate of #3221. Please see the comments there for more information, and feel free to continue the discussion within that issue.

I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue.

Note: A bot script made these updates to the issue.

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

No branches or pull requests

1 participant