Your message dated Sun, 20 Feb 2011 17:51:36 +0000
with message-id <[email protected]>
and subject line Bug#613272: fixed in xdg-utils 1.1.0~rc1-2
has caused the Debian Bug report #613272,
regarding xdg-utils: xdg-open cannot open local files with space in path 
without desktop environment.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
613272: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613272
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xdg-utils
Version: 1.1.0~rc1-1
Severity: normal

I am using awesome as a window manager and am not using any desktop
environment.  My /bin/sh points to dash.

Under this condition, I noticed that xdg-open failed to open a local
file if (a) path to a local file contains space, and (b) the path is
given to xdg-open as encoded URL (e.g,
file:///tmp/before\x20after/example.txt).

xdg-open, then, tries to decode '\x20' back to ' ' by executing
(built-in) printf command in open_generic().  However, this does not
work in dash.  Unlike bash's built-in, dash's printf apparently lacks
the ability to translate \xNN to character.  This leads to file not
found error.

I temprarily workarounded this problem by changing shebang from
/bin/sh to /bin/bash.  Another workaround is to use coreutils' printf
instead of shells' built-in.  Neither seems ideal, but they work for
me.

Regards,


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  libfile-mimeinfo-perl         0.15-1     Perl module to determine file type
ii  x11-utils                     7.6+1      X11 utilities
ii  x11-xserver-utils             7.6+1      X server utilities

Versions of packages xdg-utils suggests:
pn  gvfs-bin                      <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: xdg-utils
Source-Version: 1.1.0~rc1-2

We believe that the bug you reported is fixed in the latest version of
xdg-utils, which is due to be installed in the Debian FTP archive:

xdg-utils_1.1.0~rc1-2.debian.tar.gz
  to main/x/xdg-utils/xdg-utils_1.1.0~rc1-2.debian.tar.gz
xdg-utils_1.1.0~rc1-2.dsc
  to main/x/xdg-utils/xdg-utils_1.1.0~rc1-2.dsc
xdg-utils_1.1.0~rc1-2_all.deb
  to main/x/xdg-utils/xdg-utils_1.1.0~rc1-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Per Olofsson <[email protected]> (supplier of updated xdg-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 20 Feb 2011 18:34:53 +0100
Source: xdg-utils
Binary: xdg-utils
Architecture: source all
Version: 1.1.0~rc1-2
Distribution: unstable
Urgency: low
Maintainer: Per Olofsson <[email protected]>
Changed-By: Per Olofsson <[email protected]>
Description: 
 xdg-utils  - desktop integration utilities from freedesktop.org
Closes: 612339 613272
Changes: 
 xdg-utils (1.1.0~rc1-2) unstable; urgency=low
 .
   * Tag patches with upstream bug URLs.
   * Add patch xdg-mime-follow-symlinks.diff: Follow symlinks when
     querying MIME type in xdg-mime.
   * Add patch xdg-open-browser-multiword.diff: Fix support for multi-word
     $BROWSER commands. Closes: #612339.
   * Add patch xdg-open-printf.diff: Use /usr/bin/printf if available when
     decoding URLs. dash's printf doesn't understand \xHH
     sequences. Closes: #613272.
Checksums-Sha1: 
 84194f44e7e085793516aaccae5e6b9749b8005e 1226 xdg-utils_1.1.0~rc1-2.dsc
 5ccb61f9b3e7998342b4dc81f1a845ad10d8a4de 8672 
xdg-utils_1.1.0~rc1-2.debian.tar.gz
 f0552fd2080df8e1b6bd4405eeeefc14a7a22ee4 70246 xdg-utils_1.1.0~rc1-2_all.deb
Checksums-Sha256: 
 a87107fe20a28f52557f00de8c7d56996cd9056b438c19dbc4557594c04af48f 1226 
xdg-utils_1.1.0~rc1-2.dsc
 e4b15d4dbc302df8ac5a6e901d686621881fa1885213c92b50b70e66cbd1a5da 8672 
xdg-utils_1.1.0~rc1-2.debian.tar.gz
 8ae9b6ff6471996ad8b1a72ad80f18a7878b86a1ee207b30f263d4f58558b4c2 70246 
xdg-utils_1.1.0~rc1-2_all.deb
Files: 
 7ae35e6f9bc65449622ffe44acf694df 1226 utils optional xdg-utils_1.1.0~rc1-2.dsc
 a814df872a077cc82529da6184fc8d7f 8672 utils optional 
xdg-utils_1.1.0~rc1-2.debian.tar.gz
 7c0db81f0f927c7b84183362260d2ab9 70246 utils optional 
xdg-utils_1.1.0~rc1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1hUT4ACgkQeDAsS42/7C+gbQCfc2uP1fVzS5LvHZFYMpJ4K6QJ
+tYAoKy4z2gl1AhNvNNkqHjgrbe/dxR3
=1kzc
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to