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

Summarizer unexpectedly failed for all models #1466

Closed
DAMunene opened this issue Sep 10, 2024 · 2 comments
Closed

Summarizer unexpectedly failed for all models #1466

DAMunene opened this issue Sep 10, 2024 · 2 comments

Comments

@DAMunene
Copy link

Issue

Traceback (most recent call last):
File "aider", line 8, in
sys.exit(main())
^^^^^^
File "main.py", line 682, in main
coder.run()
File "base_coder.py", line 730, in run
self.run_one(user_message, preproc)
File "base_coder.py", line 773, in run_one
list(self.send_message(message))
File "base_coder.py", line 1195, in send_message
self.auto_commit(edited, context="Ran the linter")
File "base_coder.py", line 1862, in auto_commit
res = self.repo.commit(fnames=edited, context=context, aider_edits=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "repo.py", line 99, in commit
diffs = self.get_diffs(fnames)
^^^^^^^^^^^^^^^^^^^^^^
File "repo.py", line 221, in get_diffs
if not self.path_in_repo(fname):
^^^^^^^^^^^^^^^^^^^^^^^^
File "repo.py", line 346, in path_in_repo
tracked_files = set(self.get_tracked_files())
^^^^^^^^^^^^^^^^^^^^^^^^
File "repo.py", line 279, in get_tracked_files
raise UnableToCountRepoFiles(f"Error getting tracked files: {str(e)}")
aider.repo.UnableToCountRepoFiles: Error getting tracked files: BadObject: b'2bc6dda046a7f25d89c75b5252168acee94bac8e'


Please consider reporting this bug to help improve aider!
Open a GitHub Issue pre-filled with the above error in your browser? (Y/n) Summarization failed for model openrouter/anthropic/claude-3-haiku-20240307: sys.excepthook is None
Summarization failed for model openrouter/anthropic/claude-3.5-sonnet: sys.excepthook is None
summarizer unexpectedly failed for all models

### Version and model info

_No response_
@paul-gauthier
Copy link
Owner

Thanks for trying aider and filing this issue.

The fix is available in the main branch. You can get it by installing the latest version from github:

aider --install-main-branch

# or...

python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.

@DAMunene
Copy link
Author

DAMunene commented Sep 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants