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:
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1059544

Title:
  checkbox should depends on gstreamer1.0-alsa

To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/1059544/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to