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

Ruby/Bopm.rb: ArgumentError: unknown encoding name: binary #16

Open
df7cb opened this issue Sep 9, 2016 · 0 comments
Open

Ruby/Bopm.rb: ArgumentError: unknown encoding name: binary #16

df7cb opened this issue Sep 9, 2016 · 0 comments

Comments

@df7cb
Copy link
Member

df7cb commented Sep 9, 2016

[2016-09-08 17:48:19] RUBY INFO: Loading ruby module: /home/oftc/ircservices/services/lib/oftc-ircservices//Bopm.rb
[2016-09-08 17:48:19] RUBY ERROR: ArgumentError: unknown encoding name: binary
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/openssl/buffering.rb:1
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/openssl/ssl.rb:17:in `require'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/openssl/ssl.rb:17:in `<top (required)>'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/openssl.rb:24:in `require'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/openssl.rb:24:in `<top (required)>'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/securerandom.rb:2:in `require'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/securerandom.rb:2:in `<top (required)>'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/resolv.rb:7:in `require'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /usr/lib/ruby/2.1.0/resolv.rb:7:in `<top (required)>'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /home/oftc/ircservices/services/lib/oftc-ircservices/Bopm.rb:2:in `require'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /home/oftc/ircservices/services/lib/oftc-ircservices/Bopm.rb:2:in `<class:Bopm>'
[2016-09-08 17:48:19] RUBY BACKTRACE:   /home/oftc/ircservices/services/lib/oftc-ircservices/Bopm.rb:1:in `<top (required)>'
[2016-09-08 17:48:19] RUBY INFO: Failed to load file /home/oftc/ircservices/services/lib/oftc-ircservices//Bopm.rb

I could "fix" this by replacing the # coding: binary in the first line of /usr/lib/ruby/2.1.0/openssl/buffering.rb by # coding: UTF-8.

No idea if that's something to be fixed in ircservices, we just need to remember the fix for the next ruby update which will revert buffering.rb back to the original.

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

1 participant