Skip to content

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

@df7cb

Description

@df7cb
[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions