Go to Post Our robot throws custom $5.50 FIRST Frisbees at a rate of 75 discs per minute and a speed of ~32 feet per second. It costs over $80 to feed our robot for 12 seconds. - Woolly [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 16-01-2017, 17:28
TheLegend27 TheLegend27 is offline
Registered User
FRC #3260
 
Join Date: Jan 2017
Location: United States
Posts: 5
TheLegend27 is an unknown quantity at this point
Post Strange Build.xml error?

Every time I attempt to run my program, I get a strange error that states:

BUILD FAILED
C:\Users\samjt\wpilib\java\current\ant\build.xml:1 67: The following error occurred while executing this line:
C:\Users\samjt\wpilib\java\current\ant\build.xml:3 39: server indicated an error: scp: /usr/local/frc/bin/netconsole-host: Text file busy


What is weird that there is not really anything on those lines. I have no idea what to do. It seems that the RoboRIO has a file open and it can't be accessed, so how do I "close the file"
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2017, 17:40
RonanK687 RonanK687 is offline
Registered User
FRC #0687
 
Join Date: Mar 2016
Location: California
Posts: 2
RonanK687 is an unknown quantity at this point
Re: Strange Build.xml error?

I also received the same error when attempting to upload code to the RoboRIO.

I've also tried downloading Apple Bonjour by Installing iTunes and I already had the NI mDNS Responder that came with the NI FRC Update Suite. I've also disabled my firewalls.
"https://wpilib.screenstepslive.com/s/4485/m/13503/l/242608-roborio-networking"

I still have no luck.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2017, 19:29
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: Strange Build.xml error?

Were you able to successfully deploy code before or is this your first attempt to deploy code? If you restart the roboRIO do you still get the same error?

I think its safe to assume the problem is not with your computer. Can you upload the full build log?
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2017, 12:12
ABerg ABerg is offline
Registered User
AKA: Amie Berg
FRC #6547 (Flaming Metal Robotics)
Team Role: Teacher
 
Join Date: Jan 2017
Rookie Year: 2017
Location: Magnolia
Posts: 1
ABerg is an unknown quantity at this point
Re: Strange Build.xml error?

I had the same problem. In my situation, I had run the code and then received the error message that req'd me to change the build path. I changed the build path (this is when you had to point to the jdk instead of the jre). When I ran the code again, I received the same error that you did. I then closed the driver station and disconnected from my radio. I then reopened the driver station and reconnected to the radio and ran it again and it ran fine. Not sure why that worked, though. Note that I did not close Eclipse during the process. Hope this helps.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2017, 12:51
TheLegend27 TheLegend27 is offline
Registered User
FRC #3260
 
Join Date: Jan 2017
Location: United States
Posts: 5
TheLegend27 is an unknown quantity at this point
Re: Strange Build.xml error?

Problem is I have restarted the roborio and my computer and I still get an error. However, I tried the code with the exact same build file on another computer and it worked fine
Strange
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2017, 18:02
TheLegend27 TheLegend27 is offline
Registered User
FRC #3260
 
Join Date: Jan 2017
Location: United States
Posts: 5
TheLegend27 is an unknown quantity at this point
Re: Strange Build.xml error?

Also it should be noted that the file causing the issue is called network-host.

I was able to find this file in the same directory as the build.xml file in wpilib folder.
Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2017, 18:15
Psychicowl's Avatar
Psychicowl Psychicowl is offline
Registered User
FRC #3039
 
Join Date: Jan 2017
Location: Destrehan, Louisiana
Posts: 7
Psychicowl is an unknown quantity at this point
Re: Strange Build.xml error?

I had a sort of similar problem I had forgot to install the Java JRE on to the RoboRio.
Reply With Quote
  #8   Spotlight this post!  
Unread 17-01-2017, 18:21
TheLegend27 TheLegend27 is offline
Registered User
FRC #3260
 
Join Date: Jan 2017
Location: United States
Posts: 5
TheLegend27 is an unknown quantity at this point
Re: Strange Build.xml error?

I fixed the error. To anyone who needs this information, delete the files called network-host in

C:\Users\(your user)\wpilib\java\current\ant

There should be 2 files. A properties and a blank file. Just delete them.
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 12:35.

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