Your message dated Fri, 19 Feb 2021 14:21:53 +0000 with message-id <[email protected]> and subject line Bug#980935: fixed in pyzo 4.4.3-1.3 has caused the Debian Bug report #980935, regarding pyzo: Crash at startup with python3.9 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 980935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980935 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: pyzo Version: 4.4.3-1.2 Severity: grave Tags: patch upstream Justification: renders package unusable Dear Maintainer, When trying to launch pyzo in a standard debian environment with python3.9, I face the following error: Traceback (most recent call last): File "/usr/bin/pyzo", line 11, in <module> load_entry_point('pyzo==4.4.3', 'console_scripts', 'pyzo')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 474, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2846, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2450, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2456, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/share/pyzo/pyzo/__init__.py", line 73, in <module> if commandline.is_our_server_running(): File "/usr/share/pyzo/pyzo/core/commandline.py", line 150, in is_our_server_running return server and server.isAlive() AttributeError: 'Server' object has no attribute 'isAlive' This error seems to be related to https://github.com/pyzo/pyzo/issues/713 Applying the upstream patch fixes the problem - see attached. Upgrading pyzo to a newer version should also be OK. Regards, Alexis Bienvenüe. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages pyzo depends on: ii famfamfam-silk 1.3-1.1 ii fonts-dejavu-core 2.37-2 ii fonts-dejavu-extra 2.37-2 ii python3 3.9.1-1 ii python3-pkg-resources 51.3.3-1 ii python3-qtpy 1.9.0-3 pyzo recommends no packages. Versions of packages pyzo suggests: pn pyzo-doc <none> -- no debconf informationdiff -Nru pyzo-4.4.3/debian/changelog pyzo-4.4.3/debian/changelog --- pyzo-4.4.3/debian/changelog 2019-01-11 19:09:52.000000000 +0100 +++ pyzo-4.4.3/debian/changelog 2021-01-24 15:52:14.000000000 +0100 @@ -1,3 +1,9 @@ +pyzo (4.4.3-1.3) UNRELEASED; urgency=medium + + * Fix crash with python3.9 + + -- Alexis Bienvenüe <[email protected]> Sun, 24 Jan 2021 15:52:14 +0100 + pyzo (4.4.3-1.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru pyzo-4.4.3/debian/patches/0002-replace-isAlive-per-is_alive-to-become-Python-3.9-compat.patch pyzo-4.4.3/debian/patches/0002-replace-isAlive-per-is_alive-to-become-Python-3.9-compat.patch --- pyzo-4.4.3/debian/patches/0002-replace-isAlive-per-is_alive-to-become-Python-3.9-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ pyzo-4.4.3/debian/patches/0002-replace-isAlive-per-is_alive-to-become-Python-3.9-compat.patch 2021-01-24 15:50:46.000000000 +0100 @@ -0,0 +1,31 @@ +Description: Replace isAlive per is_alive to become Python 3.9 compatible + With python3.9, pyzo 4.4.3 crashes at startup with + AttributeError: 'Server' object has no attribute 'isAlive' +Author: Alexis Bienvenüe <[email protected]> +Origin: upstream +Bug: https://github.com/pyzo/pyzo/issues/713 +Applied-Upstream: https://github.com/pyzo/pyzo/pull/714/commits/9d9b2fe126f70f70ff8b0fa9dd5ba047f595b75a +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/pyzo/core/commandline.py ++++ b/pyzo/core/commandline.py +@@ -147,7 +147,7 @@ def is_our_server_running(): + not running, this is probably not the first Pyzo, but there might + also be problem with starting the server. + """ +- return server and server.isAlive() ++ return server and server.is_alive() + + + def is_pyzo_server_running(): +--- a/pyzo/yoton/channels/channels_reqrep.py ++++ b/pyzo/yoton/channels/channels_reqrep.py +@@ -714,7 +714,7 @@ class RepChannel(BaseChannel): + self._timer.start() + elif mode in [2, 'thread', 'thread-driven']: + self._run_mode = 2 +- if not self._thread.isAlive(): ++ if not self._thread.is_alive(): + self._thread.start() + else: + raise ValueError('Invalid mode for ReqChannel instance.') diff -Nru pyzo-4.4.3/debian/patches/series pyzo-4.4.3/debian/patches/series --- pyzo-4.4.3/debian/patches/series 2018-11-30 16:17:17.000000000 +0100 +++ pyzo-4.4.3/debian/patches/series 2021-01-24 15:43:45.000000000 +0100 @@ -1,2 +1,3 @@ Disable-install-of-appdata.patch 0001-replace-async-per-basync-to-become-Python-3.7-compat.patch +0002-replace-isAlive-per-is_alive-to-become-Python-3.9-compat.patch
--- End Message ---
--- Begin Message ---Source: pyzo Source-Version: 4.4.3-1.3 Done: Alexis Bienvenüe <[email protected]> We believe that the bug you reported is fixed in the latest version of pyzo, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexis Bienvenüe <[email protected]> (supplier of updated pyzo package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 24 Jan 2021 15:52:14 +0100 Source: pyzo Architecture: source Version: 4.4.3-1.3 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Alexis Bienvenüe <[email protected]> Closes: 980935 Changes: pyzo (4.4.3-1.3) unstable; urgency=medium . * Non-maintainer upload * Fix crash with python3.9 (Closes: #980935) Checksums-Sha1: 7836e8e9d498ff19e0e5b3568ec3c1c58d3d99f7 2113 pyzo_4.4.3-1.3.dsc f841bce45122c0be13eebe68fbd57c8cc4c6d9dd 14980 pyzo_4.4.3-1.3.debian.tar.xz e21021d9ef08a89db0fbb2ad4a846997e29d0c7e 8317 pyzo_4.4.3-1.3_source.buildinfo Checksums-Sha256: 303a8900606454a161ccd5beccb174502f6d27dcc7d973029ebeec9337d50585 2113 pyzo_4.4.3-1.3.dsc 9c07236ec3c9a8a1df689c63b8f09aef54d16ab3a84449f5eefdc95fb11dd028 14980 pyzo_4.4.3-1.3.debian.tar.xz bb162730a9629322035adbd8fe28411e0367280ad0c87638db142ff1b53da99b 8317 pyzo_4.4.3-1.3_source.buildinfo Files: 0a9ddca50a28385ba5dc55ce200a55ad 2113 science optional pyzo_4.4.3-1.3.dsc 1b3334e1f828c1e5260e4815958cb004 14980 science optional pyzo_4.4.3-1.3.debian.tar.xz 164e034fe2c76ec099b4c41f3834c210 8317 science optional pyzo_4.4.3-1.3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmAvxFEACgkQ808JdE6f XdlC2g//ZStfJCnX3w3fXi82cKKlPlk7V7rCOxSl92t6MSZ+9UkbyBKBLWXyaNA3 KvlLiUtYQairwz19+KVIL7UE1EIQ14w7JcDxbFDOi891hqnrIkMyYIpk169oEcnL FUqf2RkCGpdvhdEVT+Jq84NBojgyMoN6YNMFxDFtclyhp6cj24ctkeHpvqoV4zCo Gi+jUWGvsoXRNa02oEjTcihlxzrB2rZsGz1LMxr1gNcpENxLulxhq29SUeHeU6Bn vQTGBNHdHVQyw7S0wlvH1NGeq4YajkB1d9Bkpo1IffW8SZv7VXudLHYk4vyVQL2n n1tL/3XBtXco2cLfgyEFpk+0hkXYL9G1oV79qib4Wn3OC+UantbZg9XhhxvVy7+g xsZ1YvWobyIVHigBsfSjDj57lcZFmTNUkYZklN79zm5Q/C72m3VufhtqnUACab2m ysOhO9Ox4maSEhzGpjoTqil2I6FGUDNFbW3sKffyft6sBLZCJ3IVcGPrXDd+UEWp hGX8QS61LPLY3W+bbMucafUT5i2shCa0DF/m515Y9NnWGBoX3UjYkTHHRELu53bn OWaBdiGRBduT+SSJEcXzfYXB0bP2XvgBHoD1wPbDGrlVI66GiNBCHVz96b1KIRav rE+Kjgv4XsRLzZpZFvrZlLs5IvpAqUYIg5/sNv7Jt+U+ZsKUUhs= =2KAa -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
