SeaDve / Kooha

Elegantly record your screen
GNU General Public License v3.0
2.63k stars 70 forks source link

Error if I stop recording with button on the panel #309

Closed adamantinum closed 3 months ago

adamantinum commented 3 months ago

Affected version 2.3.0 DE: GNOME OS: Arch Linux

Bug summary

I start recording a video, if I stop recording pressing the button on the top panel, I get an error.

Caused by:
    0: ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3177): gst_base_src_loop (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstPipeWireSrc:pipewiresrc0:
       streaming stopped, reason not-negotiated (-4)
    1: Internal data stream error. 

If I stop recording using the button inside the application, everything works.

  1. Start recording
  2. Stop recording pressing the button on the top panel

Expected behavior Recording stops Relevant logs, screenshots, screencasts, etc.

2024-07-30T14:15:47.747102Z ERROR kooha::window: Si è verificato un errore durante la registrazione

Caused by:
    0: ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3177): gst_base_src_loop (): /GstPipeline:pipeline0/GstBin:kooha-pipewiresrc-bin/GstPipeWireSrc:pipewiresrc0:
       streaming stopped, reason not-negotiated (-4)
    1: Internal data stream error.

Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: g_main_context_iteration
   6: g_application_run
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: __libc_start_main
  12: <unknown>
2024-07-30T14:15:47.780145Z  WARN kooha::recording: Failed to close screencast session: Failed to invoke Close on the session

Caused by:
    GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L'oggetto non esiste nel percorso «/org/freedesktop/portal/desktop/session/1_168/kooha_0»

Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: g_main_context_iteration
   5: g_application_run
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: __libc_start_main
  11: <unknown>
SeaDve commented 3 months ago

Thanks for reporting. This particular issue has already been reported, so this report is being marked as a duplicate.

See https://github.com/SeaDve/Kooha/issues/287

adamantinum commented 3 months ago

Sorry, I had searched but I had not found that issue.

SeaDve commented 3 months ago

No worries