"wrong argument type" error when calling stdscr methods

Bug #371384 reported by Robert Wittek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ncurses-ruby (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libncurses-ruby1.9

Release: Ubuntu 9.04 (64bit)
Package: libncurses-ruby1.9 1.1-3

Ruby ncurses programs do not work with ruby1.9 as soon as a method on stdscr is called. To reproduce run the rain.rb example of the package's example directory. This is what happens:

% ruby1.9 rain.rb
/usr/lib/ruby/1.9.0/ncurses.rb:75:in `nodelay': wrong argument type Ncurses::WINDOW (expected true) (TypeError)
        from /usr/lib/ruby/1.9.0/ncurses.rb:75:in `method_missing'
        from rain.rb:195:in `<main>'

Expected behavior is of course the non-occurrence of this error upon calling a method on Ncurses.stdscr.

Revision history for this message
Lucas Nussbaum (lucas) wrote :

Fixed in 1.2.4-2

Changed in ncurses-ruby (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.