You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, scaf errors out if python not found. If python is not found, try python3.
If neither is found, stop and give user a friendly error.
First check for python3, then python -- if neither, gracefully exit and ask user to install.
Example: python3 wasn't mapped to python, so it errored out:
/home/christine/.local/bin/scaf: line 129: python: command not found Waiting for authorization... /home/christine/.local/bin/scaf: line 125: python: command not found cat: code.txt: No such file or directory rm: cannot remove 'code.txt': No such file or directory Error: Access token was not retrieved.
The text was updated successfully, but these errors were encountered:
clshaw01
changed the title
scaf should alert user if python not found
scaf should fall back to python3 if python command is not found
Sep 20, 2024
Currently, scaf errors out if python not found. If python is not found, try python3.
If neither is found, stop and give user a friendly error.
First check for
python3
, thenpython
-- if neither, gracefully exit and ask user to install.Example: python3 wasn't mapped to
python
, so it errored out:/home/christine/.local/bin/scaf: line 129: python: command not found Waiting for authorization... /home/christine/.local/bin/scaf: line 125: python: command not found cat: code.txt: No such file or directory rm: cannot remove 'code.txt': No such file or directory Error: Access token was not retrieved.
The text was updated successfully, but these errors were encountered: