desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #112808
[Bug 1443889] [NEW] xdg-open fails to open files with embedded '#' in the name
Public bug reported:
If a filename has an embedded '#', xdg-open fails to open it.
Here's an example. The file:
paulo@monk:~/stage/edit$ ls -l Dino\ vegetariano\ #3\:\ Rúcula\ gum.mp4
-rw-rw-r-- 1 paulo paulo 1822717 Abr 14 00:13 Dino vegetariano #3: Rúcula gum.mp4
Making sure its MIME type can be recognized:
paulo@monk:~/stage/edit$ xdg-mime query filetype Dino\ vegetariano\ #3\:\ Rúcula\ gum.mp4
video/mp4
I tried opening both ways:
paulo@monk:~/stage/edit$ xdg-open file:///Dino\ vegetariano\ #3\:\
Rúcula\ gum.mp4
paulo@monk:~/stage/edit$ xdg-open Dino\ vegetariano\ #3\:\ Rúcula\
gum.mp4
and both failed with notification error message:
Failed to open "file:///Dino\ vegetariano\ #3\:\ Rúcula\ gum.mp4".
Error when getting information for file '/
Dino vegetariano ': No such file or directory
I attached a screenshot of the notification message.
I'm running Xubuntu 14.10, and xdg-utils version is 1.1.0~rc1-2ubuntu8
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: xdg-utils 1.1.0~rc1-2ubuntu8
ProcVersionSignature: Ubuntu 3.16.0-34.47-generic 3.16.7-ckt8
Uname: Linux 3.16.0-34-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Apr 14 07:58:46 2015
InstallationDate: Installed on 2014-11-25 (139 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: xdg-utils
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: xdg-utils (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug utopic
** Attachment added: "Untitled window_002.jpg"
https://bugs.launchpad.net/bugs/1443889/+attachment/4375023/+files/Untitled%20window_002.jpg
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1443889
Title:
xdg-open fails to open files with embedded '#' in the name
Status in xdg-utils package in Ubuntu:
New
Bug description:
If a filename has an embedded '#', xdg-open fails to open it.
Here's an example. The file:
paulo@monk:~/stage/edit$ ls -l Dino\ vegetariano\ #3\:\ Rúcula\ gum.mp4
-rw-rw-r-- 1 paulo paulo 1822717 Abr 14 00:13 Dino vegetariano #3: Rúcula gum.mp4
Making sure its MIME type can be recognized:
paulo@monk:~/stage/edit$ xdg-mime query filetype Dino\ vegetariano\ #3\:\ Rúcula\ gum.mp4
video/mp4
I tried opening both ways:
paulo@monk:~/stage/edit$ xdg-open file:///Dino\ vegetariano\ #3\:\
Rúcula\ gum.mp4
paulo@monk:~/stage/edit$ xdg-open Dino\ vegetariano\ #3\:\ Rúcula\
gum.mp4
and both failed with notification error message:
Failed to open "file:///Dino\ vegetariano\ #3\:\ Rúcula\ gum.mp4".
Error when getting information for file '/
Dino vegetariano ': No such file or directory
I attached a screenshot of the notification message.
I'm running Xubuntu 14.10, and xdg-utils version is 1.1.0~rc1-2ubuntu8
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: xdg-utils 1.1.0~rc1-2ubuntu8
ProcVersionSignature: Ubuntu 3.16.0-34.47-generic 3.16.7-ckt8
Uname: Linux 3.16.0-34-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Apr 14 07:58:46 2015
InstallationDate: Installed on 2014-11-25 (139 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: xdg-utils
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1443889/+subscriptions
Follow ups
References