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

exited with code 127 Error, possible shell config issue? #34

Closed
k-a-mendoza opened this issue Aug 16, 2022 · 2 comments
Closed

exited with code 127 Error, possible shell config issue? #34

k-a-mendoza opened this issue Aug 16, 2022 · 2 comments

Comments

@k-a-mendoza
Copy link

While trying to profile a python script in vscode on macOS 12.4 and austin 0.10.8 I keep getting the error:

 *  Executing task: austin: profile /Users/user/Desktop/dev_folder/test_profile_script.py 

Starting Profiler in /Users/user/Desktop/create_transfer_functions.
Running 'austin' with args '-i 100 --pipe  /Users/user/miniconda3/envs/mtpytest/bin/python "/Users/user/Desktop/dev_folder/test_profile_script.py"'.
austin process exited with code 127

 *  The terminal process failed to launch (exit code: 127). 
 *  Terminal will be reused by tasks, press any key to close it. 

the Austin output in vscode appears to indicate it's being launched through bash, rather than zsh

/bin/sh: austin: command not found

It's possible this error is unrelated to austin at all, but rather my misunderstanding of vscode settings. I suppose it may also be related to #21.

@P403n1x87
Copy link
Owner

@k-a-mendoza thanks for reporting this. How did you install Austin? Was it through homebrew? If so I'd expect it to be available from any shell, so the command not found error is a bit weird. Please note that Austin on macOS requires sudo. Perhaps following the discussion here might help P403n1x87/austin#124. Let me know how it goes.

@P403n1x87
Copy link
Owner

Closing due to inactivity. Feel free to re-open if necessary.

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