Quote:
Originally Posted by team-4480
Thanks for the responses and I am very happy to see the actual developer of robotpy here. I got a new error when I did what you said. See picture again.
|
Is your robot script named robot.py? Are there any files in the py directory? I'm not the author of the pyfrc parts, virtuald is (he frequents Chief Delphi as well), but it looks like pyfrc's deploy feature may always make robotCommand call robot.py, rather than using the actual name of the script used when deploying. As a workaround, try renaming your script to robot.py if it isn't already.
If there are no files in the py directory, it could also be permissions related since you were uploading as admin previously--if that's the case, try logging in as admin, removing /home/lvuser/py, and then retrying your upload as lvuser.
__________________
Author of
cscore - WPILib CameraServer for 2017+
Author of
ntcore - WPILib NetworkTables for 2016+
Creator of
RobotPy - Python for FRC
2010 FRC World Champions (
294, 67, 177)
2007 FTC World Champions (30, 74,
23)
2001 FRC National Champions (71,
294, 125, 365, 279)