[Dirvish] The wiki is back

Keith Lofstrom keithl at kl-ic.com
Sat Nov 10 20:28:25 UTC 2007

More Administrivia:

The wiki appears to be working now.  Thanks for the email.

On Sat, Nov 10, 2007 at 11:46:57AM -0500, Kenneth Lerman wrote:
> I would follow the directions and send mail to "root at localhost", but he
> doesn't seem to be able to help.
> I get:
> ----------
> Software error:
> Undefined subroutine &Scalar::Util::weaken called at (eval 27) line 4.
>  at lib/Spoon/Base.pm line 89
> 	Spoon::Base::__ANON__('Undefined subroutine &Scalar::Util::weaken called at
> (eval 27...') called at (eval 27) line 4
> 	Spiffy::__ANON__('Kwiki::Hub=HASH(0x82bcc48)', 'Kwiki=HASH(0x827205c)')
> called at lib/Spoon/Boot/Base.pm line 26
> 	Spoon::Boot::Base::init('Kwiki::Boot::V1=HASH(0x8237bd0)') called at
> lib/Spoon/Boot/Base.pm line 9
> 	Spoon::Boot::Base::new('Kwiki::Boot::V1') called at lib/Kwiki/Boot.pm line
> 5
> 	Kwiki::Boot::boot('Kwiki::Boot') called at
> /home/www/dirvish/cgi-bin/kwiki/index.cgi line 4
> For help, please send mail to the webmaster (root at localhost), giving this
> error message and the time and date of the error.
> ----------

I frobbed on the kwiki code for a while - it is difficult to tell from the error
message what the problem really was, except that kwiki could find the weaken
subroutine ( which was in /usr/lib/perl5/5.8.8/Scalar/Util.pm , where it 
belonged ).  The technique that actually fixed it was forced reloading of
Scalar::Util and Spiffy :

perl -MCPAN -e shell
cpan> force install Spiffy
cpan> force install Scalar::Util
cpan> quit

I don't really understand why that worked, but it did.  Unforced install
did not update/repair/replace the code.


Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs

More information about the Dirvish mailing list