Go to Post If everyone else in the world is an idiot, you may need to recalibrate your idiotness scale. - GaryVoshol [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
  #1   Spotlight this post!  
Unread 03-03-2015, 12:24
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
  #2   Spotlight this post!  
Unread 03-03-2015, 12:36
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,543
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
  #3   Spotlight this post!  
Unread 03-03-2015, 13:00
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
  #4   Spotlight this post!  
Unread 03-03-2015, 13:36
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
  #5   Spotlight this post!  
Unread 03-03-2015, 13:43
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
  #6   Spotlight this post!  
Unread 03-03-2015, 14:13
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,543
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
  #7   Spotlight this post!  
Unread 03-03-2015, 14:21
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
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 09:36.

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