Your message dated Wed, 4 Dec 2019 09:56:51 +0100
with message-id <[email protected]>
and subject line Re: [Debian-l10n-devel] Bug#896884: l10n-rrd cron job fail
with "Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float"
has caused the Debian Bug report #896884,
regarding l10n-rrd cron job fail with "Function update_pdp_prep, case DST_GAUGE
- Cannot convert '' to float"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896884: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896884
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dl10n
X-Debbugs-CC: [email protected]
X-Debbugs-CC: [email protected]
Hello
The daily cron jobs that create the data and graphs in i18n.debian.org currently
fail with these errors:
/srv/i18n.debian.org/etc/cron.d//90l10n-rrd:
ERROR: man/ar.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert ''
to float
ERROR: man/be.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert ''
to float
(a lot of more errors with different language files).
I've searched for the error but couldn't find enough info to try to solve it by
myself, I'm not familiarised with rrdtool.
I've tried to manually run the task in tye.debian.org and got these errors mixed
with other type of error, mentioned in #896678 "illegal attempt to update using
time X when last update time is X (minimum one second step)", so I guess this
kind of error will be recurrent every day too.
Cheers
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
--- End Message ---
--- Begin Message ---
Hi all
I think this is solved with this commit:
https://salsa.debian.org/l10n-team/dl10n/commit/a7af20a1819c4adc5fdc5612254cdf50f1518a87
diff --git a/dl10n-rrd/manpages-rrd.pl b/dl10n-rrd/manpages-rrd.pl
index
5fdd56ca47818734015a29dd51fdb200359183f2..dadfb64ae0f5bc294a1064ce80b6b2a763bacfff
100755
--- a/dl10n-rrd/manpages-rrd.pl
+++ b/dl10n-rrd/manpages-rrd.pl
@@ -101,6 +101,13 @@ foreach $lang (sort keys %langs) {
$date = strftime "%s", localtime;
$date = (int($date / $step)+1)*$step
}
+
+ if ($total{$lang} eq '') {
+ $total{$lang} = "U";
+ }
+ if ($total_translated_only{$lang} eq '') {
+ $total_translated_only{$lang} = "U";
+ }
system "rrdtool update man/$lang.rrd $date:".
$total{$lang}.":".
$total_translated_only{$lang};
Kind regards,
El 25/4/18 a las 13:39, Laura Arjona Reina escribió:
>
> Hello
> The daily cron jobs that create the data and graphs in i18n.debian.org
> currently
> fail with these errors:
>
> /srv/i18n.debian.org/etc/cron.d//90l10n-rrd:
> ERROR: man/ar.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert
> ''
> to float
> ERROR: man/be.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert
> ''
> to float
>
> (a lot of more errors with different language files).
>
> I've searched for the error but couldn't find enough info to try to solve it
> by
> myself, I'm not familiarised with rrdtool.
>
> I've tried to manually run the task in tye.debian.org and got these errors
> mixed
> with other type of error, mentioned in #896678 "illegal attempt to update
> using
> time X when last update time is X (minimum one second step)", so I guess this
> kind of error will be recurrent every day too.
>
> Cheers
>
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
--- End Message ---
_______________________________________________
Debian-l10n-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-l10n-devel