kwiki load_hub bug under mod_perl

[email protected] (Aare Vesi) Fri, 16 Oct 2009 21:11:14 +0300
Newsgroups perl.kwiki
Message-ID <[email protected]>
Hello!

I have started using Kwiki. Very impressive piece of software.
Unfortunately some bug occurs under mod_perl 2 (with latest Kwiki 2 from
SVN).

-----
Can't locate object method "load_hub" via package "Kwiki::ModPerl" at
/www/kwiki/lib/Kwiki/ModPerl.pm line 38.\n at
/www/kwiki/lib/Spoon/Base.pm line 89\n\tSpoon::Base::__ANON__('Can\\'t
locate object method "load_hub" via package "Kwiki::Mo...') called at
/www/kwiki/lib/Kwiki/ModPerl.pm line
38\n\tKwiki::ModPerl::get_new_hub('Kwiki::ModPerl', '/www/kwiki') called
at /www/kwiki/lib/Kwiki/ModPerl.pm line 65\n\tKwiki::ModPerl::run called
at /www/kwiki/lib/Kwiki/ModPerl.pm line
31\n\tKwiki::ModPerl::handler_mp2('Kwiki::ModPerl',
'Apache2::RequestRec=SCALAR(0x90f3b38)') called at -e line 0\n\teval
{...} called at -e line 0\n
-----

Indeed load_hub function is not available in Base.pm. From Spoon's CPAN
source it seems that it has been there but SVN version does not have it
present.

This bug is also referenced in http://www.kwiki.org/?UpgradingToKwiki2

How to fix this?

Thanks in advance,
Aare