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

Application is not running. Application.exit() failed #2716

Open
qrdlgit opened this issue Dec 28, 2024 · 5 comments
Open

Application is not running. Application.exit() failed #2716

qrdlgit opened this issue Dec 28, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@qrdlgit
Copy link

qrdlgit commented Dec 28, 2024

Issue

It seems to be working (it injects the changes) in watch files mode but getting this error when i make a change in --watch-files mode

I do have to press enter in the aider terminal to get it proceed though, not sure if that is normal

File "[REDACTED]/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
self.run()
File "[REDACTED]/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/lib/python3.12/threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "[REDACTED]/.local/share/uv/tools/aider-chat/lib/python3.12/site-packages/aider/watch.py", line 130, in watch_files
raise e
File "[REDACTED]/.local/share/uv/tools/aider-chat/lib/python3.12/site-packages/aider/watch.py", line 125, in watch_files
self.io.interrupt_input()
File "[REDACTED]/.local/share/uv/tools/aider-chat/lib/python3.12/site-packages/aider/io.py", line 397, in interrupt_input
self.prompt_session.app.exit()
File "[REDACTED]/.local/share/uv/tools/aider-chat/lib/python3.12/site-packages/prompt_toolkit/application/application.py", line 1289, in exit
raise Exception("Application is not running. Application.exit() failed.")

Version and model info

Aider v0.70.0
Model: deepseek/deepseek-coder with diff edit format, prompt cache, infinite
output
Git repo: .git with 0 files
Repo-map: using 1024 tokens, auto refresh

@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

Are you able to reproduce this error?

@qrdlgit
Copy link
Author

qrdlgit commented Dec 28, 2024

Yes, it happens everytime. It works as I mentioned above, though I have to hit enter in terminal.

I suppose it's not a bug per se unless the error is causing some other issues I have yet to see.

@paul-gauthier
Copy link
Collaborator

How did you install aider? What OS/environment are you using?

@qrdlgit
Copy link
Author

qrdlgit commented Dec 28, 2024

I installed aider using pip and aider-install as per the instructions. I tried fixing it by uninstalling and then reinstalling, but didn't seem to help.

I am using linux ubuntu.

@paul-gauthier paul-gauthier added the bug Something isn't working label Dec 28, 2024
@qrdlgit
Copy link
Author

qrdlgit commented Dec 28, 2024

Feel free to close this if no one else reports it. I tried googling around but didn't see anyone else say anything. It could be something wrong with my environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@paul-gauthier @qrdlgit and others