sup-heliotrope / sup

A curses threads-with-tags style email client (mailing list: supmua@googlegroups.com)
http://sup-heliotrope.github.io
GNU General Public License v2.0
889 stars 96 forks source link

Cant get sup properly installed or running, what am i missing? #591

Closed PhoenyxCullen closed 3 years ago

PhoenyxCullen commented 3 years ago

Currently on Manjaro Linux. Been trying to install and run sup from scratch. I'm now up to the following error. I'm NEW to ruby.

--- FROM THE TERMINAL --- allen@mccoy  ~/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.17  sup /home/allen/.local/share/gem/ruby/3.0.0/gems/lockfile-2.1.3/lib/lockfile.rb:308: warning: finalizer references object to be finalized [2021-05-15 01:52:56 -0600] ERROR: oh crap, an exception

We are very sorry. It seems that an error occurred in Sup. Please accept our sincere apologies. Please submit the contents of /home/allen/.sup/exception-log.txt and a brief report of the circumstances to https://github.com/sup-heliotrope/sup/issues so that we might address this problem. Thank you!

Sincerely, The Sup Developers

--- NoMethodError from thread: main undefined method encode' for URI:Module /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/mbox.rb:26:ininitialize' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/sent.rb:44:in initialize' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/sent.rb:22:innew' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/sent.rb:22:in default_source' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/util.rb:605:inmethod_missing' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/bin/sup:168:in <module:Redwood>' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/bin/sup:76:in<top (required)>' /home/allen/.local/share/gem/ruby/3.0.0/bin/sup:23:in load' /home/allen/.local/share/gem/ruby/3.0.0/bin/sup:23:in

' allen@mccoy  ~/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.17  cat ~/.sup/exception-log.txt --- NoMethodError from thread: main undefined method encode' for URI:Module /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/mbox.rb:26:ininitialize' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/sent.rb:44:in initialize' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/sent.rb:22:innew' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/sent.rb:22:in default_source' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/lib/sup/util.rb:605:inmethod_missing' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/bin/sup:168:in <module:Redwood>' /home/allen/.local/share/gem/ruby/3.0.0/gems/sup-1.0/bin/sup:76:in<top (required)>' /home/allen/.local/share/gem/ruby/3.0.0/bin/sup:23:in load' /home/allen/.local/share/gem/ruby/3.0.0/bin/sup:23:in
'

PhoenyxCullen commented 3 years ago

Also, ruby 3 was defaulted installed on my machine.

PhoenyxCullen commented 3 years ago
schultza: Ah, yeah, you're running into a retirement of a deprecated feature in Ruby 3.0 schultza: They should switch to use CGI.escape. schultza: In the meantime, use Ruby 2.7.3. * alexherbo2 (~alexherbo@lmontsouris-659-1-2-186.w193-248.abo.wanadoo.fr) has joined #ruby Ruby 3 was defaulted in my install, I even had to finish installing rubygems package to get to downloading stuff. schultza: You could forwardport the feature but probably better to fix the lib or use a compatible Ruby version. * shtirlic (~shtirlic@188.170.72.106) has joined #ruby schultza: https://github.com/sup-heliotrope/sup/blob/develop/lib/sup/mbox.rb#L26-L39 schultza: require 'cgi' schultza: Then change those three `URI.encode` to `CGI.escape`. Not my project. I'll ask them. Thank you.
PhoenyxCullen commented 3 years ago

I solved this. I had to completely uninstall ruby3 and install ruby2.7 to get this to work.