Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20835 - [reflector] emit error/warning using --hours option

Attached to Project: Community Packages
Opened by Auguste Pop (Auguste) - Monday, 13 September 2010, 07:41 GMT
Last edited by Xyne (Xyne) - Monday, 13 September 2010, 21:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Xyne (Xyne)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When run reflector with -h option, error/warning written to stderr.

Additional info:
* package version(s)
2010.08.24.1-1
* config and/or log files etc.


Steps to reproduce:

By the following command:
reflector -h 1 -o mirrorlist
Correct output is written to the file mirrorlist, but several warning/error are emitted to stderr:

Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.
Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.
Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.
Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.
Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.
Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.
Argument "" isn't numeric in numeric le (<=) at /usr/share/perl5/vendor_perl/Xyne/Arch/Reflector.pm line 298.

I just installed reflector today, so I am not sure whether this is a new bug introduced in by the newest version.
All packages were updated without any ignore setting.
This task depends upon

Closed by  Xyne (Xyne)
Monday, 13 September 2010, 21:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed "upstream" :P
Comment by Brad Fanella (cesura) - Monday, 13 September 2010, 19:56 GMT
Assigned to Xyne
Comment by Brad Fanella (cesura) - Monday, 13 September 2010, 20:02 GMT
Ah, it must be that reflector is taking *everything* after --hours, regardless of whether or not it is a command line option. You should report this to Xyne.

Loading...