trying to queue file with space in their name from command line fails

Bug #540604 reported by zebul666
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
Unassigned

Bug Description

when i try to queue file with space in their name from command line, it fails with an Exception:
$ exaile 01\ -\ Cecilia\ Ann.mp3
Traceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 52, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 49, in main
    exaile = main.Exaile()
  File "/usr/lib/exaile/xl/main.py", line 79, in __init__
    if xldbus.check_exit(self.options, self.args):
  File "/usr/lib/exaile/xl/xldbus.py", line 74, in check_exit
    iface.Enqueue(args)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.gio.Error: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/exaile/xl/xldbus.py", line 406, in Enqueue
    tracks += trax.get_tracks_from_uri(file)
  File "/usr/lib/exaile/xl/trax/util.py", line 54, in get_tracks_from_uri
    file_type = gloc.query_info("standard::type").get_file_type()
Error: Erreur de l'interrogation du fichier « /home/solstice/musique/Pixies/Bossanova/01 » : No such file or directory

it's the same if i use "" or '' instead of escaping the space.
it happends too if exaile is not already runnnig.

this broke queuing from gpodder

Revision history for this message
unmacaque (unmacaque) wrote :

Confirming this in the 0.3.1 release, the beta is not affected.

Revision history for this message
Martin Kozák (martinkozak) wrote :

And it worked in previous release. (Although cannot confirm now because have 3.1.0.)

Revision history for this message
zebul666 (zebul666) wrote :

I forgot to mention I use 0.3.1.0 and it was working fine with previous release. And it is still working fine with previous release 0.3.0.2

Revision history for this message
reacocard (reacocard) wrote :

should be fixed in trunk/2942

Changed in exaile:
importance: Undecided → High
milestone: none → 0.3.1.1
status: New → Fix Committed
Revision history for this message
zebul666 (zebul666) wrote :

It works !

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.