Comments (2)
Thanks for trying aider and filing this issue. My best guess is that something was corrupt about your git repo. The fact that it works with a fresh clone of the repo seems to support that.
Unfortunately, it's not wise for aider to catch and ignore this error. It's happening while aider is trying to get the list of all the files in the repo, which it needs to operate. If the repo is damaged to the point where it can't list the files, aider should probably not try and proceed.
from aider.
Thanks for your response. I found that my issue was indeed related to corruption in my repo. Here is what I did to resolve my issue, without have to do a fresh clone of the repo.
- Run
git fsck --full
When I ran this, I noticed severaldangling commit
ordangling blob
messages. - Run
git gc --prune=now
This cleared the issues identified in step 1 above.
Aider is now working for me again; I will close this issue.
from aider.
Related Issues (20)
- --show-diffs does not show diffs HOT 2
- AUR package named aider-chat seems to install wrong dependencies HOT 8
- Support for a large set of files HOT 1
- Unsupported Audio Sample Rate
- Issue with aider --commit
- reference to opendevin codeact v1.3 for comparison in the new draft blog post HOT 6
- Is repo-map properly ignoring files in .aiderignore?
- Can we use Microsoft's openai-service? HOT 2
- Question : Retrieval of Repo Map Context HOT 6
- Crash: AttributeError: 'SyntaxError' object has no attribute 'end_lineno' HOT 1
- Is there any tutorial or docs for evaluating SWEBench lite using aider? HOT 3
- Question : Requesting for logic change in repomap.py and scm for html , sql HOT 2
- Repomap doesn't include doc comments that precede function definition
- Broken link in blogpost: 2024/05/22/swe-bench-lite.html
- Explore cursor.sh's 'fast apply' techniques ("fully rewriting the full file outperforms aider-like diffs for files under 400 lines")
- add to homebrew package manager (macOS)
- Improve accuracy of aider's 'self assembly' git stats by using 'git blame ignore' for formatting by black
- Windows Defender deleting aider.exe
- bug: some environment vars are not read from .env or --env-file HOT 2
- outputs to commit message instead of file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aider.