[Bug 1044943] perl-Gtk2 GUI programs fails to start when using DBD::Pg
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jan 8 12:20:20 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1044943
--- Comment #4 from Petr Pisar <ppisar at redhat.com> ---
Regarding the LC_NUMERIC, I added some debugging into the Exporter/Heavy.pm:
# perl -e 'use Gtk2 -init; use DBD::Pg'
DBI 1,52
isvstring no
looks_like_number no
$VAR1 = '1,52';
at /usr/lib64/perl5/vendor_perl/DBD/Pg.pm line 71.
require DBD/Pg.pm called at -e line 1
main::BEGIN() called at /usr/lib64/perl5/vendor_perl/DBD/Pg.pm line 0
eval {...} called at /usr/lib64/perl5/vendor_perl/DBD/Pg.pm line 0
Invalid version format (non-numeric data) at
/usr/share/perl5/vendor_perl/Exporter/Heavy.pm line 253.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Seems like Gtk2 sets locale and then DBD::Pg passes stringified 1.52 value,
hence '1,52', to DBI->VERSION() which is of course wrong.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=AotgmPIiut&a=cc_unsubscribe
More information about the perl-devel
mailing list