Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Probelm opening default production on Snow Leopard

#195

I have jRuby 1.6.0 installed on Mac OS X 10.6.6 Snow Leopard.
I have installed limelight 0.5.5 using gem.
I have installed jruby-openssl using gem.

Here is my java version that I have on my Mac:

$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)

When I try to open the default production, I get this:

$ limelight open
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
org.jruby.exceptions.RaiseException: (BuildException) /usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/styles.rb:6: 'x' is not a valid style
    ----- /usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/styles.rb lines 3 - 9 -----
      3: 
      4: limelight_builtin_players_curtains {
      5:   float :on
    * 6:   x 0
      7:   y 0
      8:   width "100%"
      9:   height "100%"

    at #<Class:0x17a0d637d>.build_styles_from_file(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5 java/lib/limelight/dsl/styles_builder.rb:24)
    at org.jruby.RubyKernel.instance_eval(org/jruby/RubyKernel.java:2007)
    at #<Class:0x1799dbc3b>.build_styles(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:14)
    at #<Class:0x1799dbc3b>.build_styles_from_file(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:20)
    at #<Class:0x12677622b>.builtin_styles(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/producer.rb:46)
    at Limelight::Producer.load_styles(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/producer.rb:169)
    at Limelight::Producer.open_scene(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/producer.rb:126)
    at #<Module:0x1729e4f7c>::Production.load_alert_scene(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/utilities_production/production.rb:63)
    at #<Module:0x1729e4f7c>::Production.alert(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/utilities_production/production.rb:47)
    at org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2042)
    at Limelight::Production.callMethod(/usr/local/jruby-1.6.0/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/production.rb:198)
    at .(:1)
    at .(:1)
    at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1062)
    at usr.local.jruby.bin.limelight.(root)(/usr/local/jruby/bin/limelight:19)

I am a total jRuby/limelight noob. This is my first time trying to run limelight. That is why I do not have much of an opinion about what is wrong.

Since I cannot open the default production, I do not have access to limelight's documentation. So, I am not able to read the doc and try to troubleshoot the problem by myself.

Normally, I would research the problem by myself but right now, I am helpless.

Please help!

Reported by LoTone · March 15th, 2011 @ 08:39 PM

State: resolved
Milestone: none
Assigned to: Micah Martin Micah Martin

Activity

  1. Mike Bethany
    Mike Bethany

    Same here:

    ¥> limelight open
    org.jruby.exceptions.RaiseException: (BuildException) /usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/styles.rb:6: 'x' is not a valid style
        ----- /usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/styles.rb lines 3 - 9 -----
          3: 
          4: limelight_builtin_players_curtains {
          5:   float :on
        * 6:   x 0
          7:   y 0
          8:   width "100%"
          9:   height "100%"
    
        at #<Class:0x107dcb3cd>.build_styles_from_file(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:24)
        at org.jruby.RubyKernel.instance_eval(org/jruby/RubyKernel.java:2007)
        at #<Class:0x1087dedad>.build_styles(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:14)
        at #<Class:0x1087dedad>.build_styles_from_file(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:20)
        at #<Class:0x1612dcb8c>.builtin_styles(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/producer.rb:46)
        at Limelight::Producer.load_styles(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/producer.rb:169)
        at Limelight::Producer.open_scene(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/producer.rb:126)
        at #<Module:0x146798249>::Production.load_alert_scene(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/utilities_production/production.rb:63)
        at #<Module:0x146798249>::Production.alert(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/builtin/utilities_production/production.rb:47)
        at org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2042)
        at Limelight::Production.callMethod(/usr/local/Cellar/jruby/1.6.0/jruby/lib/ruby/gems/1.8/gems/limelight-0.5.5-java/lib/limelight/production.rb:198)
        at .(:1)
        at .(:1)
        at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1062)
        at usr.local.Cellar.jruby.$1_dot_6_dot_0.jruby.bin.limelight.(root)(/usr/local/Cellar/jruby/1.6.0/jruby/bin/limelight:19)
    

    March 26th, 2011 @ 05:52 PM

  2. Mel Riffe
    Mel Riffe

    I too am having this exact issue.


    Version Information:

    Mac OS X, 10.5.8 (Leopard)

    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

    jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]

    jruby-1.6.0 23:47 ~ $ gem list

    LOCAL GEMS

    bouncy-castle-java (1.5.0146.1)
    jruby-launcher (1.0.9 java)
    jruby-openssl (0.7.4)
    limelight (0.5.5 java)

    rake (0.9.2.2, 0.8.7)
    sources (0.0.1)


    org.jruby.exceptions.RaiseException: (BuildException) /Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/builtin/styles.rb:6: 'x' is not a valid style

    ----- /Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/builtin/styles.rb lines 3 - 9 -----
      3: 
      4: limelight_builtin_players_curtains {
      5:   float :on
    * 6:   x 0
      7:   y 0
      8:   width "100%"
      9:   height "100%"
    
    at #<Class:0x14b7c8f7f>.build_styles_from_file(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:24)
    at org.jruby.RubyKernel.instance_eval(org/jruby/RubyKernel.java:2007)
    at #<Class:0x1689ba632>.build_styles(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:14)
    at #<Class:0x1689ba632>.build_styles_from_file(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/dsl/styles_builder.rb:20)
    at #<Class:0x160dbf04d>.builtin_styles(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/producer.rb:46)
    at Limelight::Producer.load_styles(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/producer.rb:169)
    at Limelight::Producer.open_scene(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/producer.rb:126)
    at #<Module:0x16a4d37e5>::Production.load_alert_scene(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/builtin/utilities_production/production.rb:63)
    at #<Module:0x16a4d37e5>::Production.alert(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/builtin/utilities_production/production.rb:47)
    at org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2042)
    at Limelight::Production.callMethod(/Users/mriffe/.rvm/gems/jruby-1.6.0/gems/limelight-0.5.5-java/lib/limelight/production.rb:198)
    at .(:1)
    at .(:1)
    at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1062)
    at Users.mriffe.$_dot_rvm.gems.jruby_minus_1_dot_6_dot_0.bin.limelight.(root)(/Users/mriffe/.rvm/gems/jruby-1.6.0/bin/limelight:19)
    

    December 12th, 2011 @ 10:51 PM

  3. Micah Martin
    Micah Martin
    • Assigned user set to Micah Martin
    • State changed from new to resolved
    • Tag set to bug

    All occurrence of this problem are on JRuby 1.6.0 which is not longer distributed. I can't reproduce on other versions of JRuby. I'm blaming this one on JRuby 1.6.0 and resolving the ticket until proven otherwise.

    December 13th, 2011 @ 04:10 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.