Package: python2.7
Version: 2.7.17-1+b1
Severity: important

My localization uses the comma for decimal point and prinft output uses that
format.

ERROR: /media/ups/ups.rrd: Function update_pdp_prep, case DST_GAUGE - Converted
'42,0' to 42,000000, but cannot convert ',0'

Changing "42,0" to "42.0" (printf "%.1f",blah | tr "," ".") solved it, was
working before with python2.7.17-1.







-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (1001, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8), 
LANGUAGE=pt:pt_BR:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python2.7 depends on:
ii  libpython2.7-stdlib  2.7.17-1+b1
ii  mime-support         3.64
ii  python2.7-minimal    2.7.17-1+b1

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.33.90.20200122-2
pn  python2.7-doc  <none>

-- no debconf information

Reply via email to