** Description changed:
-
[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]
- No regressions are expected.
+ The bug is fixed by replacing time.clock() with time.perf_counter(), as
+ can be seen in this patch:
+
+ https://salsa.debian.org/python-
+ team/applications/kazam/-/blob/master/debian/patches/perf_counter.patch
+
+ 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/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"))
(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/python3/dist-packages/kazam/frontend/preferences.py", line
256, in cb_audio2_changed
pa_audio2_idx = prefs.mic_sources[prefs.audio2_source][0]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/kazam/frontend/preferences.py", line
256, in cb_audio2_changed
pa_audio2_idx = prefs.mic_sources[prefs.audio2_source][0]
IndexError: list index out of range
help would be appreciated... Thank you
** Also affects: kazam (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: kazam (Ubuntu Focal)
Status: New => In Progress
** Changed in: kazam (Ubuntu Focal)
Assignee: (unassigned) => Dmitry Shachnev (mitya57)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876322
Title:
kazam on Focal: No audio recorded
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kazam/+bug/1876322/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs