Troubleshooting Guide
Breadcrumb: /toolsRecovery guide for common issues with GitHub, cloning, virtual environments, and running your website.
- π§ Tool Setup Troubleshooting Guide
- GitHub Commit / Config Recovery
- Directory + Clone Recovery
- Virtual Environment Recovery
- Version Checks
- Additional Issues
π§ Tool Setup Troubleshooting Guide
Use this page if something is not working.
Each section is independent β jump directly to the area you are stuck.
GitHub Commit / Config Recovery
Use these commands if git commit is failing
β
Expectation
You have a GitHub username + email
git config --list` # shows your GitHub username + email.
β If not personalized, run to match your credentials:
git config --global user.name "jm1021" # change to your GitHub ID
git config --global user.email "jm1021@gmail.com" # change to your Email
Directory + Clone Recovery
β Expectation You can cd into your personal directory, and an ls shows your repo folder (ex: student).
Navigate
cd ~/jm1021 # change jm1021 to your user directory name
β If cd fails, run:
mkdir ~/jm1021
cd ~/jm1021
Check for repo folder
ls # lshould show "student"
β If missing, run:
git clone https://github.com/jm1021/student.git # change to personal location of repo
Virtual Environment Recovery
β Expectation Your terminal prompt shows (venv) prefix.
Run Virtual Environment
source venv/bin/activate
β If it fails
./scripts/venv.sh
source venv/bin/activate
VSCode Launch and Memories
β Satisfying the pre-requisites
- In project directory of your repo
pwd - Sourcing virtual environment
source venv/bin/activate - Ensure your terminal prompt shows the active virtual environment
(venv).
You are now ready to load VSCode and build a proper memory to open your project.
code .
β Verify VSCode launch
- Terminal and presence of
(venv)prompt - Open your Jokes IPYNB notebook and select the Python kernel with the
venvprefix.
β If you fail verification
You may have opened your repo project without activating the proper (venv) environment.
Check the Recent listings. If there are entries that look incorrect or outdated (bad memories), remove them all.
- Shift-Cmd-P (Mac) or Shift-Ctl-P (Windows, KASM)
- type: Clear Recently Open β select and confirm
- close VSCode
- Repeat VSCode Launch and Memories
Version Checks
β Expectation
Run the bash script below
- Output is expected for each
### Command - Version may be slightly different, but ask if you are not sure
- Java kernels are required for CSA only
β If it fails
Best course of action is to run OS specific activate scripts from pages project directory
./scripts/activate_ubuntu.sh # windows ubuntu
./scripts/activate_macos.sh # macos
./scripts/activate.sh # help setup git config options
%%script bash
# Define an array of commands
commands=("python --version" "pip --version" "ruby -v" "bundle -v" "gem -v" "jupyter --version" "jupyter kernelspec list" "git config --global user.name" "git config --global user.email")
for cmd in "${commands[@]}"; do
echo "### Command: $cmd"
bash -c "$cmd"
done
### Command: python --version
Python 3.13.7
### Command: pip --version
pip 25.2 from /Users/johnmortensen/jm1021/student/venv/lib/python3.13/site-packages/pip (python 3.13)
### Command: ruby -v
ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [arm64-darwin24]
### Command: bundle -v
Bundler version 2.6.9
### Command: gem -v
3.6.9
### Command: jupyter --version
Selected Jupyter core packages...
IPython : 9.5.0
ipykernel : 6.30.1
ipywidgets : not installed
jupyter_client : 8.6.3
jupyter_core : 5.8.1
jupyter_server : 2.17.0
jupyterlab : 4.4.6
nbclient : 0.10.2
nbconvert : 7.16.6
nbformat : 5.10.4
notebook : 7.4.5
qtconsole : not installed
traitlets : 5.14.3
### Command: jupyter kernelspec list
Available kernels:
java /Users/johnmortensen/Library/Jupyter/kernels/java
jbang-ijava /Users/johnmortensen/Library/Jupyter/kernels/jbang-ijava
python3 /Users/johnmortensen/jm1021/student/venv/share/jupyter/kernels/python3
### Command: git config --global user.name
jm1021
### Command: git config --global user.email
jmort1021@gmail.com
Additional Issues
Problem 1: Virtual Environment (Venv)
Venv always felt like a blackhole It was there, but what was in it? What was it doing? Felt like trying to work in a separate dimension Fix: as soon as you clone and enter the repository, Type in the terminal:
./scripts/venv.sh
source venv/bin/activate
Problem 2: Git Commit & Git Push
Git commit/push felt like a mind-reading exercise Sometimes it would commit, sometimes it didnβt Did I miss a step? In the wrong timeline? Cryptic errors Fix: Type in the terminal:
source venv/bin/activate
git install
bundle install
If it doesnβt work, check where your repository traces back to.
Problem 3: Invoking Ubuntu
The black terminals felt like we were facing a void The intimidating black screen with a blinking cursor Felt like trying to work in a separate dimension, in a language I didnβt know Fix: Launch Open Coding Society (clone their student repository) Follow these steps to launch Ubuntu Noble Successfully:
./scripts/activate_ubuntu.sh # windows ubuntu
./scripts/activate_macos.sh # macos
./scripts/activate.sh # help setup git config options
Problem 4: Git Clone
Reaching out to copy a distant repository Felt like sending signals into deep space Fix: (Follow Code on Troubleshooting) If the path already exists, rename the destination or clear the folder before attempting to clone again.
Problem 5: Make
Error 1 unable to find _notebooks/CSP Fix:
make