Skip to content

Crash when Python bindings for Qt 6 Multimedia not installed #1129

@aaguilera

Description

@aaguilera

On Debian stable (bookworm), nagstamon 3.16.2 crashes with the following error:

Traceback (most recent call last):
  File "/usr/bin/nagstamon", line 45, in <module>
    from Nagstamon.QUI import (APP,
  File "/usr/lib/python3/dist-packages/Nagstamon/QUI/__init__.py", line 35, in <module>
    from .qt import *
  File "/usr/lib/python3/dist-packages/Nagstamon/QUI/qt.py", line 209, in <module>
    from PyQt6.QtMultimedia import QAudioOutput, \
ModuleNotFoundError: No module named 'PyQt6.QtMultimedia'

The error can be solved by installing the python3-pyqt6.qtmultimedia package.

I think in Debian-based distros, the nagstamon package should have the python3-pyqt6.qtmultimedia package as a required dependency so it will be installed automatically with nagstamon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions