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

Improve error message for exec mode #6

Open
TheElectronWill opened this issue Jun 5, 2024 · 0 comments
Open

Improve error message for exec mode #6

TheElectronWill opened this issue Jun 5, 2024 · 0 comments
Assignees
Labels
A:app-agent area: runnable agent application D:easy difficulty: easy (≤ 1 day of work) T:ux type: Enhancement of the user experience

Comments

@TheElectronWill
Copy link
Contributor

How to reproduce

Try to spawn and monitor a particular program my_app.py that exists in the current directory:

alumet-agent exec my_app.py

Error:

thread 'main' panicked at app-agent/src/main.rs:81:18:
error in child process: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Alumet is right, the correct command is:

alumet-agent exec ./my_app.py

but the error message should be improved. Also, could it detect such a case and suggest the right command?

@TheElectronWill TheElectronWill added A:app-agent area: runnable agent application T:ux type: Enhancement of the user experience D:easy difficulty: easy (≤ 1 day of work) labels Jun 11, 2024
@AngeCyp AngeCyp self-assigned this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:app-agent area: runnable agent application D:easy difficulty: easy (≤ 1 day of work) T:ux type: Enhancement of the user experience
Projects
None yet
Development

No branches or pull requests

2 participants