Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Python (http://www.chiefdelphi.com/forums/forumdisplay.php?f=187)
-   -   No robot code, but can start it manually (http://www.chiefdelphi.com/forums/showthread.php?t=153575)

Dave Hurt 13-01-2017 12:59

No robot code, but can start it manually
 
I've setup robotpy 2017.0.2 on my rio and pushed a very simple project to it. Deploy goes ok, but the dashboard says no robot code. So I ssh'd into the rio and started the code manually and then everything started working. Dug around a little bit and I can't find a cause for it, anyone have any thoughts? Thanks!

onenerdyguy 13-01-2017 15:48

Re: No robot code, but can start it manually
 
I just took some code and pushed it to the roborio via usb, worked fine. Driver's station reports it perfectly. Don't know what to say bud.

virtuald 13-01-2017 16:28

Re: No robot code, but can start it manually
 
The best way to check this would be to try using the --nc flag to the deploy command to see if there's any error messages that show up. You can also look at the console in the driver station to see if messages show up there (it'll show the same thing).

applesauce2011 14-01-2017 14:29

Re: No robot code, but can start it manually
 
I'm working with Dave, these are the messages we see in in the Driver Station

env: can't execute '/usr/local/frc/bin/netconsole-host': No such file or directory


Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad FRC: Driver Station ping status has changed. Driver Station

virtuald 14-01-2017 14:40

Re: No robot code, but can start it manually
 
Quote:

Originally Posted by applesauce2011 (Post 1631150)
I'm working with Dave, these are the messages we see in in the Driver Station

env: can't execute '/usr/local/frc/bin/netconsole-host': No such file or directory


Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad FRC: Driver Station ping status has changed. Driver Station

Did you install using the manual instructions, or by using the installer?

In the RobotPy installation package, there's a directory called 'opkg_cache', and it should have two packages... Python and netconsole-host. If you don't install netconsole-host, you'll get that error. If you use the 'install-robotpy' installer command, it should already do that for you.

Feel free to get on the RobotPy gitter channel and I can assist in realtime.

virtuald 14-01-2017 15:05

Re: No robot code, but can start it manually
 
To follow up with others, they were installing last year's release of RobotPy, which is why netconsole-host wasn't being installed. :)


All times are GMT -5. The time now is 23:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi