Go to Post If you speak three languages, you're trilingual. If you speak two languages, you're bilingual. And if you speak one language, you're American. - Hieb [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 27-02-2016, 23:54
carrud carrud is offline
Registered User
AKA: Clark Rudder
FRC #2637
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Los Angeles Area
Posts: 20
carrud is an unknown quantity at this point
Deploy Error... Permission denied

Using Eclipse c++.
Getting Permission Denied while trying to deploy code.

The following has happenned consistently 5 times.

1) Load firmware on RoboRIO
2) Image the RoboRIO
3) Deploy code. The first time I deploy code I get the following. Every time after the first time I get the error down lower in this msg.

-----------------------------------------------------------------------------
Buildfile: C:\Users\FRC-2637\workspace\StrongholdFinal_Without_NavX\build. xml
Trying to override old definition of task classloader
get-target-ip:
[echo] Trying Target: roboRIO-2637-FRC.local
[echo] roboRIO found via mDNS
dependencies:
[echo] roboRIO image version validated
deploy:
[sshexec] Connecting to roboRIO-2637-FRC.local:22
[sshexec] cmd : rm -f /home/lvuser/FRCUserProgram
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-2637-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-2637-FRC.local:22
[sshexec] cmd : killall -q netconsole-host || :
[scp] Connecting to roboRIO-2637-FRC.local:22

BUILD FAILED
C:\Users\FRC-2637\wpilib\cpp\current\ant\build.xml:78: server indicated an error: scp: /home/lvuser//robotCommand: Permission denied

Total time: 6 seconds

-----------------------------------------------------------

Every subsequent deploy after the first deploy gives me the following

--------------------------------------------------------------
Buildfile: C:\Users\FRC-2637\workspace\StrongholdFinal_Without_NavX\build. xml
Trying to override old definition of task classloader
get-target-ip:
[echo] Trying Target: roboRIO-2637-FRC.local
[echo] roboRIO found via mDNS
dependencies:
[echo] roboRIO image version validated
deploy:
[sshexec] Connecting to roboRIO-2637-FRC.local:22
[sshexec] cmd : rm -f /home/lvuser/FRCUserProgram
[sshexec] Could not chdir to home directory /home/lvuser: Permission denied
[sshexec] rm: can't stat '/home/lvuser/FRCUserProgram': Permission denied
[sshexec] Remote command failed with exit status 1
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-2637-FRC.local:22

BUILD FAILED
C:\Users\FRC-2637\wpilib\cpp\current\ant\build.xml:67: com.jcraft.jsch.JSchException: Could not send 'C:\Users\FRC-2637\workspace\StrongholdFinal_Without_NavX\Debug\ FRCUserProgram' to '/home/lvuser' - 3: Permission denied

Total time: 3 seconds
----------------------------------------------------------


Any thoughts, please???
Reply With Quote
 


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 04:56.

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