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

getting an error on arch #73

Open
ferdinandyb opened this issue Jan 11, 2025 · 0 comments
Open

getting an error on arch #73

ferdinandyb opened this issue Jan 11, 2025 · 0 comments
Assignees

Comments

@ferdinandyb
Copy link

I'm getting this both for python 3.12 and 3.13. I installed with pipx install kazam, altough the AUR package had the same issues. Starting kazam and then trying to start a recording gives me the following traceback:

❯ kazam --debug
Gtk-Message: 00:40:33.974: Failed to load module "colorreload-gtk-module"
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: cachyos rolling
DEBUG Kazam - Kazam version: 2.0.0 Jammy
DEBUG Kazam - Starting new instance ...
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Prefs-HW - Getting hardware specs
DEBUG Webcam - Initializing webcam support.
DEBUG Webcam -   Webcam found: HP HD Camera: HP HD Camera
DEBUG Webcam -   Webcam found: HP HD Camera: HP HD Camera
DEBUG Prefs-HW - Getting Video sources.
DEBUG Prefs-HW - Found 1 monitor(s).
DEBUG Prefs-HW -   Monitor 0 - X: 0, Y: 0, W: 1920, H: 1080, scale: 1
DEBUG Webcam -   Webcam found: HP HD Camera: HP HD Camera
DEBUG Webcam -   Webcam found: HP HD Camera: HP HD Camera
/home/fbence/.local/share/pipx/venvs/kazam/lib/python3.13/site-packages/kazam/frontend/indicator.py:153: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.r
equire_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3
DEBUG Main - Gstreamer version detected: 1.24.11.0
/home/fbence/.local/share/pipx/venvs/kazam/lib/python3.13/site-packages/kazam/data/icons/scalable
DEBUG Main - Setting variables.
DEBUG PulseAudio - Starting mainloop.
DEBUG PulseAudio - Getting API.
DEBUG PulseAudio - Setting context.
DEBUG PulseAudio - Set state callback.
DEBUG PulseAudio - Connecting to server.
DEBUG PulseAudio - Start mainloop.
DEBUG PulseAudio - State connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Starting in silent mode: False
DEBUG Indicator - Indicatior silent: False
DEBUG Indicator - Trying to bind hotkeys.
** (kazam:349456): WARNING **: 00:40:34.147: Binding '<Super><Ctrl>R' failed!

** (kazam:349456): WARNING **: 00:40:34.148: Binding '<Super><Ctrl>Q' failed!
DEBUG KeypressViewer - Creating KeypressViewer.
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Gtk.Adjustment object at 0x7de604284780 (GtkAdjustment at 0x6207628e5110)>'

(kazam:349456): Gtk-WARNING **: 00:40:34.205: Can't set a parent on widget which has a parent

(kazam:349456): Gtk-WARNING **: 00:40:34.212: Can't set a parent on widget which has a parent
DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio -   IDX: 54
DEBUG PulseAudio -   Name: b'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
DEBUG PulseAudio -   Desc: b'Monitor of Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio -   IDX: 55
DEBUG PulseAudio -   Name: b'alsa_input.pci-0000_00_1f.3.analog-stereo'
DEBUG PulseAudio -   Desc: b'Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs -  Device found:
DEBUG Prefs -   - 54
DEBUG Prefs -   - alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
DEBUG Prefs -   - Monitor of Built-in Audio Analog Stereo
DEBUG Prefs -  Device found:
DEBUG Prefs -   - 55
DEBUG Prefs -   - alsa_input.pci-0000_00_1f.3.analog-stereo
DEBUG Prefs -   - Built-in Audio Analog Stereo
DEBUG Main - Toggled chk_cursor: True.
DEBUG Main - Toggled chk_cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Start delay now: 5

(kazam:349456): Gdk-CRITICAL **: 00:40:34.373: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
DEBUG Main - Record clicked, invoking Screencast.
DEBUG Main - Running Counter.
DEBUG GStreamer - Audio_source : None
DEBUG GStreamer - Audio2_source : None
DEBUG GStreamer - Video_source: {'x': 0, 'y': 0, 'width': 1920, 'height': 1080, 'scale': 1}
DEBUG GStreamer - Xid: None
DEBUG GStreamer - Area: None
DEBUG GStreamer - Capture Cursor: True
DEBUG GStreamer - Framerate : 15.0
DEBUG GStreamer - ximagesrc selected as video source.
DEBUG GStreamer - Coordinates SX: 0 SY: 0 EX: 1919 EY: 1079
DEBUG GStreamer - Testing for xid: None
Traceback (most recent call last):
  File "/home/fbence/.local/share/pipx/venvs/kazam/lib/python3.13/site-packages/kazam/app.py", line 780, in cb_record_clicked
    self.run_counter()
    ~~~~~~~~~~~~~~~~^^
  File "/home/fbence/.local/share/pipx/venvs/kazam/lib/python3.13/site-packages/kazam/app.py", line 1107, in run_counter
    ret = self.recorder.setup_sources(video_source,
                                audio_source,
    ...<3 lines>...
                                audio_channels,
                                audio2_channels)
  File "/home/fbence/.local/share/pipx/venvs/kazam/lib/python3.13/site-packages/kazam/backend/gstreamer.py", line 109, in setup_sources
    ret = self.setup_video_source()
  File "/home/fbence/.local/share/pipx/venvs/kazam/lib/python3.13/site-packages/kazam/backend/gstreamer.py", line 215, in setup_video_source
    self.video_src.set_property("startx", startx)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'set_property'

Any idea what could be the cause?

@henrywoo henrywoo self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants