Skip to content

Uncaught OSError in socket.py line 623 #4704

@matteo-dirollo

Description

@matteo-dirollo

Aider version: 0.86.1
Python version: 3.12.12
Platform: Windows-11-10.0.26200-SP0
Python implementation: CPython
Virtual environment: Yes
OS: Windows 11 (64bit)
Git version: git version 2.48.1.windows.1

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 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 1162, in main
    coder.run()
  File "base_coder.py", line 887, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 928, in run_one
    message = self.preproc_user_input(user_message)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 920, in preproc_user_input
    inp = self.check_for_urls(inp)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 976, in check_for_urls
    if self.io.confirm_ask(
       ^^^^^^^^^^^^^^^^^^^^
  File "io.py", line 65, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "io.py", line 877, in confirm_ask
    res = self.prompt_session.prompt(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "prompt.py", line 1035, in prompt
    return self.app.run(
           ^^^^^^^^^^^^^
  File "application.py", line 1002, in run
    return asyncio.run(coro)
           ^^^^^^^^^^^^^^^^^
  File "runners.py", line 194, in run
    with Runner(debug=debug, loop_factory=loop_factory) as runner:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "runners.py", line 58, in __enter__
    self._lazy_init()
  File "runners.py", line 137, in _lazy_init
    self._loop = events.new_event_loop()
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "events.py", line 823, in new_event_loop
    return get_event_loop_policy().new_event_loop()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "events.py", line 720, in new_event_loop
    return self._loop_factory()
           ^^^^^^^^^^^^^^^^^^^^
  File "windows_events.py", line 316, in __init__
    super().__init__(proactor)
  File "proactor_events.py", line 640, in __init__
    self._make_self_pipe()
  File "proactor_events.py", line 787, in _make_self_pipe
    self._ssock, self._csock = socket.socketpair()
                               ^^^^^^^^^^^^^^^^^^^
  File "socket.py", line 623, in _fallback_socketpair
    csock.connect((addr, port))
OSError: [WinError 10055] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions