Traceback (most recent call last):
File "base_coder.py", line 1185, in _run_patched
await self.io.recreate_input()
File "io.py", line 701, in recreate_input
await asyncio.sleep(0)
File "tasks.py", line 656, in sleep
await __sleep0()
File "tasks.py", line 650, in __sleep0
yield
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aider-ce", line 8, in <module>
sys.exit(main())
^^^^^^
File "main.py", line 522, in main
return asyncio.run(main_async(argv, input, output, force_git_root, return_coder))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "runners.py", line 195, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "main.py", line 1293, in main_async
await coder.run()
File "base_coder.py", line 1099, in run
return await self._run_patched(with_message, preproc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base_coder.py", line 1297, in _run_patched
await self.io.cancel_input_task()
File "io.py", line 961, in cancel_input_task
await input_task
File "base_coder.py", line 1333, in get_input
self.get_addable_relative_files(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base_coder.py", line 3261, in get_addable_relative_files
all_files = set(self.get_all_relative_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base_coder.py", line 3236, in get_all_relative_files
staged_files_hash = hash(str([item.a_path for item in self.repo.repo.index.diff("HEAD")]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base.py", line 1517, in diff
other = self.repo.rev_parse(other)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "fun.py", line 415, in rev_parse
obj = name_to_object(repo, rev)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "fun.py", line 205, in name_to_object
return Object.new_from_sha(repo, hex_to_bin(hexsha))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base.py", line 149, in new_from_sha
oinfo = repo.odb.info(sha1)
^^^^^^^^^^^^^^^^^^^
File "base.py", line 210, in info
return self._db_query(sha).info(sha)
^^^^^^^^^^^^^^^^^^^
File "base.py", line 197, in _db_query
raise BadObject(sha)
gitdb.exc.BadObject: BadObject: b'deab0abf8e61d69f2208b794f64ac56428467fef'
I think this happened after I rebased the branch I was in against the upstream.
Aider version: 0.88.17
Python version: 3.12.10
Platform: macOS-15.6.1-x86_64-i386-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.6.0 (64bit)
Git version: git version 2.33.0
An uncaught exception occurred:
I think this happened after I rebased the branch I was in against the upstream.