Bug#980935: pyzo: Crash at startup with python3.9

Alexis Bienvenüe pado at passoire.fr
Sun Jan 24 15:44:12 GMT 2021


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 information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyzo-python3.9.diff
Type: text/x-patch
Size: 2662 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210124/d9825bbc/attachment.bin>


More information about the debian-science-maintainers mailing list