[Bug 783551] New: gst-validate-launcher aborts in call to "which" when gst-rtsp-server not installed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 8 16:12:45 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783551

            Bug ID: 783551
           Summary: gst-validate-launcher aborts in call to "which" when
                    gst-rtsp-server not installed
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-devtools
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ullysses.a.eoff at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

AFAICT, gst-validate-launcher should be able to run without gst-rtsp-server. 
However, if validate is compiled without gst-rtsp-server support, then
gst-validate-launcher program fails to run at all.

gst-devtools (master) heads/master-0-g6772fa7d275b

gst-validate-launcher validate --sync
gst-validate-launcher validate --sync --validate-disable-rtsp 1

Traceback (most recent call last):
  File "/home/uaeoff/Work/workspace/media/install/bin/gst-validate-launcher",
line 69, in <module>
    exit(main(libsdir))
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/main.py",
line 568, in main
    if tests_launcher.needs_http_server() or options.httponly is True:
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/baseclasses.py",
line 1651, in needs_http_server
    if tester.needs_http_server():
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/apps/gstvalidate.py",
line 915, in needs_http_server
    for test in self.list_tests():
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/apps/gstvalidate.py",
line 794, in list_tests
    for test in generator.generate_tests(uris, scenarios):
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/apps/gstvalidate.py",
line 214, in generate_tests
    uri_minfo_special_scenarios, scenarios)
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/baseclasses.py",
line 1335, in generate_tests
    self.populate_tests(uri_minfo_special_scenarios, scenarios)
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/apps/gstvalidate.py",
line 293, in populate_tests
    test_rtsp = which(GST_VALIDATE_RTSP_SERVER_COMMAND)
  File
"/home/uaeoff/Work/workspace/media/install/lib/gst-validate-launcher/python/launcher/utils.py",
line 112, in which
    p = os.path.join(p, name)
  File "/usr/lib64/python3.5/posixpath.py", line 89, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/lib64/python3.5/genericpath.py", line 143, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list