[Nitro] wrong number of arguments (8 for 7) Kirby

Chris Burnley chris.burnley at gmail.com
Mon Jan 23 08:38:19 EST 2006


Hi, I'm running the blog example (examples-0.27.0), but instead of using
mysql,  I'm using Kirbybase (2.5.2) and I get the following error:

ERROR -- : wrong number of arguments (8 for 7)
/usr/lib/ruby/gems/1.8/gems/KirbyBase-2.5.2/lib/kirbybase.rb:3125:in
'kb_create'
/usr/lib/ruby/gems/1.8/gems/KirbyBase-2.5.2/lib/kirbybase.rb:3125:in
'create_result_rec'
/usr/lib/ruby/gems/1.8/gems/KirbyBase-2.5.2/lib/kirbybase.rb:3174:in
'get_matches'

This seems to be on the list method, as the insert into the db looks ok (
from looking at the text files that Kirby creates ).

I've also seen the same error on the "todo" tutorial ( can't remember who
wrote that though).

I'm a r00b, so I could be completely off here, but is it that the numbers of
columns returned from Kirby into the enchanted class are different to what
is expected ?

If I look at the database files that kirby creates, I notice that
recno:Integer is listed twice.

regards,

Chris Burnley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060123/c36c1661/attachment.html 


More information about the Nitro-general mailing list