Go to Post Step 1: Get Drill Step 2: Insert 1/2"-1" bit into drill Step 3: Drill Those Speed Holes! - Adam Richards [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 Rating: Thread Rating: 3 votes, 4.33 average. Display Modes
  #1   Spotlight this post!  
Unread 09-02-2015, 16:19
cbf cbf is offline
Registered User
FRC #2877
 
Join Date: Feb 2012
Location: Newton, MA
Posts: 74
cbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nice
WPILib C++ Deploy went away?

We're using Eclipse and C++. On at least one of our laptops, we no longer see the option for Run As -> WPILib C++ Deploy on our projects, and it's intermittent on the other. I.e. the optioned outlined in yellow below isn't there anymore. I was able to create a different run configuration to deploy to the robot via ssh, but it doesn't work the same way as the official deploy.

Does anyone know how this is supposed to be setup and/or how to restore the default setup? I've searched around Eclipse some and I can't find any obvious settings (actually, it seems there are no "obvious" settings in Eclipse) for this.
  #2   Spotlight this post!  
Unread 09-02-2015, 16:57
cbf cbf is offline
Registered User
FRC #2877
 
Join Date: Feb 2012
Location: Newton, MA
Posts: 74
cbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nice
Re: WPILib C++ Deploy went away?

OK, to answer part of my own question -- I did an update on the WPILib FRC plugins, and got back the WPILib C++ Deploy -- for now at least.

I'd still like to know where/how this is configured in case it goes away again. Or is it just magic that the plug-ins do and the only solution is to re-install them?
  #3   Spotlight this post!  
Unread 09-02-2015, 18:51
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: WPILib C++ Deploy went away?

Quote:
Originally Posted by cbf View Post
Or is it just magic that the plug-ins do and the only solution is to re-install them?
Bingo. The plugins declare that they have a way to launch code and Eclipse adds them.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #4   Spotlight this post!  
Unread 09-02-2015, 22:14
JefferMC JefferMC is offline
Registered User
AKA: Jeff Corbett
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2005
Location: United States
Posts: 44
JefferMC will become famous soon enough
Re: WPILib C++ Deploy went away?

This happens to me a good bit. It works most reliably when I left-click the project in the explorer, and right-click, chose Run As and the Deploy option.

But sometimes it disappears after having done several successful deploys. When that happens, I shutdown Eclipse and restart it. That fixes it. Sometimes the fix doesn't last very long (one deploy).
  #5   Spotlight this post!  
Unread 10-02-2015, 14:15
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: WPILib C++ Deploy went away?

Huh, now that a more interesting issue than I though then... Are there any steps that can *reliably* do this on multiple machines? or is is very random?
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #6   Spotlight this post!  
Unread 11-02-2015, 11:36
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Santa Maria, CA
Posts: 52
calcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nice
Re: WPILib C++ Deploy went away?

I can corroborate what JefferMC said; same thing here. I've also had deploy not work when I select it. The menu will close, Eclipse will freeze for a bit, then the console will briefly show up then close. This happens both when I'm connected to the robot's router and when I'm not connected to any network. I'm able to ping our roboRIO (10.35.12.2) when this happens. The contents contain the compiler commands invoked for the robot code but no deploy-related messages. Yesterday, it would even build random projects in the workspace instead of the robot code when I selected deploy.

I assume the code is deployed via the scp command, and if so, I definitely have a /usr/bin/scp. I'm running Arch Linux with the latest packages as of yesterday.

Edit: My team also has several Thinkpads running Debian Jessie on which the deploy command disappears.

Last edited by calcmogul : 11-02-2015 at 11:41.
  #7   Spotlight this post!  
Unread 11-02-2015, 11:40
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: WPILib C++ Deploy went away?

Brad Miller commented on this in another thread.

http://www.chiefdelphi.com/forums/sh...86&postcount=3
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

  #8   Spotlight this post!  
Unread 11-02-2015, 11:48
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Santa Maria, CA
Posts: 52
calcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nice
Re: WPILib C++ Deploy went away?

Quote:
Originally Posted by kylelanman View Post
Brad Miller commented on this in another thread.

http://www.chiefdelphi.com/forums/sh...86&postcount=3
The Java perspective thing doesn't seem to match my scenario. I never explicitly switch to the Java perspective, nor does the UI show being changed to that, when this bug occurs. Also, I just tried switching to the Java perspective and the C++ deploy option didn't disappear.

Last edited by calcmogul : 11-02-2015 at 11:53.
  #9   Spotlight this post!  
Unread 11-02-2015, 13:02
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: WPILib C++ Deploy went away?

Quote:
Originally Posted by mathmogul View Post
The Java perspective thing doesn't seem to match my scenario. I never explicitly switch to the Java perspective, nor does the UI show being changed to that, when this bug occurs. Also, I just tried switching to the Java perspective and the C++ deploy option didn't disappear.
True...My point, not adequately stated, is that there is a bug related to switching perspectives in general that causes it to disappear.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

  #10   Spotlight this post!  
Unread 12-02-2015, 17:14
JefferMC JefferMC is offline
Registered User
AKA: Jeff Corbett
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2005
Location: United States
Posts: 44
JefferMC will become famous soon enough
Re: WPILib C++ Deploy went away?

Yes, it most certainly happens when you switch perspectives. However, that's not the only thing that causes it. And it's a multi-platform problem, because I'm on a Windows 7 system.
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:37.

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