Skip to content

Uncaught NotImplementedError in pathlib.py line 1032 #5679

Description

@viridiacent

Aider version: 0.86.2
Python version: 3.10.6
Platform: Windows-10-10.0.26200-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.53.0.windows.1

An uncaught exception occurred:

Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "__main__.py", line 4, in <module>
    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 917, in preproc_user_input
    return self.commands.run(inp)
  File "commands.py", line 324, in run
    return self.do_run(command, rest_inp)
  File "commands.py", line 296, in do_run
    return cmd_method(args)
  File "commands.py", line 1343, in cmd_read_only
    matches = list(Path(self.coder.root).glob(expanded_pattern))
  File "pathlib.py", line 1032, in glob
    raise NotImplementedError("Non-relative patterns are unsupported")
NotImplementedError: Non-relative patterns are unsupported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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