[WM] Invalid argument at sitecache.pm line 74
Patrick Colgan
pcolgan.panix.com
Thu May 8 07:00:02 IST 2003
I've installed Webmake on Win2K using ActivePerl 5.6. The modules seem
installed properly, but I can't seem to get it to run. I tried all of this
with IndigoPerl and had similar problems.
My $HOME is c:\home, and I can see a cache.db file being created under the
c:\home\.webmake folder.
When I try to test it by running maketest , I get this error:
c:/webmake $ maketest.bat
t/attrdefault.......cannot open log/attrdefault.html at t/WMTest.pm line 80.
Not found: html = **Test.**
Not found: ettext = <strong>Test.</strong>
dup Invalid argument at C:/Perl/site/lib/HTML/WebMake/SiteCache.pm line 74.
FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/basic.............cannot open log/basic.html at t/WMTest.pm line 80.
Not found: foo = Foo!
If I try to run it directly with the "news_site" webmake example, I get
something similar.
c:/webmake/examples $ webmake news_site.wmk
<{perl}> code failed: dup Invalid argument at
C:/Perl/site/lib/HTML/WebMake/SiteCache.pm line 74.
Code: # create a ${all_stories} variable containing the list
# of all text files just loaded.
$_ = '';
foreach my $pg (sorted_content_matching ("score title", "*.txt"))
{
$pg =~ s/\.txt$//; $_ .= "$pg ";
}
set_content ("all_stories", $_);
'';
webmake: error: No target "news_site.wmk" found!
Any suggestions would be much appreciated.
Pat
More information about the Webmake-talk
mailing list