On Wed, 13 Apr 2005, ceverett wrote:

> Greg Matheson wrote:
> >On Tue, 05 Apr 2005, Todd W wrote:

> >>$ kwiki -new

> >>I get:
> >>...
> >>Kwiki software installed! Point your browser at this location.
> >>Can't call method "hub" without a package or object reference at
> >>/usr/bin/kwiki line 15, <DATA> line 1.

> >>and visiting the url gives:

> >>Software error:
> >>No plugin for action 'display' at
> >>/usr/lib/perl5/site_perl/5.8.0/Spoon/Hub.pm line 34.
> >>For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving
> >>this error message and the time and date of the error.

> I'm having a similar issue, except:

>   -- no errors running kwiki -new
>   -- I'm trying to get it running uder mod_perl
>   -- the browser output I get is:

> Software Error:
> Process Error

> No plugin for action 'display' at /usr/share/perl/5.8/CGI/Carp.pm line 314.
>       Spoon::Base::__ANON__('No plugin for action \'display\' at 
> /usr/share/perl/5.8/CGI/C...') called at /usr/share/perl/5.8/CGI/Carp.pm 
> line 314
>       CGI::Carp::realdie('No plugin for action \'display\'') called at 
> /usr/share/perl/5.8/CGI/Carp.pm line 385
>       CGI::Carp::die('No plugin for action \'display\'') called at 
> /usr/local/share/perl/5.8.4/Spoon/Hub.pm line 34
>       Spoon::Hub::process('Kwiki::Hub=HASH(0x995cf70)') called at 
> /usr/local/share/perl/5.8.4/Kwiki/ModPerl.pm line 61
>       eval {...} called at /usr/local/share/perl/5.8.4/Kwiki/ModPerl.pm 
>       line 61
>       Kwiki::ModPerl::run called at 
> /usr/local/share/perl/5.8.4/Kwiki/ModPerl.pm line 23
>       Kwiki::ModPerl::handler_mp1('Kwiki::ModPerl', 
> 'Apache=SCALAR(0x9889554)') called at /dev/null line 0
>       eval {...} called at /dev/null line 0

> >What version of Kwiki is it? I get the same messages with
> >Kwiki-0.38. But Kwiki-0.36 is OK on another machine.

> I have the latest off CPAN: Kwiki-0.38, Spoon-0.23 and Spiffy-0.22.

> <snip>

> I applied the patch in Mattheson's previous email with no effect at
> all, so the change made no difference to me at all.

How long is registry.dd? 172 lines? Does it start like this:

{
  'action' => {
    'display' => [
      'display'
    ],
    'edit' => [
      'edit'
    ],
    'edit_contention' => [
      'edit'
    ]
  },
  'add_order' => {

The lines in Spoon/Hub.pm just before it dies with the error
message you quote are:

    $self->preload;
    my $action = $self->action;

preload is loading data from the registry. My guess is that it is
dying because it doesn't find the lines above in registry.dd.

Anyway, Kwiki-0.37 and Spoon-0.21 don't seem to have this
problem.

Reply via email to