|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: Remote command failed with exit status 1
So, you're saying that if we fix the package error, we'll be able to push code again?
|
|
#17
|
||||||
|
||||||
|
Re: Remote command failed with exit status 1
Do you have a package error? You haven't provided any information that would lead to that conclusion, he just posted one example. Because there are many things that could cause this message, including many in which there isn't any problem, you need to post the entire build log as well as the riolog for anyone to give you any advice.
|
|
#18
|
||||
|
||||
|
Re: Remote command failed with exit status 1
Okay, here is the build log:
Buildfile: C:\Users\DOC\workspace\DriveTrain\build.xml Trying to override old definition of task classloader clean: [delete] Deleting directory C:\Users\DOC\workspace\DriveTrain\build [delete] Deleting directory C:\Users\DOC\workspace\DriveTrain\dist compile: [mkdir] Created dir: C:\Users\DOC\workspace\DriveTrain\build [echo] [athena-compile] Compiling src with classpath=C:\Users\DOC/wpilib/java/current/lib/WPILib.jar:C:\Users\DOC/wpilib/java/current/lib/NetworkTables.jar to build [javac] Compiling 1 source file to C:\Users\DOC\workspace\DriveTrain\build jar: [echo] [athena-jar] Making jar dist/FRCUserProgram.jar. [mkdir] Created dir: C:\Users\DOC\workspace\DriveTrain\dist [mkdir] Created dir: C:\Users\DOC\workspace\DriveTrain\build\jars [echo] [athena-jar] Copying jars from C:\Users\DOC/wpilib/java/current/lib/WPILib.jar:C:\Users\DOC/wpilib/java/current/lib/NetworkTables.jar to build/jars. [copy] Copying 2 files to C:\Users\DOC\workspace\DriveTrain\build\jars [jar] Building jar: C:\Users\DOC\workspace\DriveTrain\dist\FRCUserProg ram.jar get-target-ip: [echo] Trying Target: roboRIO-1765.local [echo] roboRIO found via mDNS dependencies: [echo] roboRIO image version validated [echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s...ller-java-only [sshexec] Connecting to roboRIO-1765.local:22 [sshexec] cmd : test -d /usr/local/frc/JRE deploy: [echo] [athena-deploy] Copying code over. [scp] Connecting to roboRIO-1765.local:22 [scp] done. [sshexec] Connecting to roboRIO-1765.local:22 [sshexec] cmd : killall netconsole-host [sshexec] killall: netconsole-host: no process killed [sshexec] Remote command failed with exit status 1 [scp] Connecting to roboRIO-1765.local:22 [scp] done. [scp] Connecting to roboRIO-1765.local:22 [scp] done. [echo] [athena-deploy] Starting program. [sshexec] Connecting to roboRIO-1765.local:22 [sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r; [sshexec] start-stop-daemon: warning: killing process 2831: No such process BUILD SUCCESSFUL Total time: 34 seconds Does that help? |
|
#19
|
|||
|
|||
|
Re: Remote command failed with exit status 1
Quote:
|
|
#20
|
||||
|
||||
|
Re: Remote command failed with exit status 1
It's "org.usfirst.frc.team1765.robot" Does that help?
|
|
#21
|
||||||
|
||||||
|
Re: Remote command failed with exit status 1
Like legts said, this doesn't show a problem, just that no robot code was running. To find out why the robot code isn't running, please post your riolog, which will hopefully have a stack trace.
|
|
#22
|
||||
|
||||
|
Re: Remote command failed with exit status 1
I'm going to sound like a naive rookie, (which I kinda am) but how exactly do you do that?
|
|
#23
|
||||||
|
||||||
|
Re: Remote command failed with exit status 1
Quote:
|
|
#24
|
||||
|
||||
|
Thanks Joe. We solved the problem on our own, it was actually a HARDWARE issue. If anyone else is having this problem, we may be able to help because the "Remote command failed with exit status 1" message is not what's making the code not push. If the build is successful, the problem is the roboRIO.
|
|
#25
|
||||
|
||||
|
Re: Remote command failed with exit status 1
--ONE SOLUTION--
If you are using JAVA make sure that you have installed the JRE as descrbed https://wpilib.screenstepslive.com/s...ller-java-only |
|
#26
|
||||
|
||||
|
Re: Remote command failed with exit status 1
We have also had this problem on one of our test bench robots. After our RoboRio failed to run java code, we re-imaged it. Using the same java file that was being successfully sent to the robot earlier, we kept getting the same error with 2 different computers, both of which had eclipse mars and luna installed. How did you guys get the hardware fixed?
|
|
#27
|
|||
|
|||
|
Re: Remote command failed with exit status 1
Quote:
The FRC deployment scripts run something like a dozen remote commands on the roboRIO, this error by itself is fairly useless. If you are sure the JRE is loaded, post the whole deploy log. |
|
#28
|
||||
|
||||
|
Re: Remote command failed with exit status 1
OK. We realized we had never installed the roboRio hardware updates, and once we updated that it works just fine.
Unfortunately, our code still won't control the motors, but that is a different problem. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|