Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: no implicit conversion of Symbol into Integer #84

Open
bitboxer opened this issue Jul 12, 2014 · 5 comments
Open

TypeError: no implicit conversion of Symbol into Integer #84

bitboxer opened this issue Jul 12, 2014 · 5 comments

Comments

@bitboxer
Copy link

Somehow I see the following error when trying to use air play with ruby 2.1.2:

ERROR celluloid: Reel::Rack::Server crashed!                                                                                                                     TypeError: no implicit conversion of Symbol into Integer
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/reel-0.5.0/lib/reel/server.rb:23:in `[]'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/reel-0.5.0/lib/reel/server.rb:23:in `initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/reel-rack-0.1.0/lib/reel/rack/server.rb:20:in `initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
ERROR celluloid: Celluloid::SupervisionGroup crashed!
TypeError: no implicit conversion of Symbol into Integer
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/reel-0.5.0/lib/reel/server.rb:23:in `[]'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/reel-0.5.0/lib/reel/server.rb:23:in `initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/reel-rack-0.1.0/lib/reel/rack/server.rb:20:in `initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
    (celluloid):0:in `remote procedure call'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/proxies/actor_proxy.rb:20:in `_send_'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid.rb:200:in `new_link'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/supervision_group.rb:136:in `start'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/supervision_group.rb:124:in `initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/supervision_group.rb:82:in `new'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/supervision_group.rb:82:in `add'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/supervision_group.rb:73:in `supervise_as'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
    /Users/bodo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
@elcuervo
Copy link
Owner

Interesting, that might be an issue with Reel... I'll investigate further. Thanks

@bitboxer
Copy link
Author

bitboxer commented Aug 9, 2014

Did you find any solution for this?

@bitboxer
Copy link
Author

bitboxer commented Aug 9, 2014

I looked into it and found the problem. In your gemspec you fix the version of reel-rack to 0.1, but the interface changed a bit in reel and since celluloid is not fixed to a certain version, the version of celluloid that gets installed is incompatible to the outdated rack-reel. Just change the rack-reel in the gemspec to >= 0.2.0 fixes the error on my system.

@bitboxer
Copy link
Author

Why is this still open 😉 ?

@elcuervo
Copy link
Owner

elcuervo commented Aug 4, 2015

Can you give 1.0.5 a try please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants