Closed rahimnathwani closed 3 weeks ago
Thank you for filing this issue.
The fix is in the latest version (0.57.1
), please update aider with
aider --upgrade
Duplicate #1278
Hmm... there's something I don't understand about aider's auto-update behaviour.
When I ran aider, it asked whether I wanted to update. I said yes.
After I quit aider, I checked which version I had installed:
% pip freeze|grep aider
aider-chat==0.57.1
But the bug report I filed said I was still using the old version.
So it seems like aider auto-updates on start, but continues to run the old version unless I quit and restart?
So it seems like aider auto-updates on start, but continues to run the old version unless I quit and restart?
This is a possibility. Thank you for this comment.
According to the source, aider should have told you to exit and restart after updating, see here -> https://github.com/paul-gauthier/aider/blob/main/aider/versioncheck.py#L58
Or did the old version instantly throw the error before it had a chance to complete the update etc? It may be that the error and long stack trace covered this message up?
Honestly when I start aider, I don't read the intro text. I type aider App.js index.html
, and wait for the >
prompt. If I don't see that prompt, only then do I read the preceding text to see what I should do.
I realise this isn't ideal. But it's probably common.
I will read more carefully from now on :)
I will read more carefully from now on :)
Not your fault, I looked at the upgrade routine and it might just have continued if the actual upgrade failed, trying to fix it, see #1688
This failed automatic test is interesting, it seems the success part never gets reached after the pip upgrade call? -> https://github.com/paul-gauthier/aider/actions/runs/11004313751/job/30554988710?pr=1688
Sometimes the fix is very simple -> https://github.com/paul-gauthier/aider/commit/82ebb7713a200e4e7135e560efc43faca3f0ef1e
Aider version: 0.56.0 Python version: 3.12.2 Platform: macOS-14.6.1-arm64-arm-64bit Python implementation: CPython Virtual environment: No OS: Darwin 23.6.0 (64bit) Git version: git version 2.46.0
An uncaught exception occurred: