Ramzi Ferchichi wrote: > Hi, > I got this bug on my system running Ubuntu (breezy): > > /usr/lib/ruby/1.8/date/format.rb:598: [BUG] unknown node type 0 > ruby 1.8.3 (2005-06-23) [i486-linux] > > Tested the same code with ruby 1.8.2 (2004-12-25) [sparc-solaris2.9] > and got the following instead: > > 1) Error: > test_correct_login_event(TC_POSPresenter): > RuntimeError: POSModel::manager? takes -1, not 0, arguments > ./test/mockposmodel.rb:34:in `method_missing' > ./lib/pospresenter.rb:127:in `update' > /home/olda9867/ruby/lib/ruby/1.8/observer.rb:185:in `notify_observers' > /home/olda9867/ruby/lib/ruby/1.8/observer.rb:184:in `each' > /home/olda9867/ruby/lib/ruby/1.8/observer.rb:184:in `notify_observers' > ./test/mockposview.rb:111:in `raise_login_event' > ./test/tc_pospresenter.rb:301:in `test_correct_login_event' > > I saw that the "node type 0" bug had been reported several times but > did not find anything on the second error message (takes -1, not 0, > arguments). Wanted to report this in case the second error message > could give further information about the bug. Can you show us the code please? Dan