Command line errors

Bug #607019 reported by C. Williams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Listen
Fix Committed
Undecided
Unassigned

Bug Description

When I run "listen --help", only the gstreamer options are displayed. There is no mention of --play, --queue and the other options in option_parser.py. Additionally, I get an error when I try to use "listen --play" or "listen --queue". I am using Listen 0.6.5, Python 2.6.4 and GStreamer 0.10.22 on CrunchBang 9.04

For example:

[listen-0.6.5] listen --help-all
Usage:
  listen [OPTION...] - GStreamer initialization

Help Options:
  -h, --help Show help options
  --help-all Show all help options
  --help-gst Show GStreamer Options

GStreamer Options
  --gst-version Print the GStreamer version
  --gst-fatal-warnings Make all warnings fatal
  --gst-debug-help Print available debug categories and exit
  --gst-debug-level=LEVEL Default debug level from 1 (only error) to 5 (anything) or 0 for no output
  --gst-debug=LIST Comma-separated list of category_name:level pairs to set specific levels for the individual categories. Example: GST_AUTOPLUG:5,GST_ELEMENT_*:3
  --gst-debug-no-color Disable coloured debugging output
  --gst-debug-disable Disable debugging
  --gst-plugin-spew Enable verbose plugin loading diagnostics
  --gst-plugin-path=PATHS Colon-separated paths containing plugins
  --gst-plugin-load=PLUGINS Comma-separated list of plugins to preload in addition to the list stored in environment variable GST_PLUGIN_PATH
  --gst-disable-segtrap Disable trapping of segmentation faults during plugin loading
  --gst-disable-registry-update Disable updating the registry
  --gst-disable-registry-fork Disable the use of fork() while scanning the registry

And:

[listen-0.6.5] listen --play /home/user/Mykonos.mp3

(listen:3840): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideo4linux.so': /usr/lib/libgudev-1.0.so.0: undefined symbol: udev_monitor_filter_add_match_subsystem_devtype
/usr/lib/pymodules/python2.6/musicbrainz2/model.py:21: DeprecationWarning: the sets module is deprecated
  from sets import Set
location: /usr/lib/xulrunner-1.9.0.11/libxpcom.so
before 3
Listen is already running
Traceback (most recent call last):
  File "listen", line 213, in <module>
    ListenApp()
  File "listen", line 149, in __init__
    self.option.run_load()
  File "/usr/lib/listen/option_parser.py", line 152, in run_load
    ret = listen_dbus_interface.play(self.convert_args_to_uris_string(self.options.file_to_play))
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/listen/dbus_manager.py", line 85, in play
    self.win.playlist_ui.playlist.play_uris, pos=None, sort=True)
AttributeError: 'ListenDBus' object has no attribute 'win'

I believe lines 85 and 99 of dbus_manager.py use the variable "self.win" when it is defined in lines 82 and 96 as simply "win" and I was able to fix the second problem by changing this.

C. Williams (cewilliams)
description: updated
description: updated
description: updated
Mehdi Abaakouk (sileht)
Changed in listen:
status: New → Fix Committed
milestone: none → 0.6.6
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.