Skip to content

"No working capture handler found for your system." #838

@Fleafa

Description

@Fleafa

What happened?

It has been a while since I used Plasma (CachyOS as I installed it), but I'm sure it was working there. Using Niri (installed alongside Plasma), NormCap quits due to errors.

How did you install NormCap?

FlatPak (Linux)

Operating System + Version?

CachyOS (installed as Plasma version)

[Linux only] Display Server (DS) + Desktop environment (DE)?

Wayland + Niri

Debug log output?*

~> flatpak run com.github.dynobo.normcap  

10:41:57 - ERROR   - normcap.screenshot.main:44 - No working capture handler found for your system. The preferred handler on your system would be DBUS_PORTAL but can't be used due to missing dependencies.  

10:41:57 - CRITICAL - normcap:200 - Uncaught exception!
Traceback (most recent call last):
  File "/app/bin/normcap", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/app/lib/python3.12/site-packages/normcap/app.py", line 120, in run
    app, tray = _prepare()
                ^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/normcap/app.py", line 113, in _prepare
    tray = SystemTray(app, vars(args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/normcap/gui/tray.py", line 124, in __init__
    if screenshot.has_screenshot_permission():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/normcap/screenshot/permissions.py", line 220, in has_screenshot_permission
    raise RuntimeError(
RuntimeError: Could not identify a screenshot method for this system configuration.  

10:41:57 - CRITICAL - normcap:203 - System info: {'normcap_version': '0.6.0', 'python_version': '3.12.12', 'cli_args': '/app/bin/normcap', 'is_briefcase_package': False, 'is_flatpak_package': True, 'is_appimage_package': False, 'platform': 'linux', 'desktop_environment': <DesktopEnvironment.OTHER: 1>, 'display_manager_is_wayland': True, 'pyside6_version': '6.9.2', 'qt_version': '6.9.2', 'qt_library_path': '/usr/share/runtime/lib/plugins, /app/lib/python3.12/site-packages/PySide6/Qt/plugins, /usr/bin', 'locale': 'DEFAULT', 'config_directory': PosixPath('/home/ben/.var/app/com.github.dynobo.normcap/config/normcap'), 'resources_path': PosixPath('/app/lib/python3.12/site-packages/normcap/resources'), 'tesseract_path': PosixPath('/app/bin/tesseract'), 'tessdata_path': PosixPath('/home/ben/.var/app/com.github.dynobo.normcap/config/normcap/tessdata'), 'envs': {'TESSDATA_PREFIX': '/app/share', 'LD_LIBRARY_PATH': ''}, 'screens': [Screen(left=0, top=0, right=1535, bottom=863, device_pixel_ratio=2.0, index=0, screenshot=<PySide6.QtGui.QImage(null) at 0x7f164f5b3340>)]}  

10:41:57 - CRITICAL - normcap:204 - Unfortunately, NormCap has to be terminated due to an unknown problem.
Please help improve NormCap by reporting this error, including the output above, on
https://github.com/dynobo/normcap/issues/new
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds confirmation and priotization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions