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
Perhaps want to expand to all sourcing in ~/.bashrc so that you know which file has the error. If ~/juptyer/bashrc has an error, then keep going, because user has to get in to fix it. Need to notify user too.
The text was updated successfully, but these errors were encountered:
I think we need something like this in jupyter radia-run.sh
trap"handle_bashrc_err" EXIT
handle_bashrc_err() {
move all custom bashrc out of the way
check that we aren't in a loop with this by looking for the message on the next line if we are in a loop not sure what to do except log it to a file in the user's directory (JUPYTER_FAILURE)
put an echoin new jupyter/bashrc that says we did this
exit
}
run the rest of the bashrc and right before execdo this
trap - EXIT
robnagler
changed the title
sourcing jupyter/bashrc needs to be robust
20221231 sourcing jupyter/bashrc needs to be robust
Oct 14, 2022
robnagler
changed the title
20221231 sourcing jupyter/bashrc needs to be robust
sourcing jupyter/bashrc needs to be robust
Apr 17, 2023
Perhaps want to expand to all sourcing in ~/.bashrc so that you know which file has the error. If ~/juptyer/bashrc has an error, then keep going, because user has to get in to fix it. Need to notify user too.
The text was updated successfully, but these errors were encountered: