dbrock / bongo

Play music with GNU Emacs
http://www.emacswiki.org/emacs/Bongo
Other
210 stars 22 forks source link

tree-from-tags.rb "no implicit conversion of String into Integer (TypeError)" #50

Closed ghost closed 6 years ago

ghost commented 6 years ago

Lately, when using tree-from-tags.rb, I have been receiving the following error:

/home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:121:in `*': no implicit conversion of String into Integer (TypeError)
    from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:121:in `clear'
    from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:128:in `update'
    from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:156:in `block in <main>'
    from /usr/lib/ruby/2.3.0/find.rb:49:in `block (2 levels) in find'
    from /usr/lib/ruby/2.3.0/find.rb:48:in `catch'
    from /usr/lib/ruby/2.3.0/find.rb:48:in `block in find'
    from /usr/lib/ruby/2.3.0/find.rb:43:in `each'
    from /usr/lib/ruby/2.3.0/find.rb:43:in `find'
    from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:154:in `<main>'
ghost commented 6 years ago

Never mind. I was running this from eshell, but it seems to work fine in bash. I believe it may be setting a strange value to the COLUMNS variable on line 101. I don't know enough about ruby (or eshell, for that matter) to troubleshoot much further, though. Sorry for the noise.