Go to Post Parallax is evil. - RoboChair [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 04-02-2015, 16:09
mattoreo310 mattoreo310 is offline
Registered User
FRC #4012
 
Join Date: Feb 2015
Location: New York
Posts: 20
mattoreo310 is an unknown quantity at this point
Code Won't Deploy

Hello,

When I deploy the code to the Roborio I get this message.


Buildfile: C:\Users\Robouser\workspace\2015\build.xml
Trying to override old definition of task classloader
get-target-ip:
[echo] Trying Target: roboRIO-4012.local
[echo] roboRIO found via mDNS
dependencies:
[echo] roboRIO image version validated
deploy:
[sshexec] Connecting to roboRIO-4012.local:22
[sshexec] cmd : rm /home/lvuser/FRCUserProgram
[sshexec] rm: can't remove '/home/lvuser/FRCUserProgram': No such file or directory
[sshexec] Remote command failed with exit status 1
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-4012.local:22

BUILD FAILED
C:\Users\Robouser\wpilib\cpp\current\ant\build.xml :66: com.jcraft.jsch.JSchException: Could not send 'C:\Users\Robouser\workspace\2015\Debug\FRCUserPro gram' to '/home/lvuser' - 4: java.io.FileNotFoundException: C:\Users\Robouser\workspace\2015\Debug\FRCUserProg ram (The system cannot find the file specified)

Total time: 3 seconds
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2015, 16:46
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Code Won't Deploy

At first glance it would seem that for some reason possibly your /home/lvuser directory on the roboRIO is inaccessible or other. I'd suggest re-image the roboRIO using the imaging tool. Something is suspicious here and this might resolve it.

If that fails and you're wanting to toubleshoot...if you are familiar with ssh and have a ssh client, could you ssh to the roborio and take a look?

Code:
ssh lvuser@roboRIO-4012.local:22
If this works, you should be sitting at a shell prompt. Do a:

Code:
ls -la /home
and

Code:
ls -la /home/lvuser
Let us know what the output of these commands are. That might prove useful in troubleshooting.

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2015, 17:17
mattoreo310 mattoreo310 is offline
Registered User
FRC #4012
 
Join Date: Feb 2015
Location: New York
Posts: 20
mattoreo310 is an unknown quantity at this point
Re: Code Won't Deploy

I re-imaged the roborio but i was told the frc error parsers were deleted. Could this be why the code won't load.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2015, 17:25
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Code Won't Deploy

I've never heard mention of 'FRC parsers' so I can't be sure. Are you saying that during the re-imaging process, the imaging tool noted to you that the FRC parsers were deleted? Or someone else told you that the FRC parsers were deleted?

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2015, 17:28
mattoreo310 mattoreo310 is offline
Registered User
FRC #4012
 
Join Date: Feb 2015
Location: New York
Posts: 20
mattoreo310 is an unknown quantity at this point
Re: Code Won't Deploy

The error parsers in eclipse.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2015, 17:44
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Code Won't Deploy

That starts to sound like an Eclipse plug-in problem to me.

Right-click on a project (left hand pane) and select 'Clean Project'
Are you able to compile code?
After compiling, on the project-pane, use the little 'triangle' to open up the 'Debug' folder ... is there a FRCUserProgram?
If so, you're able to compile for sure...that's basic toolchain validation.

Plugin - I'd suggest going back through the plugin installation on screensteps. In fact, I wonder if your auto-update might be turned off. Check the Eclipse preferences (Window->preferences in Windows) and look under 'Install/Update' - open that one up and select 'Automatic Updates' and make sure the 'Automatically find new updates and notify me' is selected. If not, select this, select 'ok' and then restart Eclipse to allow it an opportunity to check for updates. I think you can also trigger this by doing Help->CheckForUpdates.

If you're familiar with the command line, I'd still suggest the troubleshooting steps I mentioned about using ssh to look at the roboRIO directly.

Thanks,
bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
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 14:04.

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