|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
RobotPy D eploy Error? What are we missing?
Hi! We ran into a code deploy problem we are not sure how to fix them(first year using python). I linked the error message below. I entered in the command "py robotcode.py deploy" which brought the error message. I have robotpy installed on the roboRIO. Any help will be greatly appreciated.
|
|
#2
|
|||
|
|||
|
Re: RobotPy D eploy Error? What are we missing?
Quote:
|
|
#3
|
||||
|
||||
|
Re: RobotPy D eploy Error? What are we missing?
Quote:
|
|
#4
|
|||
|
|||
|
Re: RobotPy D eploy Error? What are we missing?
That looks like a successful upload (the last message is just saying there wasn't previous robot code running). Note you should be uploading as "lvuser" rather than admin. If the robot code still isn't running, either check netconsole or use putty to log in as lvuser, run "sh robotCommand" (if the first time prints out an error like "socket in use" or "FRC pid XXX did not die within 110 ms, aborting", wait a few seconds and try again), and see if that prints out any errors.
|
|
#5
|
||||
|
||||
|
Re: RobotPy D eploy Error? What are we missing?
Quote:
|
|
#6
|
|||
|
|||
|
Re: RobotPy D eploy Error? What are we missing?
Quote:
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. |
|
#7
|
||||
|
||||
|
Re: RobotPy D eploy Error? What are we missing?
Quote:
|
|
#8
|
||||
|
||||
|
Re: RobotPy D eploy Error? What are we missing?
Quote:
Code:
c:\python34\scripts\pip.exe install -U pyfrc |
|
#9
|
||||
|
||||
|
Re: RobotPy D eploy Error? What are we missing?
Ok so I installed the latest Pyfrc and now, for some odd reason, I get a permission denied error. See picture for details. Thanks again for all the help!!
|
|
#10
|
|||
|
|||
|
Re: RobotPy D eploy Error? What are we missing?
Use putty to log in as admin, then run "rm /home/lvuser/robotCommand". You may also need to do "rm -r /home/lvuser/py".
|
|
#11
|
||||
|
||||
|
Re: RobotPy D eploy Error? What are we missing?
I am super happy and thankful to say that the deploy worked! It showed up in the FRC driver station and everything! Thank you both so much for taking the time to help us with robotpy and pyfrc!!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|