Subject: Re: [sup-talk] ncurses opts exception on master

From: Rich Lane <[email-masked]>
Date: Sun, 28 Feb 2010 02:11:35 -0500

I'm guessing you have an old version of the ncurses gem. Installing
the ncursesw gem should fix this.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Kevin Riggle <[email-masked]>
Date: Sat, 27 Feb 2010 23:33:26 -0500

I consistently get an exception on master when I do anything (search, try to 
send mail, etc) which brings up the text entry field at the bottom of the 
screen.  I've tracked it down to 42e7aeaa90, and reverting just that change
fixes it for me.  I'm running the latest ncurses gem available to me (0.9.1),
as installed by gem, with no local modifications.

The text of the exception follows.

(Thanks for picking up the mantle of maintainer, Rich!  I'm excited to see Sup
moving forward.)

- Kevin

[Sat Feb 27 23:14:54 -0500 2010] ERROR: oh crap, an exception
----------------------------------------------------------------
(snip)
--- NoMethodError from thread: main
undefined method `opts_off' for #<Ncurses::Form::FIELD:0x7fb1778327c0>
./lib/sup/textfield.rb:37:in `activate'
./lib/sup/buffer.rb:575:in `ask'
./lib/sup/buffer.rb:31:in `synchronize'
./lib/sup/buffer.rb:31:in `sync'
./lib/sup/buffer.rb:574:in `ask'
./lib/sup/buffer.rb:479:in `ask_many_emails_with_completions'
./lib/sup/util.rb:559:in `send'
./lib/sup/util.rb:559:in `method_missing'
./lib/sup/buffer.rb:555:in `ask_for_contacts'
./lib/sup/util.rb:559:in `send'
./lib/sup/util.rb:559:in `method_missing'
./lib/sup/modes/compose-mode.rb:24:in `spawn_nicely'
bin/sup:332

-- 
Kevin Riggle ([email-masked]) 
MIT Class of 2010, Course VI-3 (Computer Science)
http://free-dissociation.com
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: "Edward Z. Yang" <[email-masked]>
Date: Tue, 02 Mar 2010 14:55:24 -0500

> the ncursesw gem should fix this.

Does the ncursesw gem have the Unicode fixes?

Cheers,
Edward

---

From: Kevin Riggle <[email-masked]>
Date: Sun, 28 Feb 2010 02:24:43 -0500

> the ncursesw gem should fix this.

That did the trick -- thanks!  The README should probably get updated to talk
about ncursesw under REQUIREMENTS.  (That was where I went to look; I didn't 
think to check the Rakefile, which is probably more likely to be current.)

- Kevin