![]() |
Build error while deplyoing to roboRio (Eclipse, c++)
Hello,
So after 3 days of issues regarding deploying our build code to the roboRio, I'm getting kind of frustrated with the repeated build errors we were receiving. Originally, we started getting a permission error regarding deploying code to the roboRio that was shown like this in eclipse: We've assumed this was regarding a permission error & tried editing the roboRio through its web address page, putting a pass on admin. Quote:
After a while of receiving this same error and verifying that our eclipse was setup correctly & the robot was imaged to 2016 we changed computers. And now we receive a new error: Quote:
Thanks. |
Re: Build error while deplyoing to roboRio (Eclipse, c++)
Permission denied suggests to me that /home/lvuser is no longer readable by the lvuser user (not sure what would have changed that, but that's what I would guess). I would suggest either ssh'ing into the RIO as admin and verifying the permissions on that folder, or simply reimaging the RIO if you want a simple solution.
As to the second issue, are you sure that your computer is connected to the RIO? Can you ping roborio-team-frc.local? The particular assertion that you're running into there are the tests to make sure that your computer can actually talk to the RIO. |
Re: Build error while deplyoing to roboRio (Eclipse, c++)
We've managed to use PuTTY to successfully ssh into our roboRio using our admin login, but how would we verify permissions? Perhaps we can load the program from here?
|
Folder permissions are just an operating system thing, you can use ls and its various flags to what permissions are set, and chmod to change them. I would suggest simply reimaging the RIO, it's likely to be easier.
|
Re: Build error while deplyoing to roboRio (Eclipse, c++)
Quote:
|
SSH is simply a method opening a shell on a remote computer. Giving you a tutorial on how to use a Linux shell is a little beyond the scope of typing on my phone, but what is the output of a "ls -la /home" (don't include the quotes)?
The build.properties shouldn't need to be modified, unless you've changed the package of your program. It just tells the robot what class to run. |
Re: Build error while deplyoing to roboRio (Eclipse, c++)
Quote:
1. Update the wpilib eclipse plugin. Make sure it's version 0.1.0.2016(something) 2. Close eclipse 3. Delete (user profile folder)\wpilib 4. Open eclipse There was an issue with the new plugin updating the wpilib folder and deleting the folder lets it install correctly. |
Quote:
OP, will your programmer be coming in today to work, or do you still need help? |
Re: Build error while deplyoing to roboRio (Eclipse, c++)
Quote:
drwxr-xr-x 5 admin administ 416 Jun 5 2015 . drwxrwxr-x 20 webserv ni 1616 Feb 10 00:16 .. drwxr-xr-x 2 admin administ 160 May 1 2015 admin drwxrwsr-x 4 lvuser ni 584 Dec 17 2015 lvuser lrwxrwxrwx 1 admin administ 11 Oct 26 2015 root -> /home/admin drwxr-sr-x 3 webserv ni 360 Dec 17 2015 webserv this is the outlog of that command |
Re: Build error while deplyoing to roboRio (Eclipse, c++)
Quote:
|
Re: Build error while deplyoing to roboRio (Eclipse, c++)
How did you finally resolve this last error?
|
Re: Build error while deplyoing to roboRio (Eclipse, c++)
Not posting a solution but if you need to test code while a solution for this problem is found, you can upload the FRCUserProgram in your Robot's Debug folder as admin into the /home/lvuser folder. Then if you ssh or putty into the roboRio as admin again you can manually execute the program as follows:
./home/lvuser/FRCUserProgram |
| All times are GMT -5. The time now is 00:38. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi