ppl icon indicating copy to clipboard operation
ppl copied to clipboard

Strange error about "undefined method `version' for nil:NilClass (NoMethodError)"

Open ribosomerocker opened this issue 2 years ago • 1 comments

Hello, I have discovered this project while looking for address books I could use with neomutt - and this seems to be a nice project to go with. But - I seem to have come upon an issue while trying to use this on Artix Linux, based on Arch (which does change the ruby environment by default according to the wiki, which is why I mention this).

Installation goes smoothly, but after trying to execute the binary:

/home/mon/.local/share/gem/ruby/3.0.0/gems/ppl-4.0.3/lib/ppl.rb:6:in `<module:Ppl>': undefined method `version' for nil:NilClass (NoMethodError)
        from /home/mon/.local/share/gem/ruby/3.0.0/gems/ppl-4.0.3/lib/ppl.rb:3:in `<top (required)>'
        from <internal:/usr/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/usr/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /home/mon/.local/share/gem/ruby/3.0.0/gems/ppl-4.0.3/bin/ppl:8:in `<top (required)>'
        from /home/mon/.local/share/gem/ruby/3.0.0/bin/ppl:25:in `load'
        from /home/mon/.local/share/gem/ruby/3.0.0/bin/ppl:25:in `<main>'

ribosomerocker avatar Nov 29 '21 20:11 ribosomerocker

Same error here.

rv178 avatar Aug 17 '22 06:08 rv178

FYI @ribosomerocker and @rv178 if you still need it, I think I have a fix to this bug in #90

acant avatar Apr 03 '23 04:04 acant