- Ensure that gstreamer1.0-alsa is NOT installed. It's not installed by default on Ubuntu flavours such as kubuntu or xubuntu. If you're running vanilla Ubuntu, you can sudo apt-get remove gstreamer1.0-alsa.
- Run this command:
PATH=$PATH:/usr/share/checkbox/scripts alsa_record_playback
- Expected result:
Sound is recorded from the microphone for a few seconds, then played back through the speakers/headphones.
Actual result:
$ PATH=$PATH:/usr/share/checkbox/scripts alsa_record_playback
Traceback (most recent call last):
File "/usr/share/checkbox/scripts/gst_pipeline_test", line 59, in <module>
sys.exit(main())
File "/usr/share/checkbox/scripts/gst_pipeline_test", line 42, in main
element = Gst.parse_launch(args.PIPELINE)
File "/usr/lib/python3/dist-packages/gi/types.py", line 113, in function
return info.invoke(*args, **kwargs)
gi._glib.GError: no element "alsasrc"
/tmp/tmp.FcbJd1DjLy/test.wav: No such file or directory
rm: cannot remove ‘/tmp/tmp.FcbJd1DjLy/test.wav’: No such file or directory
How to reproduce this bug:
- Ensure that gstreamer1.0-alsa is NOT installed. It's not installed by default on Ubuntu flavours such as kubuntu or xubuntu. If you're running vanilla Ubuntu, you can sudo apt-get remove gstreamer1.0-alsa.
- Run this command: /usr/share/ checkbox/ scripts alsa_record_ playback headphones.
PATH=$PATH:
- Expected result:
Sound is recorded from the microphone for a few seconds, then played back through the speakers/
Actual result: /usr/share/ checkbox/ scripts alsa_record_ playback checkbox/ scripts/ gst_pipeline_ test", line 59, in <module> exit(main( )) checkbox/ scripts/ gst_pipeline_ test", line 42, in main launch( args.PIPELINE) python3/ dist-packages/ gi/types. py", line 113, in function FcbJd1DjLy/ test.wav: No such file or directory FcbJd1DjLy/ test.wav’ : No such file or directory
$ PATH=$PATH:
Traceback (most recent call last):
File "/usr/share/
sys.
File "/usr/share/
element = Gst.parse_
File "/usr/lib/
return info.invoke(*args, **kwargs)
gi._glib.GError: no element "alsasrc"
/tmp/tmp.
rm: cannot remove ‘/tmp/tmp.