Your message dated Mon, 21 Aug 2006 16:26:41 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Fixed in 2.8.7-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: fetchyahoo
Version: 2.8.6-5
Severity: minor
Tags: patch
Fetchyahoo is giving me erroneous error messages such as:
Warning: You are using 100% of your 10MB limit (warning-level=80%).
The "10MB" limit jumps around depending on the stochasticity.
I have "warning-level = 80" set in ~/.fetchyahoorc.
The cause is Yahoo's box limit upping to 2GB. The parser looks for "MB".
Here's a patch:
--- /usr/bin/fetchyahoo 2005-04-11 16:07:57.000000000 +1200
+++ fetchyahoo 2005-06-08 21:41:26.000000000 +1200
@@ -625,13 +625,13 @@
MyDie("Failed: Yahoo user $username does not exist\n");
}
-# parses out quota used/limit (by looking for 'xx% ... xxMB')
-if ( $content =~ /(\d+(?:\.\d+)?)%.+?(\d+(?:\.\d+)?)MB/ ) {
+# parses out quota used/limit (by looking for 'xx% ... xxGB')
+if ( $content =~ /(\d+(?:\.\d+)?)%.+?(\d+(?:\.\d+)?)GB/ ) {
my ($percentUsed, $limitMB) = ($1, $2);
- printf "You are using %s%% of your %sMB limit.\n", $percentUsed, $limitMB
+ printf "You are using %s%% of your %sGB limit.\n", $percentUsed, $limitMB
unless $quiet;
if( $warningLevel && $percentUsed >= $warningLevel){
- printf "Warning: You are using %s%% of your %sMB limit ".
+ printf "Warning: You are using %s%% of your %sGB limit ".
"(warning-level=%d%%).\n", $percentUsed, $limitMB, $warningLevel
unless $noerrors;
}
thanks,
Hamish
--- End Message ---
--- Begin Message ---
Package: fetchyahoo
Version: 2.8.7-1
This bug is fixed in fetchyahoo 2.8.7 and later; closing.
Chris
--
Chris Lawrence <[EMAIL PROTECTED]> - http://blog.lordsutch.com/
--- End Message ---