← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1228125] Re: --file= breaks with spaces and single quotes in filename

 

Ups, nevermind, I've checked /proc/3074/cmdline of the process and the args are broken up incorrectly:
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene^@/usr/share/music-app/music-app.qm
l^@--file=/home/phablet/Music/11^@Novembre^@1918-58'50''.mp3^@--desktop_file_hin
t=/usr/share/applications/music-app.desktop^@

** Project changed: music-app => upstart-app-launch

** Also affects: upstart-app-launch (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: upstart-app-launch (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Upstart Application Launcher.
https://bugs.launchpad.net/bugs/1228125

Title:
  --file= breaks with spaces and single quotes in filename

Status in Upstart Application Launcher:
  New
Status in “upstart-app-launch” package in Ubuntu:
  New

Bug description:
  Hi!

  testing music-app 0.6bzr110saucy0, I can open foo.flac and foo.mp3 but
  not: 11 Novembre 1918-58'50''.mp3

  I see these processes:
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene /usr/share/music-app/music-app.qml --file=/home/phablet/Music/foo.mp3 --desktop_file_hint=/usr/share/applications/music-app.desktop
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene /usr/share/music-app/music-app.qml --file=/home/phablet/Music/foo.flac --desktop_file_hint=/usr/share/applications/music-app.desktop
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene /usr/share/music-app/music-app.qml --file=/home/phablet/Music/11 Novembre 1918-58'50''.mp3 --desktop_file_hint=/usr/share/applications/music-app.desktop

  so the --file= arg seems correct, somehow music-app doesn't cope with
  it.

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart-app-launch/+bug/1228125/+subscriptions