[gstreamer-bugs] [Bug 517350] New: gst-python tests fail on Solaris

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Feb 18 16:33:00 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=517350

  GStreamer | gst-python | Ver: HEAD CVS
           Summary: gst-python tests fail on Solaris
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: opensolaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: brian.cameron at sun.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


In the testsuite directory, I run "make check", and I see these errors

----

Traceback (most recent call last):
  File
"/export/home/brianca/packages/BUILD/gst-python-0.10.10/testsuite/test_interface.py",
line 49, in setUp
    self.mixer = gst.element_factory_make('alsasrc', '')
ElementNotFoundError: alsasrc

----

On Solaris, we support OSS and SunAudio.  It seems bad that the testsuite only
works with ALSA.  If I change the alsasrc reference to osssrc, it still doesn't
work with these errors:

AttributeError: '__main__.GstOssSrc' object has no attribute
'probe_get_properties'
AttributeError: '__main__.GstOssSrc' object has no attribute
'probe_get_property'
AttributeError: '__main__.GstOssSrc' object has no attribute
'probe_get_values_name'

I see similar errors if I try changing it to sunaudiosrc.

-----

I also notice ALSA is hardcoded into the GStreamer Pipeline tester in
examples/pipeline-tester.  Note test "Sound capture via ALSA" and "Reencode
Vorbis to mulaw, play via ALSA", and "Streaming Ogg/Theora+Vorbis playback, tee
to disk.  Shouldn't these tests check whatever sink & source you have defined
on the system and use those?  These tests seem to work okay if I hardcode them
to use osssrc and osssink rather than the ALSA ones.

I also see a few problems running pipeline-tester:

The "Software scaling" test complains "Could not create pipeline.  could not
link videoscale1 to ximagesink3.  Not sure why this is failing.

The "Reencode Vorbis to mulaw, play via alsa" does not work if you run the
/usr/share/gst-python/0.10/examples/pipeline-tester (rather than running the
version in the source tree), complaining it can't find the file cooldance.ogg
Considering the file is only 74K (only twice as large as the remuxer.py
example), perhaps installing this ogg file to the examples directory would be 
nice.

The "Streaming Ogg/Theora+Vorbis playback, tee to disk" test fails if you run
it from a directory where you don't have write permissions, like if you cd to
/usr/share/gst-python/0.10/examples, and run pipeline-tester.  Might be nice if
the test did a change-directory into the /tmp directory or something to do this
test.

The V4L and DV tests only work if you have these plugins installed, which are
not present currently on Solaris.  Might be nice to disable these choices if
the plugins are not present.

Whenever some tests fail (such as the "Streaming Ogg/Theora+Vorbis playback,
tee to disk" failure mentioned above), the Stop button doesn't change to a Play 
button.  This is annoying since it means you have to stop and restart the test 
program to run any further tests.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=517350.




More information about the Gstreamer-bugs mailing list