[Python-apps-team] Bug#955817: kazam: Fails to get audio sources from pulseaudio with python3.8
Roberto
riba21 at gmail.com
Sun Apr 5 11:26:08 BST 2020
Package: kazam
Version: 1.4.5-3
Severity: important
Tags: upstream
Dear Maintainer,
Kazam fails to get audio sources from pulseaudio with python3.8.
The function time.clock() has been removed, after having been deprecated since
Python 3.3: use time.perf_counter() or time.process_time() instead.
Replacing time.clock() with time.perf_counter() in pulseaudio.py file solves
the problem.
Bebug before changes:
user at pc:~$ kazam --debug
WARNING Kazam - Failed to correctly detect operating system.
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 12.10
DEBUG Kazam - Kazam version: 1.4.5 NCC-80102
DEBUG Kazam - Starting new instance ...
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Prefs-HW - Getting hardware specs
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
DEBUG Main - Gstreamer version detected: 1.16.2.0
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:8174): WARNING **: 12:19:15.613: Binding '<Super><Ctrl>F' failed!
** (kazam:8174): WARNING **: 12:19:15.614: Binding '<Super><Ctrl>P' failed!
DEBUG Main - Main Window UI setup.
/usr/lib/python3/dist-packages/kazam/app.py:145: Warning: value "((GtkIconSize)
32)" of type 'GtkIconSize' is invalid or out of range for property 'icon-size'
of type 'GtkIconSize'
self.builder.add_from_file(os.path.join(prefs.datadir, "ui", "kazam.ui"))
DEBUG Main - Unable to get name for '<Gtk.Adjustment object at 0x7f8cf4cb6b40
(GtkAdjustment at 0x24ca560)>'
(kazam:8174): Gtk-WARNING **: 12:19:15.699: Can't set a parent on widget which
has a parent
(kazam:8174): Gtk-WARNING **: 12:19:15.717: Can't set a parent on widget which
has a parent
DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - Unable to get audio sources.
WARNING Prefs - Unable to find any audio devices.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 0
DEBUG PulseAudio - Name:
b'alsa_input.usb-046d_HD_Pro_Webcam_C920_6768241F-02.analog-stereo'
DEBUG PulseAudio - Desc: b'OrbiCam Est\xc3\xa9reo Anal\xc3\xb3gico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Audio Interno Digital Stereo (HDMI)'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 2
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_1f.3.analog-stereo'
DEBUG PulseAudio - Desc: b'Audio Interno Est\xc3\xa9reo Anal\xc3\xb3gico'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Main - Capture cursor: True.
DEBUG Main - Capture microphone: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Quit requested.
DEBUG PulseAudio - Disconnecting from server.
DEBUG Kazam - Finishing ...
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages kazam depends on:
ii gir1.2-gst-plugins-base-1.0 1.16.2-dmo3
ii gir1.2-gstreamer-1.0 1.16.2-2
ii gir1.2-keybinder-3.0 0.3.2-1+b1
ii gir1.2-wnck-3.0 3.36.0-1
ii gnome-session-canberra 0.30-7
ii gstreamer1.0-plugins-base 1.16.2-dmo3
ii gstreamer1.0-plugins-good 1.16.2-dmo1
ii gstreamer1.0-plugins-ugly 1:1.16.2-dmo2
ii gstreamer1.0-pulseaudio 1.16.2-dmo1
ii python3 3.8.2-2
ii python3-cairo 1.16.2-2
ii python3-dbus 1.2.16-1
ii python3-gi 3.36.0-1
ii python3-gi-cairo 3.36.0-1
ii python3-xdg 0.26-1
Versions of packages kazam recommends:
ii gstreamer1.0-libav 1:1.16.2-dmo2
kazam suggests no packages.
-- no debconf information
More information about the Python-apps-team
mailing list