Go to Post First is more than a competition it is a family. - amos229 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 9 votes, 4.89 average. Display Modes
  #16   Spotlight this post!  
Unread 03-03-2015, 12:24 PM
VEX_6333's Avatar
VEX_6333 VEX_6333 is offline
Captain, VEX Team 6333 CTRL_ALT_DEL
AKA: Thane McGarry
VRC #6333 (CTRL_ALT_DEL)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2014
Location: United States
Posts: 7
VEX_6333 is an unknown quantity at this point
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?
Reply With Quote
  #17   Spotlight this post!  
Unread 03-03-2015, 12:36 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Remote command failed with exit status 1

Quote:
Originally Posted by VEX_6333 View Post
So, you're saying that if we fix the package error, we'll be able to push code again?
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.
Reply With Quote
  #18   Spotlight this post!  
Unread 03-03-2015, 01:00 PM
VEX_6333's Avatar
VEX_6333 VEX_6333 is offline
Captain, VEX Team 6333 CTRL_ALT_DEL
AKA: Thane McGarry
VRC #6333 (CTRL_ALT_DEL)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2014
Location: United States
Posts: 7
VEX_6333 is an unknown quantity at this point
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?
Reply With Quote
  #19   Spotlight this post!  
Unread 03-03-2015, 01:36 PM
legts legts is offline
Autonomous Queen
FRC #2399 (The Fighting Unicorns)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Ohio
Posts: 73
legts is an unknown quantity at this point
Re: Remote command failed with exit status 1

Quote:
Originally Posted by VEX_6333 View Post
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?
That looks like it should have worked. Can you post what the package you're working out of is? For my team it is "package org.usfirst.frc.team2399.robot;" inside of OI and Robot.java
Reply With Quote
  #20   Spotlight this post!  
Unread 03-03-2015, 01:43 PM
VEX_6333's Avatar
VEX_6333 VEX_6333 is offline
Captain, VEX Team 6333 CTRL_ALT_DEL
AKA: Thane McGarry
VRC #6333 (CTRL_ALT_DEL)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2014
Location: United States
Posts: 7
VEX_6333 is an unknown quantity at this point
Re: Remote command failed with exit status 1

It's "org.usfirst.frc.team1765.robot" Does that help?
Reply With Quote
  #21   Spotlight this post!  
Unread 03-03-2015, 02:13 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Remote command failed with exit status 1

Quote:
Originally Posted by VEX_6333 View Post
Does that help?
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.
Reply With Quote
  #22   Spotlight this post!  
Unread 03-03-2015, 02:21 PM
VEX_6333's Avatar
VEX_6333 VEX_6333 is offline
Captain, VEX Team 6333 CTRL_ALT_DEL
AKA: Thane McGarry
VRC #6333 (CTRL_ALT_DEL)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2014
Location: United States
Posts: 7
VEX_6333 is an unknown quantity at this point
Re: Remote command failed with exit status 1

Quote:
Originally Posted by Joe Ross View Post
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.
I'm going to sound like a naive rookie, (which I kinda am) but how exactly do you do that?
Reply With Quote
  #23   Spotlight this post!  
Unread 03-05-2015, 04:43 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Remote command failed with exit status 1

Quote:
Originally Posted by VEX_6333 View Post
I'm going to sound like a naive rookie, (which I kinda am) but how exactly do you do that?
http://wpilib.screenstepslive.com/s/...console-output
Reply With Quote
  #24   Spotlight this post!  
Unread 03-06-2015, 12:36 PM
VEX_6333's Avatar
VEX_6333 VEX_6333 is offline
Captain, VEX Team 6333 CTRL_ALT_DEL
AKA: Thane McGarry
VRC #6333 (CTRL_ALT_DEL)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2014
Location: United States
Posts: 7
VEX_6333 is an unknown quantity at this point
Exclamation Re: Remote command failed with exit status 1

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.
Reply With Quote
  #25   Spotlight this post!  
Unread 04-01-2015, 07:44 PM
Techwiz's Avatar
Techwiz Techwiz is offline
Blake B
AKA: Blake
FRC #4909 (The Bionics)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Massachusetts
Posts: 82
Techwiz will become famous soon enough
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
__________________
Blake
Electrical, Programming and Design

Creator FRC Q&A 2017
Mass FRC Team 4909: The Bionics
Maine FRC Team 5122: The RobOTies (2014-2015)
Maine FRC Team 2648: Infinite Loop (2008-2011)
Reply With Quote
  #26   Spotlight this post!  
Unread 10-30-2015, 05:46 PM
Mikey Richards's Avatar
Mikey Richards Mikey Richards is offline
Registered User
FRC #3812 (Bits and Bots)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Kelso, WA
Posts: 14
Mikey Richards is an unknown quantity at this point
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?
Reply With Quote
  #27   Spotlight this post!  
Unread 10-30-2015, 05:59 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Remote command failed with exit status 1

Quote:
Originally Posted by Mikey Richards View Post
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?
Sounds like you need to install the KRE as described in the post right above yours.

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.
Reply With Quote
  #28   Spotlight this post!  
Unread 10-31-2015, 01:41 PM
Mikey Richards's Avatar
Mikey Richards Mikey Richards is offline
Registered User
FRC #3812 (Bits and Bots)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Kelso, WA
Posts: 14
Mikey Richards is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:12 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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