Bug#650518: libproc-processtable-perl: Module expects english locale
gregor herrmann
gregoa at debian.org
Thu Dec 15 21:38:50 UTC 2011
tag 650518 + unreproducible moreinfo
thanks
On Wed, 30 Nov 2011 15:17:37 +0100, Wolfgang Leuchuk wrote:
> My perl skript uses this module. When I try to access the field "pid" of the
> process table it exits with the error message "Your vendor has not defined
> Proc::ProcessTable macro pid at " my script some line number. The error message
> is not from my script but from the module.
>
> When I debug it I find in the file Proc::ProcessTable::AUTOLOAD (says the perl
> debugger) a comparison "if ($! ~= /Invalid/)" which is never true when the
> locale is german and the OS-error is reported consequently in german. As it
> can't be true it always exits with the above mentioned error message.
>
> I can circumnavigate the problem by setting the locale to english, but this in
> my humble opinion not the way it should work.
Thanks for your bug report; unfortunately I can't reproduce it; I
tried running the test suite and the example.pl under a German
locale, and I didn't encounter any problems.
Could you please provide us with instructions and/or a minimal
example script on how to reproduce the error?
Thanks,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Flying Pickets: Englishman In New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20111215/754f4a8a/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list