kazam on Focal: No audio recorded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kazam (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Dmitry Shachnev |
Bug Description
[Impact]
* Kazam does not detect audio devices when running with Python 3.8
* Recording of audio does not work in Kazam
[Test Case]
* Run Kazam on a system with PulseAudio
* Check if audio devices have been detected, they must be listed in the GUI in settings of audio
* Check if console output contains "Unable to find any audio devices"
[Regression Potential]
The bug is fixed by replacing time.clock() with time.perf_
The old method was deprecated since Python 3.3, and completely removed in Python 3.8. So by replacing it with the new method, we are definitely not making the situation worse. So no regressions are expected (if for some reason the new method is not working properly, it won't be a regression).
[Other info]
Original bug description:
Hello,
I upgraded from Ubuntu 19.10 to 20.04. The process completed without any problem.
I meet a bug to execute kazam ( version 1.4.5-3 ) : No audio recoded with images : the video has no audio track. This occurson 2 differents computers ( where bug only appeared after upgrading to 20.04 )
No audio recorded even if i select Speaker and/or microphone boxes.
So I tried to configure the audio devices : in the preferences interface, it's impossible to select any of sound sources for recording, nor Speakers otr Microphones ( see screenshot : empty or unknown labels... )
And on one machine, trying to select devices with audio preferences conducts to crash Kazam.
Executing Kazam through the command line presents a warning about "Unable to find any audio devices" :
WARNING Kazam - Failed to correctly detect operating system.
/usr/lib/
self.
(kazam:29121): Gtk-WARNING **: 16:10:18.525: Can't set a parent on widget which has a parent
(kazam:29121): Gtk-WARNING **: 16:10:18.534: Can't set a parent on widget which has a parent
WARNING Prefs - Unable to find any audio devices.
Traceback (most recent call last):
File "/usr/lib/
pa_audio2_idx = prefs.mic_
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/lib/
pa_audio2_idx = prefs.mic_
IndexError: list index out of range
help would be appreciated... Thank you
description: | updated |
description: | updated |
Changed in kazam (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Dmitry Shachnev (mitya57) |
Status changed to 'Confirmed' because the bug affects multiple users.