[WM] Webmake not finding certain images.
jlm17
jlm17 at lucent.com
Fri May 7 16:09:18 IST 2004
Tracing the problem, I see that in the add_image_size function in Main.pm, when the problem will
occur, $self->{current_subst}->{filename} is (!E), when the problem doesn't occur, the value is the
name of the output file.
jlm17 wrote:
> Very odd. The problem isn't as general as I thought. I'm still working
> on a minimal example that creates this problem, but so far if I remove
> my breadcrumbs, the error goes away. Just four lines:
>
> <template name="breadcrumbs_node">
> <a href="${url}">$[${name}.title]</a>
> </template>
> <breadcrumbs name="breadcrumbs" map="sitemap" level="breadcrumbs_node"/>
>
> jlm17 wrote:
>
>> Well, that got rid of some of the errors, but the most important one
>> is still there:
>>
>> ${IMGSIZE}: cannot find image file
>> "images/atria_acct_local_admin_add-small.gif" in "(html-cleaner)"
>>
>> Ralph Pape wrote:
>>
>>> Hi jlm17,
>>>
>>> jlm17 wrote:
>>>
>>>> I am getting some errors with webmake like this:
>>>>
>>>> Use of uninitialized value in string eq at
>>>> /usr/lib/perl5/site_perl/5.8.0/HTML/WebMake/Main.pm line 1732.
>>>> Use of uninitialized value in string eq at
>>>> /usr/lib/perl5/site_perl/5.8.0/HTML/WebMake/Main.pm line 1732.
>>>> ${IMGSIZE}: cannot find image file "images/cygwina.jpg" in
>>>> "(html-cleaner)"
>>>
>>>
>>>
>>> [...]
>>>
>>> On W2K with Activeperl 5.8.3 I found the same. The fix for this is
>>> editing Main.pm on line 1807, because $dotdots must be not undefined.
>>> Else we run into this "undefined" errors caused in the second line of
>>> the erfcatdir function.
>>>
>>> Change this:
>>> my $dotdots = $self->{current_subst}->{dotdots};
>>>
>>> to this
>>> my $dotdots = $self->{current_subst}->{dotdots} || '';
>>>
>>> Greetings Ralph
>>>
>>> _______________________________________________
>>> Webmake-talk mailing list
>>> Webmake-talk at taint.org
>>> http://webmake.taint.org/mailman/listinfo/webmake-talk
>>
>>
>> _______________________________________________
>> Webmake-talk mailing list
>> Webmake-talk at taint.org
>> http://webmake.taint.org/mailman/listinfo/webmake-talk
>
> _______________________________________________
> Webmake-talk mailing list
> Webmake-talk at taint.org
> http://webmake.taint.org/mailman/listinfo/webmake-talk
More information about the Webmake-talk
mailing list