Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Error when deploying code on to robot. build.xml:66 (C++, Eclipse) (http://www.chiefdelphi.com/forums/showthread.php?t=132175)

Herbie_3633 05-01-2015 17:49

Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
 
Code:

C:\Users\My Dell\wpilib\cpp\current\ant\build.xml:66: com.jcraft.jsch.JSchException: Could not send 'C:\Users\My Dell\workspace\Robot\Debug\FRCUserProgram' to '/home/lvuser' - 4: java.io.FileNotFoundException: C:\Users\My Dell\workspace\Robot\Debug\FRCUserProgram (The system cannot find the file specified)
The laptop is 64 bit windows 7. I found some other occurrences of the error on wpilib.screenstepslive.com/ but no way to fix it. Does anyone know how to fix it and/or avoid it in the furure?

RufflesRidge 05-01-2015 18:43

Re: Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
 
This likely means your project didn't build. What does the Build Console show when you build the project? Do you have an FRCUserProgram in the debug folder inside your project?

BradAMiller 05-01-2015 22:29

Re: Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
 
The other likely source of that error (line 66 of build.xml) is the script trying to copy your program onto the roboRIO. I usually see that when there is no connection to the robot. Can you make sure by browsing to "roborio-<yourteamnumber>.local and see if that works to verify connectivity and that the name of the roboRIO can be resolved? That usually fixes it for me.

nollchr 10-01-2015 13:59

Re: Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
 
We experienced a similar error and it turned out to be the team number not filled in under Preferences->WPILib


All times are GMT -5. The time now is 02:39.

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