Package: dpkg Version: 1.18.18 Severity: normal Dear Maintainer,
While packaging a python program I faced this issue. It was solve by the developer by setting 'UTF-8' as a fallback encoding when sys.stdin.encoding is None. In order to prevent this, could you please stop setting sys.stdin.encoding to None ? Traceback (most recent call last): File "/usr/share/opensvc/lib/nodemgr.py", line 101, in <module> ret = main() File "/usr/share/opensvc/lib/nodemgr.py", line 93, in main return _main(node, argv=argv) File "/usr/share/opensvc/lib/nodemgr.py", line 73, in _main err = node.action(action) File "/usr/share/opensvc/lib/node.py", line 719, in action ret = getattr(self, action)() File "/usr/share/opensvc/lib/node.py", line 1561, in set self.write_config() File "/usr/share/opensvc/lib/node.py", line 575, in write_config self.config.write(tmpf) File "/usr/share/opensvc/lib/rcConfigParser.py", line 31, in write value = value.decode(sys.stdin.encoding) TypeError: decode() argument 1 must be string, not None Regards -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-8 ii libc6 2.24-8 ii liblzma5 5.2.2-1.2 ii libselinux1 2.6-3 ii tar 1.29b-1.1 ii zlib1g 1:1.2.8.dfsg-4 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 1.4~beta2 -- no debconf information -- Jean-Michel Kelbert
signature.asc
Description: PGP signature