[Bug 777998] New: Bins can not be parsed when system language is German

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 31 18:59:23 UTC 2017


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

            Bug ID: 777998
           Summary: Bins can not be parsed when system language is German
    Classification: Platform
           Product: GStreamer
           Version: 1.8.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ruben.perez at uni-koeln.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,

This is my first time here, so I hope I do everything all right. I'll try to
make it short and to the point.

We are using a recording program called "Galicaster", which uses the Python
bindings for Gstreamer. We run the program (as recommended) in Ubuntu 16.04, so
the Gstreamer version is the latest shipped with that OS version (specifically,
the package version is 1.8.2-1~ubuntu1).

We found out that, in some computers, the program would fail with the following
error:

gst_parse_error: Kein Behälter »Behälter« - Elemente werden entpackt (1)

, which roughly translates to "No bin 'bin' - Elements are unpacked (1)". The
error only happens when the system language in the computer running the program
is German. If the system language is English or Spanish (we did not test any
others), the error does not appear.

We tracked down the source of the error to the following (Python) code line:

   bin = Gst.parse_launch("( {} )".format(string_description))

In order to create a pipeline, the program parses different parts of it as bins
from a text description. For legacy reasons (there used to be a resource leak
in the function parse_bin_from_description in gstreamer 0.10 when the program
was first written), the function "parse_launch" is used, where the description
is enclosed in parentheses to convert it into a bin. If we change the line
above to:

   bin = Gst.parse_bin_from_description(string_description, False)

, then the issue disappears.

We subsequently made sure that the problem was in Gstreamer, and not in its
bindings, by running the following command:

   gst-launch-1.0 \( videotestsrc ! autovideosink \)

, which yielded the same result:

   WARNUNG: Fehlerhafte Leitung: Kein Behälter »Behälter« - Elemente werden
entpackt


My guess is that the German l10n went to far and incorrectly translated an
appearance of "bin" that did not represent a name but a class or variable name.

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