Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Roborio Image does not match plugin (http://www.chiefdelphi.com/forums/showthread.php?t=141997)

Bernstern 17-01-2016 16:22

Roborio Image does not match plugin
 
BUILD FAILED
C:\Users\robotics\wpilib\java\current\ant\build.xm l:227: Assertion failed boolean test.
roboRIO Image does not match plugin, allowed image version: 23

This is a problem that keeps coming up as we attempt to deploy to our prototype.
We have imaged the rio 3 times with the new labview v 19 file.zip and have updated our java problems to no avail.

RufflesRidge 17-01-2016 16:25

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by Bernstern (Post 1525495)
We have imaged the rio 3 times with the new labview v 19 file.zip and have updated our java problems to no avail.

As you have noticed, you can update to 2016v19 as much as you want and it will still fail if your plugins are looking for 2015v23. Install the plugins using either of the methods described near the bottom of this document: http://wpilib.screenstepslive.com/s/...eclipse-c-java

Eclipse will detect that you already have plugins installed and offer to update instead.

Joe Ross 17-01-2016 16:26

Re: Roborio Image does not match plugin
 
It looks like you haven't updated the eclipse plugins.

Bernstern 17-01-2016 16:57

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by RufflesRidge (Post 1525500)
As you have noticed, you can update to 2016v19 as much as you want and it will still fail if your plugins are looking for 2015v23. Install the plugins using either of the methods described near the bottom of this document: http://wpilib.screenstepslive.com/s/...eclipse-c-java

Eclipse will detect that you already have plugins installed and offer to update instead.

When i went to eclipse and checked for plugin updates, it said it was current and i validated with the FRC software site.

RufflesRidge 17-01-2016 17:00

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by Bernstern (Post 1525524)
When i went to eclipse and checked for plugin updates, it said it was current and i validated with the FRC software site.

So you have the correct version of the plugins installed as confirmed with this page? http://wpilib.screenstepslive.com/s/...ware-revisions

If that's the case, for some reason the plugins must be failing to update the files. Close Eclipse, delete your C:\Users\USERNAME\wpilib directory (where USERNAME is your username), then open Eclipse again.

Joe Ross 17-01-2016 17:10

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by Bernstern (Post 1525524)
When i went to eclipse and checked for plugin updates, it said it was current and i validated with the FRC software site.

Make sure Eclipse is set to use the release site, not stable or development. Those are out of date compared to release.

Bernstern 17-01-2016 17:15

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by RufflesRidge (Post 1525526)
So you have the correct version of the plugins installed as confirmed with this page? http://wpilib.screenstepslive.com/s/...ware-revisions

If that's the case, for some reason the plugins must be failing to update the files. Close Eclipse, delete your C:\Users\USERNAME\wpilib directory (where USERNAME is your username), then open Eclipse again.

Ok so that did the trick, now im getting error remote command failed exit status 1

Arhowk 17-01-2016 17:41

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by Bernstern (Post 1525532)
Ok so that did the trick, now im getting error remote command failed exit status 1

Deploy again. Without the entire console output, this error usually pops up because no robot code is running when it tries to cancel the current running code.

RufflesRidge 17-01-2016 18:13

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by Bernstern (Post 1525532)
Ok so that did the trick, now im getting error remote command failed exit status 1

Post the full contents of the console window please. That message is not particularly helpful by itself. It means one of a whole slew of remote commands run on the roboRIO failed. Some of them can fail harmlessly, others will prevent the build from continuing, but we can't tell which one failed or how to fix it without the whole log.

jwatson12 20-01-2016 09:17

Re: Roborio Image does not match plugin
 
Make sure you are using this years FRCUpdates and that your RoboRio has the matching image.

euhlmann 20-01-2016 12:49

Re: Roborio Image does not match plugin
 
Quote:

Originally Posted by Bernstern (Post 1525532)
Ok so that did the trick, now im getting error remote command failed exit status 1

That should be safe to ignore. It tends to pop up when there is no robot program already on the rio (which causes the kill command to fail)

Deleting the wpilib directory and restarting eclipse solved the problem for me as well. You can also go into the build.xml file and just remove the assertion.

BenD 21-01-2016 10:59

Re: Roborio Image does not match plugin
 
If you're receiving the error remote command failed exit status 1 but your code is going through and the program builds successfully, then there is no issue. euhlmann explains it well above.

If the error is causing your build to fail, make sure you have the correct JRE on the RoboRIO.


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

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