Go to Post YES!!!!!! I read this and jumped! This is awesome and amazing! Thank you so much Dean Kamen and FIRST!!! YOU ARE AMAZING! - torihoelscher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-10-2012, 02:01
pavlovskitten pavlovskitten is offline
Registered User
FRC #1209
 
Join Date: Oct 2012
Location: Deadhorse, Alaska
Posts: 2
pavlovskitten is an unknown quantity at this point
code deployment issues

I wasn't sure if this could be considered a Java-specific issue, but Netbeans is giving an error on two different CRIOs when I try deploying code. Both of these CRIOs were updated for last year and worked fine, but now whenever I try deploying code, I just get this error:
"Expected version FRC_2011_v28.zip; for Name but got FRC_2012_v43.zip"

Which implies Netbeans is expecting an older version of the image? I'm using the same installment of Netbeans from the same computer as last year, and the CRIOs have not been imaged since. All I can think of is Netbeans did some automatic update without me knowing, otherwise I'm at loss at what might have changed.

Well, first I tried editing the upgrade.xml file and changing the expected version, and the code was sent, but it caused the CRIO's JVM to crash on deployment (not at runtime).

So, I decided to download the old image "FRC_2011_v28.zip" for the CRIO. When I tried imaging them (and this happened on both 2011 and 2012 imaging tools), I got this error:

Unable to complete operation because of unexpected error:
Error 7 occurred at File/Directory Info in NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Store Multiple.vi->ConfigUtility.lvlib:FRC 2012_FTP Put File.vi->ConfigUtility.lvlib:CloseAndUploadRemoteConfigura tion.vi->ConfigUtility.lvlib:CurrentLanguageConfig.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlibialog.vi

Possible reason(s):

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.

C:\Users\user\AppData\Local\Temp\lvtemporaryd_2238 1\FRC_ImageVersion.ini


I don't know if this related to the Netbeans error. Anyway since it says LabVIEW isn't found, I tried reinstalling LabVIEW and got the same results. I don't know if the imaging error is related to the Netbeans error, but either way I'm stuck. Anyone have similar issues?
  #2   Spotlight this post!  
Unread 25-10-2012, 09:42
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,567
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: code deployment issues

Rather then try to figure out how to go to an old image, I think you should concentrate on the netbeans plugins. What version of the plugins are installed? They should be 2012.3077. What is the update URL? It should be http://first.wpi.edu/FRC/java/netbea...te/updates.xml
  #3   Spotlight this post!  
Unread 25-10-2012, 16:02
pavlovskitten pavlovskitten is offline
Registered User
FRC #1209
 
Join Date: Oct 2012
Location: Deadhorse, Alaska
Posts: 2
pavlovskitten is an unknown quantity at this point
Re: code deployment issues

I have the 2012.3077 version for all frc related plugins on Netbeans. I'm not quite certain what you mean by the updates URL. In the error message, it at least gave the first half of your URL: http://first.wpi.edu/FRC/frcjava.html

I looked in the directory of updates.xml in the url you provided, and I found the updates files, but it appears I already have them.
  #4   Spotlight this post!  
Unread 26-10-2012, 11:22
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,567
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: code deployment issues

The update URL is what netbeans uses to update the plugins. See the getting started with Java guide.

Do you have multiple versions of netbeans installed? The sunspotfrcsdk folder could have been overwritten if someone installed old plugins in another version of netbeans. If that's the case, I would uninstall the plugins (in all versions of netbeans) and delete the sunspotfrcsdk folder. Then you can install the 2012 plugins.
  #5   Spotlight this post!  
Unread 01-11-2012, 21:31
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
I agree i think it has nothing to do with your crio's image being old but as it said it got a newer version than expected the update link can also be found on the KOP site for last year
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________

Last edited by inkspell4 : 02-11-2012 at 20:05.
Closed Thread


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 00:46.

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