Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normcap not working on Ubuntu 24.10 #666

Open
Hyphaed opened this issue Oct 29, 2024 · 0 comments
Open

normcap not working on Ubuntu 24.10 #666

Hyphaed opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working triage Needs confirmation and priotization

Comments

@Hyphaed
Copy link

Hyphaed commented Oct 29, 2024

What happened?

I'm running normcap from flathub

seems error is related with qt libraries

How did you install NormCap?

None

Operating System + Version?

No response

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

No response

Debug log output?*

`(base) ferran@z590i:~/Documents/PersonalPackages/normcap$ flatpak run com.github.dynobo.normcap     
F: Not sharing "/usr/share" with sandbox: Path "/usr" is reserved by Flatpak
F: Not sharing "/usr/share/themes" with sandbox: Path "/usr" is reserved by Flatpak
10:08:10 - ERROR   - normcap.screengrab.handlers.dbus_portal:127 - Permission denied for Screenshot via xdg-portal! Message: <PySide6.QtDBus.QDBusMessage(type=Signal, service=":1.72", path="/org/freedesktop/portal/desktop/request/1_362/normcap_gcfaeefd", interface="org.freedesktop.portal.Request", member="Response", signature="ua{sv}", contents=(2, [Argument: a{sv} {}]) ) at 0x7ba40c466900>
10:08:10 - WARNING - normcap.screengrab.permissions:202 - Screenshot permissions on Wayland seem missing.
Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/normcap/screengrab/permissions.py", line 200, in _dbus_portal_has_screenshot_permission
    result = dbus_portal.capture()
             ^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/normcap/screengrab/handlers/dbus_portal.py", line 242, in capture
    image = _synchronized_capture(interactive=False)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/normcap/screengrab/handlers/dbus_portal.py", line 198, in _synchronized_capture
    raise error
PermissionError: Permission denied for Screenshot via xdg-portal! Message: <PySide6.QtDBus.QDBusMessage(type=Signal, service=":1.72", path="/org/freedesktop/portal/desktop/request/1_362/normcap_gcfaeefd", interface="org.freedesktop.portal.Request", member="Response", signature="ua{sv}", contents=(2, [Argument: a{sv} {}]) ) at 0x7ba40c466900>
10:08:12 - ERROR   - normcap:181 - [QT] qtfatalmsg - cannot mix incompatible qt library (6.7.3) with this library (6.7.0)
`
@Hyphaed Hyphaed added bug Something isn't working triage Needs confirmation and priotization labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs confirmation and priotization
Projects
None yet
Development

No branches or pull requests

1 participant