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

Failed to start recording: Interaction was ended in some other way #202

Open
doums opened this issue Oct 31, 2022 · 9 comments
Open

Failed to start recording: Interaction was ended in some other way #202

doums opened this issue Oct 31, 2022 · 9 comments
Labels
Needs info Further information is requested

Comments

@doums
Copy link

doums commented Oct 31, 2022

System Info

- io.github.seadve.Kooha 2.2.2
- Flatpak: true
- Experimental: false

- Distribution: GNOME 43 (Flatpak runtime)
- Desktop Session: xmonad
- Display Server: X11

- GTK 4.8.2
- Libadwaita 1.2.0
- GStreamer 1.20.3
- Pipewire 0.3.57

Describe the bug
I tried from both flatpak and Arch Linux packages, both fail when I click on "Record" button, a new window opens "Failed to start recording" with the following error message:

Failed to start recording

Caused by:
    0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
    1: Failed to create ScreencastSession
    2: Failed to create session
    3: Interaction was ended in some other way with response VariantDict({})

To Reproduce
Steps to reproduce the behavior:

  1. open Kooha
  2. Click on 'Record'
  3. See error

Expected behavior
Should start recording

Additional context

2022-10-31T21:21:08.475228Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2022-10-31T21:21:08.475239Z  INFO kooha::application: Version: 2.2.2 ()
2022-10-31T21:21:08.475241Z  INFO kooha::application: Datadir: /app/share/kooha
2022-10-31T21:21:12.292422Z TRACE kooha::application: Settings `screencast-restore-token` changed to `''`
2022-10-31T21:21:12.348503Z DEBUG kooha::screencast_session: Waiting request response for method `CreateSession`
2022-10-31T21:21:12.348679Z DEBUG kooha::screencast_session: Request response received for method `CreateSession`
2022-10-31T21:21:12.348986Z ERROR kooha::window: Failed to start recording

Caused by:
    0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
    1: Failed to create ScreencastSession
    2: Failed to create session
    3: Interaction was ended in some other way with response VariantDict({})
Linux mitx 6.0.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 29 Oct 2022 14:08:39 +0000 x86_64 GNU/Linux

I'm running X11, no DE, just a window manager XMonad, picom as compositor.

Pipewire Multimedia Session Manager service is running (wireplumber).
xdg-desktop-portal is running.

I have no problem with others applications screencasting like firefox, discord, peek etc..

@Rafaelb4rros
Copy link

Rafaelb4rros commented Dec 17, 2022

i'm with the same problem. Everything is running great, i use i3 and picom.

@SeaDve
Copy link
Owner

SeaDve commented Feb 8, 2024

Hi, is this still reproducible in the latest version: 2.2.4?

@SeaDve SeaDve changed the title Failed to start recording Failed to start recording: Interaction was ended in some other way Feb 8, 2024
@SeaDve
Copy link
Owner

SeaDve commented Feb 8, 2024

The thing I notice in other bug reports and here is it seems to only happens with X11.

@SeaDve SeaDve added the Needs info Further information is requested label Feb 8, 2024
@doums
Copy link
Author

doums commented Feb 21, 2024

still does not work using flatpak version 2.2.4

Failed to start recording

Caused by:
    0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
    1: Failed to create ScreencastSession
    2: Failed to create session
    3: Failed to call `CreateSession` with parameters: Variant { ptr: 0x611f6d88d480, type: VariantTy { inner: "(a{sv})" }, value: "({'handle_token': <'kooha_3'>, 'session_handle_token': <'kooha_2'>},)" }
    4: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

@SeaDve

This comment was marked as off-topic.

@comalice
Copy link

Getting a similar issue on Arch Linux with KDE / i3wm.

Relevant versions:

- gstreamer 1.22.10-1
- pipewire 1:1.0.3-1
- Linux interlude 6.7.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 17 Feb 2024 14:02:33 +0000 x86_64 GNU/Linux
- i3-wm 4.23-1
- plasma-desktop 5.27.10-1
$ kooha
2024-02-28T18:25:22.029465Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-02-28T18:25:22.029482Z  INFO kooha::application: Version: 2.2.4 ()
2024-02-28T18:25:22.029486Z  INFO kooha::application: Datadir: /usr/share/kooha

(kooha:87527): Gtk-WARNING **: 13:25:22.237: Unknown key gtk-modules in /home/albert/.config/gtk-4.0/settings.ini

(kooha:87527): Adwaita-WARNING **: 13:25:22.379: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-02-28T18:25:24.878647Z ERROR kooha::window: Failed to start recording

Caused by:
    0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
    1: Failed to create ScreencastSession
    2: Failed to create session
    3: Interaction was ended in some other way with response Variant { ptr: 0x61689fafa9b0, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_154/kooha_0'>}" }

@Suero152
Copy link

Getting this issue in Manjaro KDE. Using X11

~ > kooha
2024-03-12T01:17:57.755812Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-03-12T01:17:57.755823Z  INFO kooha::application: Version: 2.2.4 ()
2024-03-12T01:17:57.755825Z  INFO kooha::application: Datadir: /usr/share/kooha

(kooha:4271): Adwaita-WARNING **: 22:17:57.967: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-03-12T01:18:00.390014Z ERROR kooha::window: Failed to start recording

Caused by:
    0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
    1: Failed to create ScreencastSession
    2: Failed to create session
    3: Interaction was ended in some other way with response Variant { ptr: 0x55ee9789a740, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_98/kooha_0'>}" }

@Suero152
Copy link

Getting this issue in Manjaro KDE. Using X11

~ > kooha
2024-03-12T01:17:57.755812Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-03-12T01:17:57.755823Z  INFO kooha::application: Version: 2.2.4 ()
2024-03-12T01:17:57.755825Z  INFO kooha::application: Datadir: /usr/share/kooha

(kooha:4271): Adwaita-WARNING **: 22:17:57.967: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-03-12T01:18:00.390014Z ERROR kooha::window: Failed to start recording

Caused by:
    0: Check out <a href="https://github.com/SeaDve/Kooha#-it-doesnt-work">It Doesn't Work page</a> for help.
    1: Failed to create ScreencastSession
    2: Failed to create session
    3: Interaction was ended in some other way with response Variant { ptr: 0x55ee9789a740, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_98/kooha_0'>}" }

Changing to Wayland solved my issue.

@kepiz
Copy link

kepiz commented May 26, 2024

Still not working on version 2.3.0
on Kubuntu

0: Failed to create session
1: Interaction was ended in some other way with response Variant { ptr: 0x55dd96c57be0, type: VariantTy { inner: "a{sv}" }, value: "{'session_handle': <'/org/freedesktop/portal/desktop/session/1_98/kooha_2'>}" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs info Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants