View Single Post
  #6   Spotlight this post!  
Unread 16-01-2015, 15:02
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 264
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: RobotPy D eploy Error? What are we missing?

Quote:
Originally Posted by team-4480 View Post
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)