Skip to content

Instantly share code, notes, and snippets.

@SRomansky
Created October 27, 2014 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SRomansky/a0c4afd8c72a4bad40bc to your computer and use it in GitHub Desktop.
Save SRomansky/a0c4afd8c72a4bad40bc to your computer and use it in GitHub Desktop.
Build test failures.
bug 1 in test_plugins line 117
| #
| # Setup Audio Pipeline
| #
| if audio:
| audioqueue = gst.element_factory_make("queue", "audioqueue")
| bin.add(audioqueue)
|
| audioconvert = gst.element_factory_make("audioconvert", "audioconvert")
| bin.add(audioconvert)
|
| audiolevel = gst.element_factory_make('level', 'audiolevel')
| audiolevel.set_property('interval', 20000000)
| bin.add(audiolevel)
|
| audiocodec = gst.element_factory_make("vorbisenc", "audiocodec")
| bin.add(audiocodec)
|
| # Setup metadata
| vorbistag = gst.element_factory_make("vorbistag", "vorbistag")
| # set tag merge mode to GST_TAG_MERGE_REPLACE
| merge_mode = gst.TagMergeMode.__enum_values__[2]
|
| if metadata is not None:
| # Only set tag if metadata is set
| vorbistag.merge_tags(self.tags, merge_mode)
| vorbistag.set_tag_merge_mode(merge_mode)
| bin.add(vorbistag)
|
| # Setup ghost pads
| audiopad = audioqueue.get_pad("sink")
| audio_ghostpad = gst.GhostPad("audiosink", audiopad)
| bin.add_pad(audio_ghostpad)
|
| # Link Elements
| audioqueue.link(audioconvert)
| audioconvert.link(audiolevel)
| audiolevel.link(audiocodec)
| audiocodec.link(vorbistag)
| vorbistag.link(muxer)
|
| #
| # Setup Video Pipeline
| #
| if video:
| videoqueue = gst.element_factory_make("queue", "videoqueue")
| bin.add(videoqueue)
|
|> videocodec = gst.element_factory_make("vp8enc", "videocodec")
|E ElementNotFoundError: vp8enc
|
|freeseer/plugins/output/webm_output/__init__.py:110: ElementNotFoundError
|----------------------------------------------- Captured stderr ------------------------------------------------
|2014-10-27 16:57:25,859 ( DEBUG) freeseer.framework.plugin : First run scenario detected. Creati
|ng new configuration files.
|2014-10-27 16:57:25,903 ( INFO) freeseer.framework.plugin : Default plugins enabled.
|2014-10-27 16:57:25,903 ( DEBUG) freeseer.framework.plugin : Plugin manager initialized.
Bug 2:
|self = <freeseer.tests.frontend.controller.test_server.TestServerApp testMethod=test_post>
|
| def test_post(self):
| '''
| Tests a regular POST request
| '''
| self.assertTrue(len(self.recording.media_dict.keys()) == 0)
| data_to_send = {'filename': 'test'}
| response = self.app.post('/recordings', data=data_to_send)
| self.assertTrue(len(self.recording.media_dict.keys()) == 1)
| self.assertEqual(response.status_code, 201)
|> self.assertEqual(self.recording.media_dict.keys(), [1])
|E AssertionError: Lists differ: [0] != [1]
|E
|E First differing element 0:
|E 0
|E 1
|E
|E - [0]
|E + [1]
|
|freeseer/tests/frontend/controller/test_server.py:332: AssertionError
|----------------------------------------------- Captured stdout ------------------------------------------------
|/home/Stephen/Videos
|----------------------------------------------- Captured stderr ------------------------------------------------
|2014-10-27 16:57:34,671 ( DEBUG) freeseer.framework.plugin : First run scenario detected. Creati
|ng new configuration files.
|2014-10-27 16:57:34,713 ( INFO) freeseer.framework.plugin : Default plugins enabled.
|2014-10-27 16:57:34,714 ( DEBUG) freeseer.framework.plugin : Plugin manager initialized.
|2014-10-27 16:57:34,720 ( DEBUG) freeseer.framework.multimedia : Gstreamer initialized.
|2014-10-27 16:57:34,720 ( DEBUG) freeseer.framework.multimedia : Loading Output plugins...
|2014-10-27 16:57:34,721 ( DEBUG) freeseer.framework.multimedia : Loading Output: Ogg Output
|2014-10-27 16:57:34,721 ( INFO) freeseer.framework.multimedia : Set record name to test.ogg
|2014-10-27 16:57:34,722 ( DEBUG) freeseer.framework.multimedia : Loading Output: Video Preview
|2014-10-27 16:57:34,741 ( DEBUG) freeseer.framework.multimedia : Loading Audio Recording plugins...
|2014-10-27 16:57:34,741 ( DEBUG) freeseer.framework.multimedia : Loading Audio Mixer Input: Audio Te
|st Source-0
|2014-10-27 16:57:34,743 ( DEBUG) freeseer.framework.multimedia : Loading Video Recording plugins...
|2014-10-27 16:57:34,744 ( DEBUG) freeseer.framework.multimedia : Loading Video Mixer Input: Video Te
|st Source-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment