develooper Front page | perl.kwiki | Postings from October 2009

kwiki load_hub bug under mod_perl

From:
Aare Vesi
Date:
October 16, 2009 11:11
Subject:
kwiki load_hub bug under mod_perl
Message ID:
4AD8B742.4020900@myrien.com
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




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About