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

riemann-net stopped working with beefcake version 0.4.0 #70

Closed
default50 opened this issue Dec 5, 2013 · 3 comments
Closed

riemann-net stopped working with beefcake version 0.4.0 #70

default50 opened this issue Dec 5, 2013 · 3 comments

Comments

@default50
Copy link
Contributor

After doing a "gem update" beefcake was upgraded from 0.3.7 → 0.4.0 and riemann-net stopped working with this message:

RuntimeError can't modify frozen String
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake/buffer/encode.rb:110:in `force_encoding'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake/buffer/encode.rb:110:in `append_string'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake/buffer/encode.rb:13:in `append'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:102:in `block in encode!'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:90:in `each'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:90:in `encode!'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:79:in `block in encode'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:72:in `each'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:72:in `encode'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:94:in `block in encode!'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:90:in `each'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:90:in `encode!'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:79:in `block in encode'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:72:in `each'
/var/lib/gems/1.9.1/gems/beefcake-0.4.0/lib/beefcake.rb:72:in `encode'
/var/lib/gems/1.9.1/gems/riemann-client-0.2.2/lib/riemann/message.rb:13:in `encode_with_length'
/var/lib/gems/1.9.1/gems/riemann-client-0.2.2/lib/riemann/client/tcp.rb:54:in `block in send_recv'
/var/lib/gems/1.9.1/gems/riemann-client-0.2.2/lib/riemann/client/tcp.rb:68:in `block in with_connection'
<internal:prelude>:10:in `synchronize'
/var/lib/gems/1.9.1/gems/riemann-client-0.2.2/lib/riemann/client/tcp.rb:65:in `with_connection'
/var/lib/gems/1.9.1/gems/riemann-client-0.2.2/lib/riemann/client/tcp.rb:53:in `send_recv'
/var/lib/gems/1.9.1/gems/riemann-client-0.2.2/lib/riemann/client.rb:49:in `<<'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/lib/riemann/tools.rb:73:in `block in report'
/usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/lib/riemann/tools.rb:72:in `report'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/bin/riemann-net:92:in `block in tick'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/bin/riemann-net:70:in `each'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/bin/riemann-net:70:in `tick'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/lib/riemann/tools.rb:101:in `block in run'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/lib/riemann/tools.rb:99:in `loop'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/lib/riemann/tools.rb:99:in `run'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/lib/riemann/tools.rb:11:in `run'
/var/lib/gems/1.9.1/gems/riemann-tools-0.1.8/bin/riemann-net:101:in `<top (required)>'
/usr/local/bin/riemann-net:23:in `load'
/usr/local/bin/riemann-net:23:in `<main>'

Uninstalling beefcake 0.4.0 (and leaving only 0.3.7) fixed the problem.

@aphyr
Copy link
Collaborator

aphyr commented Dec 5, 2013

This is a beefcake regression, fixed in master: c63d931

@default50
Copy link
Contributor Author

Got it! Thanks @aphyr

@ghost
Copy link

ghost commented Dec 10, 2013

Released in 0.1.9 today. :)

@ghost ghost closed this as completed Dec 10, 2013
This issue was closed.
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