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 AttributeError in pathlib.py line 953 #1946

Open
Nopass0 opened this issue Oct 6, 2024 · 0 comments
Open

Uncaught AttributeError in pathlib.py line 953 #1946

Nopass0 opened this issue Oct 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Nopass0
Copy link

Nopass0 commented Oct 6, 2024

Aider version: 0.59.0
Python version: 3.11.7
Platform: Windows-10-10.0.22631-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.46.0.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 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 733, in main
    coder.run()
  File "base_coder.py", line 730, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 767, in run_one
    message = self.preproc_user_input(user_message)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 756, in preproc_user_input
    return self.commands.run(inp)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "commands.py", line 233, in run
    return self.do_run(matching_commands[0][1:], rest_inp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "commands.py", line 208, in do_run
    return cmd_method(args)
           ^^^^^^^^^^^^^^^^
  File "commands.py", line 704, in cmd_add
    matched_files = self.glob_filtered_to_repo(word)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "commands.py", line 656, in glob_filtered_to_repo
    raw_matched_files = list(Path(self.coder.root).glob(pattern))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pathlib.py", line 953, in glob
    for p in selector.select_from(self):
             ^^^^^^^^^^^^^^^^^^^^
AttributeError: '_TerminatingSelector' object has no attribute 'select_from'

@fry69 fry69 closed this as completed Oct 6, 2024
@fry69 fry69 reopened this Oct 6, 2024
@fry69 fry69 added the bug Something isn't working label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants