Coder Social home page Coder Social logo

Comments (3)

VictorBargains avatar VictorBargains commented on June 12, 2024

Possibly unrelated... maybe another thing to smooth over?

aider --yes tests/* *.py
tests/__pycache__ is a directory, not provided alone.
Provide either a single directory of a git repo, or a list of one or more files.  

it worked to do tests/*.py instead but maybe this kinda thing can just be ignored and the other files can still be loaded?

from aider.

paul-gauthier avatar paul-gauthier commented on June 12, 2024

Thanks for trying aider and filing this issue.

I can not reproduce this error:

$ aider --yes

No git repo found, create one to track GPT's changes (recommended)? y
Git repository created in the current working directory.
Added .aider* to .gitignore
Aider v0.35.1-dev
Models: gpt-4o with diff edit format, weak model gpt-3.5-turbo
Git repo: .git with 0 files
Repo-map: using 1024 tokens
Use /help to see in-chat commands, run with --help to see cmd line args
──────────────────────
> /add subdir/

No files matched 'subdir/'. Do you want to create /Users/gauthier/tmp/subdir-bug/subdir? yes
/Users/gauthier/tmp/subdir-bug/subdir: is a directory
Unable to read /Users/gauthier/tmp/subdir-bug/subdir
──────────────────────
> /exit

$ ls -l subdir/
total 0
-rw-r--r--  1 gauthier  staff  0 May 16 08:58 file-in-subdir.txt

The fact that you got a PermissionError also makes me think aider wasn't able to do anything to your tests/ folder. Aider doesn't ever try and delete files.

Are you able to reproduce this bug?

from aider.

paul-gauthier avatar paul-gauthier commented on June 12, 2024

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

from aider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.