Bug#917429: salt-minion: Upgrade to 2018.3.3 generates some Python 2 vs 3 warnings
Le 08/02/2019 à 16:36, Benjamin Drung a écrit : Am Donnerstag, den 27.12.2018, 17:56 +0100 schrieb Sylvestre Ledru: Upgrading from 2017.7.4+dfsg1-1 to the new version generates a lot of warnings: 2018-12-27 17:54:41,264 [salt.loader :1524][WARNING ][20543] Failed to import module zpool.cpython-36. Bad magic number. If migrating from Python2 to Python3, remove all .pyc files and try again. This is a one-time warning. salt will remove the .pyc files and the warning will be gone on the next job. Ok, thanks :) S
Bug#917429: salt-minion: Upgrade to 2018.3.3 generates some Python 2 vs 3 warnings
Am Donnerstag, den 27.12.2018, 17:56 +0100 schrieb Sylvestre Ledru: > Upgrading from 2017.7.4+dfsg1-1 to the new version generates a lot > of warnings: > 2018-12-27 17:54:41,264 [salt.loader :1524][WARNING ][20543] > Failed to import module zpool.cpython-36. Bad magic number. If > migrating from Python2 to Python3, remove all .pyc files and try > again. This is a one-time warning. salt will remove the .pyc files and the warning will be gone on the next job. -- Benjamin Drung System Developer Debian & Ubuntu Developer 1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany E-mail: benjamin.dr...@cloud.ionos.com | Web: www.ionos.de Head Office: Berlin, Germany District Court Berlin Charlottenburg, Registration number: HRB 125506 B Executive Management: Christoph Steffens, Matthias Steinberg, Achim Weiss Member of United Internet
Bug#917429: salt-minion: Upgrade to 2018.3.3 generates some Python 2 vs 3 warnings
Package: salt-minion Version: 2018.3.3+dfsg1-1 Severity: normal Dear Maintainer, Upgrading from 2017.7.4+dfsg1-1 to the new version generates a lot of warnings: 2018-12-27 17:54:41,264 [salt.loader :1524][WARNING ][20543] Failed to import module zpool.cpython-36. Bad magic number. If migrating from Python2 to Python3, remove all .pyc files and try again. Cheers, S -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (600, 'unstable'), (500, 'buildd-unstable'), (500, 'stable'), (300, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages salt-minion depends on: ii bsdmainutils 11.1.2+b1 ii dctrl-tools 2.24-3 ii lsb-base 10.2018112800 ii python3 3.7.1-2 ii python3-crypto 2.6.1-9+b1 ii python3-systemd 234-2+b1 ii python3-zmq 17.1.2-1 ii salt-common 2018.3.3+dfsg1-1 Versions of packages salt-minion recommends: pn debconf-utils ii dmidecode 3.2-1 ii e2fsprogs 1.44.5-1 pn sfdisk Versions of packages salt-minion suggests: pn python3-augeas -- Configuration Files: /etc/salt/minion changed [not included] -- no debconf information