Package: python3-mistune
Version: 2.0.0-1
Severity: normal

Hey,

since this package was upgraded about a week ago, matrix-mirage package (matrix client), doesn't work anymore (= blank window trying to load something indefinetely). running matrix-mirage with python3-mistune version 2.0.0-1, produces following errors on console :

$ matrix-mirage
~ 21:05:35 | Got library name: "/usr/lib/x86_64-linux-gnu/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"
! 21:05:36 | QSystemTrayIcon::setVisible: No Icon set
/usr/lib/python3/dist-packages/baron/grammator.py:830: ParserGeneratorWarning: Token 'EXEC' is unused
  parser = pg.build()
~ 21:05:44 | "PyOtherSide error: Traceback (most recent call last):\n\n File \"qrc:/src/backend/qml_bridge.py\", line 181, in <module>\n BRIDGE = QMLBridge()\n\n File \"qrc:/src/backend/qml_bridge.py\", line 52, in __init__\n from .backend import Backend\n\n File \"qrc:/src/backend/backend.py\", line 24, in <module>\n from .matrix_client import MatrixClient\n\n File \"qrc:/src/backend/matrix_client.py\", line 42, in <module>\n from .html_markdown import HTML_PROCESSOR as HTML\n\n File \"qrc:/src/backend/html_markdown.py\", line 21, in <module>\n class MarkdownInlineGrammar(mistune.InlineGrammar):\n\nAttributeError: module 'mistune' has no attribute 'InlineGrammar'\n" ! 21:05:44 | Unhandled PyOtherSide error: Cannot import module: backend.qml_bridge (Traceback (most recent call last):

  File "qrc:/src/backend/qml_bridge.py", line 181, in <module>
    BRIDGE = QMLBridge()

  File "qrc:/src/backend/qml_bridge.py", line 52, in __init__
    from .backend import Backend

  File "qrc:/src/backend/backend.py", line 24, in <module>
    from .matrix_client import MatrixClient

  File "qrc:/src/backend/matrix_client.py", line 42, in <module>
    from .html_markdown import HTML_PROCESSOR as HTML

  File "qrc:/src/backend/html_markdown.py", line 21, in <module>
    class MarkdownInlineGrammar(mistune.InlineGrammar):

AttributeError: module 'mistune' has no attribute 'InlineGrammar'
)
~ 21:05:44 | "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'BRIDGE' is not defined\n" ! 21:05:44 | Unhandled PyOtherSide error: Function not found: 'BRIDGE.call_backend_coro' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'BRIDGE' is not defined
)


downgrading to python3-mistune version 0.8.4-5 in testing, and matrix-mirage works as expected. found relative tip in arch AUR : https://aur.archlinux.org/packages/matrix-mirage/#comment-833416, and it works for debian too, so that's why i'm submitting this bug here. if you think this is really a matrix-mirage bug, just reassign as you think best.

thanks in advance,
d.


-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 5 (daedalus/ceres)
Release:        5
Codename:       daedalus ceres
Architecture: x86_64

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

Versions of packages python3-mistune depends on:
ii  python3  3.9.8-1

python3-mistune recommends no packages.

python3-mistune suggests no packages.

-- no debconf information

Reply via email to