[gstreamer-bugs] [Bug 340079] gst-launch wrapper fails with 'No version of tool gst-launch not found'

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Apr 29 16:16:17 PDT 2006

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
 GStreamer | gstreamer (core) | Ver: 0.10.5

Tim-Philipp Müller changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
            Summary|gst-launch error: No version|gst-launch wrapper fails
                   |of tool gst-launch not found|with 'No version of tool
                   |                            |gst-launch not found'
   Target Milestone|HEAD                        |0.10.6

------- Comment #1 from Tim-Philipp Müller  2006-04-29 23:16 UTC -------

> ** (gst-launch:9440): WARNING **: Could not open dir
> /usr/lib/jvm/jre-1.5.0-sun/bin/java: Error opening directory
> '/usr/lib/jvm/jre-1.5.0-sun/bin/java': No such file or directory
> (gst-launch:9440): GLib-CRITICAL **: g_hash_table_foreach: assertion
> `hash_table
> != NULL' failed
> ERROR: No version of tool gst-launch not found.
> ===> Comments <===
> I find the error messages preplexing, since:
> $ ls -l /usr/lib/jvm/jre-1.5.0-sun/bin/java
>   -rwxr-xr-x 1 root root 68896 Jan 26 11:47 /usr/lib/jvm/jre-1.5.0-sun/bin/java

The file does exist, but it is not a directory (PATH is supposed to contain
directories AFAIK). However, the test in the gst-launch wrapper isn't entirely
correct, it should just skip this entry.

Should be fixed in CVS:

 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>

        * tools/gst-run.c: (get_candidates), (main):
          Fix wrong g_file_test() usage (see glib docs for why it doesn't
          work); fix typo in error message. Fixes #340079.

Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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