Go to Post I think we need a little more humour injected into topics such as these to diffuse whatever tension has been created by the original discussion threads. - Travis Hoffman [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2015, 12:46
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Problem uploading code to roboRIO on new laptop

I have been trying to switch from a previous laptop too a new laptop, and everything is just fine, when it comes to controlling the robot, but when it comes to uploading new code, i get this error message:
Code:
Buildfile: C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\build.xml
Trying to override old definition of task classloader
clean:
   [delete] Deleting directory C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\build
   [delete] Deleting directory C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\dist
compile:
    [mkdir] Created dir: C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\build
     [echo] [athena-compile] Compiling src with classpath=C:\Users\Jai P/wpilib/java/current/lib/WPILib.jar:C:\Users\Jai P/wpilib/java/current/lib/NetworkTables.jar to build
    [javac] Compiling 31 source files to C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\build
jar:
     [echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
    [mkdir] Created dir: C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\dist
    [mkdir] Created dir: C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\build\jars
     [echo] [athena-jar] Copying jars from C:\Users\Jai P/wpilib/java/current/lib/WPILib.jar:C:\Users\Jai P/wpilib/java/current/lib/NetworkTables.jar to build/jars.
     [copy] Copying 2 files to C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\build\jars
      [jar] Building jar: C:\Users\Jai P\Documents\Programs\workspace\2015_Prototype-1\dist\FRCUserProgram.jar
get-target-ip:
     [echo] Trying Target: roboRIO-5428.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/4485/m/13503/l/288822-installing-java-8-on-the-roborio-using-the-frc-roborio-java-installer-java-only
  [sshexec] Connecting to roboRIO-5428.local:22
  [sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
     [echo] [athena-deploy] Copying code over.
      [scp] Connecting to roboRIO-5428.local:22
      [scp] done.
  [sshexec] Connecting to roboRIO-5428.local:22
  [sshexec] Caught exception: SSH_MSG_DISCONNECT: 2 Too many authentication failures for admin 
      [scp] Connecting to roboRIO-5428.local:22

BUILD FAILED
C:\Users\Jai P\wpilib\java\current\ant\build.xml:114: com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 2 Too many authentication failures for admin 

Total time: 11 seconds

And the new code isnt uploaded, while the old code stays on the roborio, and still active.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2015, 19:25
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,586
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: Problem uploading code to roboRIO on new laptop

Did you change the admin password on the roboRIO?
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2015, 12:17
JacobD's Avatar
JacobD JacobD is offline
Registered User
AKA: Jacob
FRC #1672 (Mahwah Robo T-Birds)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: New Jersey
Posts: 93
JacobD is an unknown quantity at this point
Re: Problem uploading code to roboRIO on new laptop

Someone else was having a similar problem. They edited their admin information. So, you have to change that in build.properties file within the USER/wpilib/java/current/ant directory.

Quote:
Inside the build.properties file there us a username and password entry.
By default (I assume) the username is lvuser, with a blank password.
Then change the information to the correct username and password.
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 18:07.

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