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 application.py line 1151 #3084

Open
u2324 opened this issue Jan 31, 2025 · 0 comments
Open

Uncaught RuntimeError in application.py line 1151 #3084

u2324 opened this issue Jan 31, 2025 · 0 comments

Comments

@u2324
Copy link

u2324 commented Jan 31, 2025

Aider version: 0.72.4.dev141+g778e54ef.d20250131
Python version: 3.12.3
Platform: Linux-6.8.0-1020-nvidia-lowlatency-x86_64-with-glibc2.39
Python implementation: CPython
Virtual environment: Yes
OS: Linux 6.8.0-1020-nvidia-lowlatency (64bit)
Git version: git version 2.43.0

An uncaught exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "__main__.py", line 4, in <module>
    main()
  File "main.py", line 1037, in main
    coder.run()
  File "base_coder.py", line 823, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 864, in run_one
    message = self.preproc_user_input(user_message)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 856, in preproc_user_input
    inp = self.check_for_urls(inp)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 910, in check_for_urls
    if self.io.confirm_ask(
       ^^^^^^^^^^^^^^^^^^^^
  File "io.py", line 734, in confirm_ask
    self.prompt_session.app.current_buffer.text = "y"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "buffer.py", line 473, in text
    self._text_changed()
  File "buffer.py", line 535, in _text_changed
    get_app().create_background_task(self._async_validator())
  File "application.py", line 1151, in create_background_task
    loop = self.loop or get_running_loop()
                        ^^^^^^^^^^^^^^^^^^
RuntimeError: no running event loop

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