Skip to content

[ERROR] [MainThread] [root/widget_builder.py:79]: Failed to import widget 'media' with default config.yaml #599

@tordenflesk

Description

@tordenflesk

Windows version

Windows 10

Windows OS build

22H2

YASB version installed

YASB Reborn v1.8.6 x64 (stable) YASB-CLI v1.1.4, via Scoop

Describe the bug

Media widget doesn't seem to work at all with the default config.

Relevant log output

2025-12-18 00:39:32,339 [ERROR] [MainThread] [root/widget_builder.py:79]: Failed to import widget 'media'
Traceback (most recent call last):
  File "D:\a\yasb\yasb\src\core\utils\widget_builder.py", line 71, in _build_widget
  File "D:\a\yasb\yasb\src\core\widgets\yasb\media.py", line 124, in __init__
  File "D:\a\yasb\yasb\src\core\widgets\yasb\media.py", line 1119, in _create_media_buttons
  File "D:\a\yasb\yasb\src\core\utils\utilities.py", line 846, in __call__
  File "D:\a\yasb\yasb\src\core\utils\widgets\media\media.py", line 74, in __init__
  File "D:\a\yasb\yasb\src\core\utils\widgets\media\media.py", line 123, in _run_setup
  File "C:\hostedtoolcache\windows\Python\3.14.0\x64\Lib\asyncio\runners.py", line 204, in run
  File "C:\hostedtoolcache\windows\Python\3.14.0\x64\Lib\asyncio\runners.py", line 127, in run
  File "C:\hostedtoolcache\windows\Python\3.14.0\x64\Lib\asyncio\base_events.py", line 719, in run_until_complete
  File "D:\a\yasb\yasb\src\core\utils\widgets\media\media.py", line 120, in _get_session_manager
  File "D:\a\yasb\yasb\venv\Lib\site-packages\winrt\runtime\_internals.py", line 245, in wait
OSError: [WinError -2147221164] Class not registered

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