Control: affects -1 + weechat-matrix

This bug amendment is intended to notify the maintainer of
weechat-matrix that their package in bullseye does not work because of
this bug in weechat-scripts. The amendment is warranted because this
bug was fixed in Debian unstable, but not being RC remains unfixed in
bullseye—even though weechat-matrix in bullseye is unusable.

A preliminary analysis indicates that there are two causes. This bug is one.

The second issue appears to relate to a name conflict caused by the
file /usr/share/weechat/python/queue.py shipped in weechat-scripts, or
possibly by the module loading process used for weechat-matrix. It is
described in this Ubuntu bug [2]  which was filed against
weechat-scripts. (Thank you to Sebastinas for locating it.) It is
unclear if the second issue was also fixed, like this bug, in unstable
with version 20210303-1 of weechat-scripts.

There was one report (from jochensp on IRC) that the Git version of
weechat-matrix works with version 20200815-1 of weechat-scripts in
bullseye. I could not verify that locally and installed
weechat-scripts from unstable instead. Unfortunately, I continued to
see Python connection errors which I have to investigate further.

Here is a brief description of how to reproduce the issue:

On bullseye, the command '/script load matrix.py', which I took from
the upstream instructions, [1] does not load the script but instead
produces the errors shown at the bottom of this message. (You may have
to run 'weechat-matrix-wrapper enable' beforehand.)

Hope this helps!

Kind regards
Felix Lechner

[1] https://github.com/poljar/weechat-matrix
[2] https://bugs.launchpad.net/ubuntu/+source/weechat-scripts/+bug/1903354

* * *

11:35 python: stdout/stderr (?): Traceback (most recent call last):
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/playhouse/sqliteq.py", line 7, in
<module>
11:35 python: stdout/stderr (?):     from Queue import Queue
11:35 python: stdout/stderr (?): ModuleNotFoundError: No module named 'Queue'
11:35 python: stdout/stderr (?): During handling of the above
exception, another exception occurred:
11:35 python: stdout/stderr (?): Traceback (most recent call last):
11:35 python: stdout/stderr (?):   File
"/home/lechner/.weechat/python/autoload/matrix.py", line 53, in
<module>
11:35 python: stdout/stderr (?):     from nio import
RemoteProtocolError, RemoteTransportError, TransportType
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/__init__.py", line 2, in <module>
11:35 python: stdout/stderr (?):     from .client import *
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/client/__init__.py", line 3, in
<module>
11:35 python: stdout/stderr (?):     from .base_client import Client,
ClientConfig
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/client/base_client.py", line 35,
in <module>
11:35 python: stdout/stderr (?):     from ..crypto import ENCRYPTION_ENABLED
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/crypto/__init__.py", line 41, in
<module>
11:35 python: stdout/stderr (?):     from .olm_machine import Olm
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/crypto/olm_machine.py", line 52,
in <module>
11:35 python: stdout/stderr (?):     from ..store import MatrixStore
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/store/__init__.py", line 35, in
<module>
11:35 python: stdout/stderr (?):     from .database import (
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/nio/store/database.py", line 22, in
<module>
11:35 python: stdout/stderr (?):     from playhouse.sqliteq import
SqliteQueueDatabase
11:35 python: stdout/stderr (?):   File
"/usr/lib/python3/dist-packages/playhouse/sqliteq.py", line 9, in
<module>
11:35 python: stdout/stderr (?):     from queue import Queue
11:35 python: stdout/stderr (?):   File
"/usr/share/weechat/python/queue.py", line 277
11:35 python: stdout/stderr (?):     if args == "":
11:35 python: stdout/stderr (?): TabError: inconsistent use of tabs
and spaces in indentation
11:35 =!= python: unable to parse file
"/home/lechner/.weechat/python/autoload/matrix.py"

Reply via email to