software-center --help shows help from GStreamer

Bug #459895 reported by Sebastian "Nait" Kacprzak
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: software-center

software-center -h --help-all and other options shows help text from Gstreamer not from ubuntu software store. Probably remains from clipboard inheritance:)

example:

$ software-center --help
Użycie:
  software-center [OPCJA...] - GStreamer initialization

Opcje pomocy:
  -h, --help Wyświetla opcje pomocy
  --help-all Wyświetla wszystkie opcje pomocy
  --help-gst Pokaż opcje GStreamer

$ software-center --help-all
Użycie:
  software-center [OPCJA...] - GStreamer initialization

Opcje pomocy:
  -h, --help Wyświetla opcje pomocy
  --help-all Wyświetla wszystkie opcje pomocy
  --help-gst Pokaż opcje GStreamer

Opcje GStreamer
  --gst-version Wyświetl wersję GStreamer
  --gst-fatal-warnings Traktuj wszystkie ostrzeżenia jako krytyczne
  --gst-debug-help Wypisanie dostępnych kategorii diagnostyki i zakończenie
  --gst-debug-level=POZIOM Domyślny poziom diagnostyki od 1 (tylko błędy) do 5 (wszystko) lub 0 dla braku wyjścia
  --gst-debug=LISTA Rozdzielona przecinkami lista par nazwa_kategorii:poziom dla uzyskania określonych poziomów dla poszczególnych kategorii. Przykład: GST_AUTOPLUG:5,GST_ELEMENT_*:3
  --gst-debug-no-color Wyłączenie kolorowanego wyjścia diagnostycznego
  --gst-debug-disable Wyłączenie diagnostyki
  --gst-plugin-spew Włączenie szczegółowej diagnostyki wczytywania wtyczek
  --gst-plugin-path=ŚCIEŻKI Rozdzielone przecinkami ścieżki zawierające wtyczki
  --gst-plugin-load=WTYCZKI Rozdzielona przecinkami lista wtyczek do wczesnego wczytania obok listy zapisanej w zmiennej środowiskowej GST_PLUGIN_PATH
  --gst-disable-segtrap Wyłączenie przechwytywania błędów ochrony pamięci przy wczytywaniu wtyczek
  --gst-disable-registry-update Wyłączenie uaktualniania rejestru
  --gst-disable-registry-fork Wyłączenie użycia fork() przy przeszukiwaniu rejestru

$ software-center --gst-version Wyświetl wersję GStreamer
GStreamer Core Library version 0.10.25
same as for example
$ gstreamer-properties --gst-version Wyświetl wersję GStreamer
GStreamer Core Library version 0.10.25

Revision history for this message
István Nyitrai (sianis) wrote :

Confirmed.

The problem is in file software-center line 33: import gst. It setups the %prog variable. Does we real need this line?

Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Still a problem in Lucid. It actually doesn't stem from %prog, since you can remove the references to %prog and still get this error. I think may be going on is that, for some reason, the program never even gets to the point of initializing the correct option parser if called with -h or --help, and instead gst's option parser runs.

Revision history for this message
Kiwinote (kiwinote) wrote :

Hi Sebastian! Thanks for your bug report. The bug you describe has been fixed in the latest development version of software-center. Please continue to report any bugs you may find in software-center. Thanks again for your help!

Changed in software-center (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.