Command line adding broken

Bug #517974 reported by unmacaque
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
Unassigned

Bug Description

Adding files and folders to playlist via command line is working incorrectly in 0.31b as well as of r2788. It only works when Exaile is not already started. Trying to add to an opened instance sometimes produces only the first line below, other times the full traceback is printed.

['/home/andy/Music/Example.ogg']
Traceback (most recent call last):
  File "/usr/local/lib/exaile/exaile.py", line 52, in <module>
    main()
  File "/usr/local/lib/exaile/exaile.py", line 49, in main
    exaile = main.Exaile()
  File "/usr/local/lib/exaile/xl/main.py", line 79, in __init__
    if xldbus.check_exit(self.options, self.args):
  File "/usr/local/lib/exaile/xl/xldbus.py", line 75, in check_exit
    iface.Enqueue(args)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: 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/local/lib/exaile/xl/xldbus.py", line 382, in Enqueue
    tracks = trax.sort_tracks([column], tracks)
  File "/usr/local/lib/exaile/xl/trax/util.py", line 79, in sort_tracks
    return sorted(trackiter, key=keyfunc, reverse=reverse)
  File "/usr/local/lib/exaile/xl/trax/util.py", line 78, in <lambda>
    artist_compilations=artist_compilations) for field in fields]
  File "/usr/local/lib/exaile/xl/trax/track.py", line 447, in get_tag_sort
    sorttag = self.__tags.get(tag + "sort")
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

reacocard (reacocard)
Changed in exaile:
importance: Undecided → High
milestone: none → 0.3.1
status: New → Confirmed
Revision history for this message
reacocard (reacocard) wrote :

should be fixed in trunk/2860.

Changed in exaile:
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → 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.