[gstreamer-bugs] [Bug 549879] New: gst-python managing sys.argv while it shouldn't
bugzilla-daemon at bugzilla.gnome.org
Fri Aug 29 15:50:21 PDT 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:
GStreamer | gst-python | Ver: 0.10.12
Summary: gst-python managing sys.argv while it shouldn't
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ElemonGW at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
As soon as the gst module is imported, it will check sys.argv and if it finds
--help in there it will print its own help message and then exit the
application. This is not proper, the user should be able to choose what to
print. I have attached a very simple example showing this problem.
Steps to reproduce:
1. Launch the attached example.py with the --help option
Only the first message will be printed.
Both messages should be printed and maybe gst shouldn't print anything at all
(unless the user has chosen otherwise, so it may be good to become an option
but printing its message shouldn't be enabled by default in my opinion)
Does this happen every time?
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=549879.
More information about the Gstreamer-bugs