Go to Post A video is worth 30,000 words a second. - Thromgord [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2016, 17:13
Guy997's Avatar
Guy997 Guy997 is offline
Le Programmer
AKA: Sam Schwartz
FRC #1339 (Angelbots)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Denver
Posts: 15
Guy997 is an unknown quantity at this point
Broken SFX?

I'm trying to get SFX 2.0 working on our computer. This did not happen in the past, maybe because we installed Java 8, but when we try and open SFX, it doesn't even open. Our programming team has figured out that it needs Java 7 to run, but we are coding in Java 8. When we install Java 7, SFX works but Eclipse does not. Eclipse doesn't even open. Is there a way for us to get SFX 2.0 working again without switching back to Java 7?
  #2   Spotlight this post!  
Unread 11-01-2016, 17:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
I couldn't get it working with Java 8 during beta and filed a bug, but there were many other priorities.
  #3   Spotlight this post!  
Unread 12-01-2016, 10:43
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: Broken SFX?

It should be working, works for me on Java 8 update 60. Can you post the output of a
Code:
java -version
Also the output of
Code:
java -jar sfx.jar
(from the tools directory).
  #4   Spotlight this post!  
Unread 12-01-2016, 11:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Broken SFX?

Here's what it printed for me (see artf4769 in the beta tracker)

Code:
Using Java 1.8.0_66-b18 and JRuby 1.7.17
NameError: cannot load Java class com.sun.javafx.Logging
          for_name at org/jruby/javasupport/JavaClass.java:1286
   get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
       java_import at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/java/core_ext/object.rb:27
               map at org/jruby/RubyArray.java:2412
       java_import at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/java/core_ext/object.rb:22
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-fxmlloader-0.4-java/lib/
jrubyfx-fxmlloader.rb:39
           require at org/jruby/RubyKernel.java:1071
           require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:55
           require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:53
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-1.1.1-java/lib/jrubyfx/
controller.rb:1
           require at org/jruby/RubyKernel.java:1071
           require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:55
           require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:53
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-1.1.1-java/lib/jrubyfx/
controller.rb:21
            (root) at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/kernel19/kernel.rb:1
           require at org/jruby/RubyKernel.java:1071
  require_relative at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/kernel19/kernel.rb:24
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-1.1.1-java/lib/jrubyfx.rb:
40
              load at org/jruby/RubyKernel.java:1087
            (root) at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:1
           require at org/jruby/RubyKernel.java:1071
           require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:135
            (root) at file:/C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/sfx/lib/main.rb:15
error: org.jruby.embed.EvalFailedException: (NameError) cannot load Java class com.sun.javafx.Logging
  #5   Spotlight this post!  
Unread 12-01-2016, 14:08
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: Broken SFX?

Joe, was that copied from the tracker? If so, try it again now, SFX was updated in the last week.
  #6   Spotlight this post!  
Unread 12-01-2016, 16:42
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Broken SFX?

Quote:
Originally Posted by fsilberberg View Post
Joe, was that copied from the tracker? If so, try it again now, SFX was updated in the last week.
Sorry, I missed that. It does work for me now when run from the tools directory. However, the eclipse plugins launch from the old location and don't work.
  #7   Spotlight this post!  
Unread 13-01-2016, 17:50
Guy997's Avatar
Guy997 Guy997 is offline
Le Programmer
AKA: Sam Schwartz
FRC #1339 (Angelbots)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Denver
Posts: 15
Guy997 is an unknown quantity at this point
Re: Broken SFX?

We have exactly the same error as Joe Ross. Even when we update SFX and uninstall+reinstall all the NI software, we get the same error. Is there a possible fix for this? We are using Java 8 Update 65.
  #8   Spotlight this post!  
Unread 14-01-2016, 01:05
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: Broken SFX?

The correct version of SFX has a sha1sum of the total zip of 347c0ee66cf120adf5bb9a48f426dc0969e82766
and a sha1sum of the internal sfx.jar of c469e52941d0a121907026b0f2bc5d221a516eab.

Running it has a build ID of:
Release/Built? true Version Identifier: jenkins-SFX-42-42-c6c3c5118c391af8bd0faf54c9713f8e89806c6e

Are these the versions you are running? The most recent version is available at http://first.wpi.edu/FRC/roborio/mav....11.01-zip.zip
__________________
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
  #9   Spotlight this post!  
Unread 14-01-2016, 09:45
Guy997's Avatar
Guy997 Guy997 is offline
Le Programmer
AKA: Sam Schwartz
FRC #1339 (Angelbots)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Denver
Posts: 15
Guy997 is an unknown quantity at this point
Re: Broken SFX?

Thank you! It works now. We still had the 2014.11.01 version installed somehow...
  #10   Spotlight this post!  
Unread 14-01-2016, 18:28
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Broken SFX?

Quote:
Originally Posted by Guy997 View Post
Thank you! It works now. We still had the 2014.11.01 version installed somehow...
There was a bug with the eclipse plugins that Joe fixed via a patch that will be in tomorrows update. Before that it was loading last years version of sfx if it was still installed on your computer. The patch will make it launch this years version.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #11   Spotlight this post!  
Unread 17-01-2016, 16:55
AbsoluteZero AbsoluteZero is offline
Registered User
FRC #2415
 
Join Date: Oct 2015
Location: Georgia
Posts: 2
AbsoluteZero is an unknown quantity at this point
Re: Broken SFX?

I was having the same problem until I updated my eclipse libraries and downloaded this year's sfx and when I run it in the command prompt it works, but upon opening up DS nothing happens. This is the command prompt error I get:

C:\Users\student>java -jar C:\\Users\\student\\wpilib\\tools\\sfx.jar
io/console not supported; tty will not be manipulated
Using Java 1.8.0_66-b17 and JRuby 1.7.23
Release/Built? true Version Identifier: jenkins-SFX-42-42 c6c3c5118c391af8bd0faf
54c9713f8e89806c6e
WARNING! Double loading detected! Please make note of this if you report bugs!
  #12   Spotlight this post!  
Unread 01-02-2016, 09:30
SndMndBdy SndMndBdy is offline
Registered User
FRC #3419
 
Join Date: Jan 2013
Location: New York
Posts: 18
SndMndBdy is on a distinguished road
Re: Broken SFX?

I've gotten the SFX dashboard working in our environment, including grabbing the latest version from the link above. However, the playback feature doesn't seem to work. When I hit the green triangle button, the screen shifts into playback mode, but the controls for playback don't appear. Has anyone seen anything similar? There are no errors on the command line. I'm running java 8 on Windows.
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 03:19.

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