Your message dated Thu, 10 Sep 2015 15:34:02 +0000
with message-id <[email protected]>
and subject line Bug#778506: fixed in ranger 1.7.1-1
has caused the Debian Bug report #778506,
regarding ranger: failures if PAGER is set but empty
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.)


-- 
778506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778506
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ranger
Version: 1.6.1-1
Severity: normal
Tags: upstream

Dear Maintainer,

A user in #debian brought to our attention that ranger seems to need PAGER
to be set. After some investigation, we worked out that:

* if PAGER is not set at all (so, export -n PAGER; ranger) everything is OK

* if PAGER is set to an executable (PAGER=less ranger) everything is OK

* if PAGER is set but empty (PAGER= ranger) then any commands using the pager
will fail:

$ PAGER= ranger
(then type «1?» to see a list of the keybindings)
Failed to run: ['', '/tmp/tmp2o1fnV']
[Errno 13] Permission denied

There are a few places where the check for a valid value of PAGER only checks
if PAGER is set and not if it is also a non-empty value:

rifle.py:330
  if 'PAGER' not in os.environ:

commands.py and actions.py (numerous places)
  pager = os.environ.get('PAGER', ranger.DEFAULT_PAGER)

It would be worth fixing ranger so that an empty PAGER does not cause it to
fail in a strange way; setting empty values to environment variables is
normally considered to be identical to removing them from the environment.

cheers
Stuart

PS other uses of os.environ should probably be checked too


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (550, 'testing-updates'), (550, 'testing'), (60, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ranger depends on:
ii  python  2.7.8-3

Versions of packages ranger recommends:
ii  file            1:5.20-2
ii  python-chardet  2.3.0-1
ii  sudo            1.8.10p3-1+deb8u1
ii  w3m-img         0.5.3-19

Versions of packages ranger suggests:
pn  atool          <none>
pn  caca-utils     <none>
pn  highlight      <none>
ii  less           458-3
ii  poppler-utils  0.26.5-2
ii  w3m            0.5.3-19

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ranger
Source-Version: 1.7.1-1

We believe that the bug you reported is fixed in the latest version of
ranger, which is due to be installed in the Debian FTP archive.

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.
Vern Sun <[email protected]> (supplier of updated ranger 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: SHA256

Format: 1.8
Date: Tue, 16 Jun 2015 10:06:37 +0800
Source: ranger
Binary: ranger
Architecture: source
Version: 1.7.1-1
Distribution: unstable
Urgency: low
Maintainer: Vern Sun <[email protected]>
Changed-By: Vern Sun <[email protected]>
Description:
 ranger     - File manager with an ncurses frontend written in Python
Closes: 772351 778506 784875
Changes:
 ranger (1.7.1-1) unstable; urgency=low
 .
   * New upstream release. (Closes: #778506, #784875)
   * Updated Standard-version to 3.9.6.
   * Add more upstream authors.
   * Bashism in rifle_sxiv.sh, fixed. (Closes: #772351)
     Thanks: Raphael Geissert <[email protected]>
   * Upstream documents are updated.
     (R) HACKING -> HACKING.md
     (R) README -> README.md
     (A) AUTHORS
Checksums-Sha1:
 28717283eddaa69c66fc1d7a9bb8f021eab5eddf 1730 ranger_1.7.1-1.dsc
 f62e00f165cd9f9dabcfa6831f109c450e1faffc 266089 ranger_1.7.1.orig.tar.gz
 e929e7ec2a13b12c829c5a0c5f0537a72579627d 7924 ranger_1.7.1-1.debian.tar.xz
Checksums-Sha256:
 829bdd58f5bd6ae1b9604695f02fdbd7bee65cc9bc46782595b3b86217d1b1bc 1730 
ranger_1.7.1-1.dsc
 f8b06135165142508ae7ec22ab2c95f6e51b4018c645d11226086d4c45b7df86 266089 
ranger_1.7.1.orig.tar.gz
 16d0c8fadb544ab02a5e1ba917c1fc532e9299a09591d3c3237c63c52018908a 7924 
ranger_1.7.1-1.debian.tar.xz
Files:
 b3d0964f1380ab3f79e024461c4b23d0 1730 utils extra ranger_1.7.1-1.dsc
 ec64bc12d3edfd784b1d67023fdf21fc 266089 utils extra ranger_1.7.1.orig.tar.gz
 00258c7259bc2701215f91e6f767e63f 7924 utils extra ranger_1.7.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV8aEIAAoJEPNPCXROn13ZK4cP/iD2jXrWLh5Qsh71i7OMmR0w
o2XAcphBU8u/GZXu/FhSsoTN2isXUtm6pwNyWxeZMDuYSl3jVhsmMeLv4NS0C0AH
Sfo/sgH9wnsWs0+e750pU0hzUg6MbVRJ9zS82RgfQ7emVNXQywmRNSZTF4VSMaP4
pUV9wEZvu897cDee+m1JorJGMxSFcfqjh5wO/RFLnBan2LLyZsyX2gZQSxzZOmCQ
LSrMNLYctAf2FynDifNIHAoJI1S7zWkn4sgpqlhJl/3hBtXn25lTlI5kKCZh/dre
NHDPVNkSLpcsJoNF+FAk6kTC4LwYiQxgumpcQjyaQyitRz3BLG3avwLtMf1bHe/C
bIuEKokGu2AlgmFQQDrlTk3QLAYS4WxymZwJG5EOzDuj8eT03S6/+ENwS0Wa+IBK
0M5ZB+HpsAj1jDDWQW1GoJZuPgbT8N42WTFCzm2mrjUOxBulg8OUh2rTBhWfMTLv
av8nbKvGMyRsMPQtCPRMO7MuJbcdSzGnokFdAs9E19fdcD4vTsWa41BwS96O4IBQ
J5Kx2CqUn1R1GKCsz6cdRWZSSUEpYEtCEB+Tq7ZXLA11kmmV6Pj20JoLZt/ONNL7
O0Yz8N+PIt7uodzIokASxdt1ojkkof6j21POdYbev82/Nq/zGfXgurjUoXIqtNof
+eAYonLikwzZmtgFtHK0
=FVO0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to