<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello</p>
<p>Thanks for the quick answer.<br>
</p>
<div class="moz-cite-prefix">El 19/11/24 a las 15:16, gregor
herrmann escribió:<br>
</div>
<blockquote type="cite"
cite="mid:Zzydp1Q1r10-VNyq@colleen.colgarra.priv.at">
<pre wrap="" class="moz-quote-pre">On Tue, 19 Nov 2024 15:01:27 +0100, Laura Arjona Reina wrote:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">Looking at the log, it says:
Undefined subroutine &Html::html called at
/srv/i18n.debian.org//dl10n/git/dl10n-html line 140.
We have the file in dl10n/git/lib/Debian/L10n/Html.pm that includes the
subroutine hmtl() and it was working without issues. I think that now Perl
in tye.d.o cannot find it but I don't know why, because the cron job (script <a class="moz-txt-link-freetext" href="https://salsa.debian.org/l10n-team/dl10n/-/blob/master/cron/spiderbts?ref_type=heads">https://salsa.debian.org/l10n-team/dl10n/-/blob/master/cron/spiderbts?ref_type=heads</a>
) gets the configuration from file dl10n.conf as the other scripts.
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">
Was perl upgraded?</pre>
</blockquote>
No AFAIK, we have 11.11 in tye, and perl 5.32.1-4+deb11u4 <br>
<br>
<blockquote type="cite"
cite="mid:Zzydp1Q1r10-VNyq@colleen.colgarra.priv.at">
<pre wrap="" class="moz-quote-pre">
Anyway, looks indeed like
./dl10n-html
doesn't find
./lib
<guess>
I'd try to add
use lib '.';
at the top of dl10n-html, e.g. after "use POSIX qw(strftime);"
in <a class="moz-txt-link-freetext" href="https://salsa.debian.org/l10n-team/dl10n/-/blob/master/dl10n-html?ref_type=heads#L32">https://salsa.debian.org/l10n-team/dl10n/-/blob/master/dl10n-html?ref_type=heads#L32</a>
</pre>
</blockquote>
<p>I tried this (manually editing the file in tye.debian.org) and
got the same error, also tried to write the line more on top, in
L5, with no changes.<br>
</p>
<blockquote type="cite"
cite="mid:Zzydp1Q1r10-VNyq@colleen.colgarra.priv.at">
<pre wrap="" class="moz-quote-pre">
or call dl10n-html from the cronjob as "perl -I<full path to the
lib/directory>, e.g.
PERL -I$DL10NDIR/lib $DL10NDIR/dl10n-html --sdb …
in <a class="moz-txt-link-freetext" href="https://salsa.debian.org/l10n-team/dl10n/-/blob/master/cron/spiderbts?ref_type=heads#L46">https://salsa.debian.org/l10n-team/dl10n/-/blob/master/cron/spiderbts?ref_type=heads#L46</a>
</guess>
</pre>
</blockquote>
<p>I also tried this, editing the spiderbts file in tye.debian.org
(used "perl" instead of PERL) obtaining the same error:</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">Undefined
subroutine &Debian::L10n::Html::html called at
/srv/i18n.debian.org//dl10n/git/dl10n-html line 140.</span><br>
<br>
(I also changed the message written in the .log file to be sure
that the system was running my modified script).</span></p>
<p><span style="font-family:monospace">Kind regards,</span></p>
<pre class="moz-signature" cols="72">--
Laura Arjona Reina
<a class="moz-txt-link-freetext" href="https://wiki.debian.org/LauraArjona">https://wiki.debian.org/LauraArjona</a></pre>
</body>
</html>