When running py -3 -m robotpy sync on a Windows laptop there was an exception raised for a missing roboty .json file.
The file was being searched for in
c:\users\\wpilib\2024\robotpy
If WPILib installer is run for all users, or the directory is specified to be something else that path doesn't exist.
On our system that had the bug, WPILib was in \users\Public\wpilib\2024
I manually created the directory:
mkdir -p \users\Public\wpilib\2024\robotpy
and re-ran the sync command and everything installed successfully.
Problem description
When running py -3 -m robotpy sync on a Windows laptop there was an exception raised for a missing roboty .json file.
The file was being searched for in c:\users\\wpilib\2024\robotpy
If WPILib installer is run for all users, or the directory is specified to be something else that path doesn't exist. On our system that had the bug, WPILib was in \users\Public\wpilib\2024
I manually created the directory:
mkdir -p \users\Public\wpilib\2024\robotpy
and re-ran the sync command and everything installed successfully.
Operating System
Windows
Installed Python Packages
Reproducible example code