Debian Bug report logs - #167200
error message "sh test -n :1: command not found

version graph

Package: lynx; Maintainer for lynx is Atsuhito KOHDA <kohda@debian.org>; Source for lynx is src:lynx-cur.

Reported by: Wolfram Wagner <ww@mpi-sb.mpg.de>

Date: Thu, 31 Oct 2002 09:18:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 2.8.4.1b-3

Done: Thomas Dickey <dickey@his.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>, lynx@packages.qa.debian.org:
Bug#167200; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to Wolfram Wagner <ww@mpi-sb.mpg.de>:
New Bug report received and forwarded. Copy sent to James Troup <james@nocrew.org>, lynx@packages.qa.debian.org. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Wolfram Wagner <ww@mpi-sb.mpg.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: error message "sh test -n :1: command not found
Date: Thu, 31 Oct 2002 10:05:58 +0100
Package: lynx
Version: 2.8.4.1b-3
Severity: normal

When I start lynx and leave it again immediately, I get the error
message stated in the subject. It seems to be fro a mis-quoted 
system() call, where test and the argument -n are quoted as one
single argument. Sh then tries to find a program "test -n", 
not a program "test" with argument "-n" .


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux mpiat0208 2.4.19p4 #1 Fri Sep 27 19:20:18 UTC 2002 i686
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US

Versions of packages lynx depends on:
ii  libc6                    2.2.5-11.2      GNU C Library: Shared libraries an
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand
ii  zlib1g                   1:1.1.4-1       compression library - runtime




Information forwarded to debian-bugs-dist@lists.debian.org, lynx@packages.qa.debian.org:
Bug#167200; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to James Troup <james@nocrew.org>:
Extra info received and forwarded to list. Copy sent to lynx@packages.qa.debian.org. Full text and rfc822 format available.

Message #10 received at 167200@bugs.debian.org (full text, mbox):

From: James Troup <james@nocrew.org>
To: 167200@bugs.debian.org
Cc: 167200-submitter@bugs.debian.org
Subject: Re: error message "sh test -n :1: command not found
Date: Wed, 07 May 2003 15:21:18 +0100
tags 167200 + moreinfo
tags 167200 + unreproducible
thanks

Wolfram Wagner <ww@mpi-sb.mpg.de> writes:

> Package: lynx
> Version: 2.8.4.1b-3
> Severity: normal
> 
> When I start lynx and leave it again immediately, I get the error
> message stated in the subject. It seems to be fro a mis-quoted
> system() call, where test and the argument -n are quoted as one
> single argument. Sh then tries to find a program "test -n",
> not a program "test" with argument "-n" .

I can't reproduce this problem, but I suspect it's not a lynx problem.
Can you still reproduce the problem?  If so, can I see your
/etc/mailcap and are you running with $DISPLAY set?

-- 
James



Tags added: moreinfo Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: unreproducible Request was from James Troup <james@nocrew.org> to control@bugs.debian.org. Full text and rfc822 format available.

Message sent on to Wolfram Wagner <ww@mpi-sb.mpg.de>:
Bug#167200. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>, lynx@packages.qa.debian.org:
Bug#167200; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to Wolfram Wagner <ww@mpi-sb.mpg.de>:
Extra info received and forwarded to list. Copy sent to James Troup <james@nocrew.org>, lynx@packages.qa.debian.org. Full text and rfc822 format available.

Message #21 received at 167200@bugs.debian.org (full text, mbox):

From: Wolfram Wagner <ww@mpi-sb.mpg.de>
To: James Troup <james@nocrew.org>, 167200-quiet@bugs.debian.org
Cc: 167200@bugs.debian.org, 167200-submitter@bugs.debian.org, ww@mpi-sb.mpg.de
Subject: Re: Bug#167200: error message "sh test -n :1: command not found
Date: Thu, 08 May 2003 07:45:38 +0200
[Message part 1 (text/plain, inline)]
Hallo,

first, thanks for the answer.

I still see the problem on my woody box. It is enough to start lynx and quit 
immediately to reproduce the problem here. My DISPLAY variable is set to
:0.0

Do you think it is a mime handling problem? That would explain why the same 
problem exists with netscape on the same machine.

Here is a copy of the /etc/mailcap file on this machine:
[mailcap (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
Thanks in advance,

Wolfram Wagner                          Email: ww@mpi-sb.mpg.de           
Max-Planck-Institut fuer Informatik     WWW:   http://www.mpi-sb.mpg.de/~ww
Stuhlsatzenhausweg 85                   Tel.:  +49-681/9325-803
66123 Saarbruecken GERMANY		Fax:   +49-681/9325-899

Information forwarded to lynx@packages.qa.debian.org:
Bug#167200; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to Wolfram Wagner <ww@mpi-sb.mpg.de>:
Extra info received and filed, but not forwarded. Copy sent to lynx@packages.qa.debian.org. Full text and rfc822 format available.

Message sent on to Wolfram Wagner <ww@mpi-sb.mpg.de>:
Bug#167200. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>:
Bug#167200; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to Daniel Bonniot <bonniot@users.sourceforge.net>:
Extra info received and forwarded to list. Copy sent to James Troup <james@nocrew.org>. Full text and rfc822 format available.

Message #33 received at 167200@bugs.debian.org (full text, mbox):

From: Daniel Bonniot <bonniot@users.sourceforge.net>
To: Debian Bug Tracking System <167200@bugs.debian.org>
Subject: lynx: Reproduced
Date: Wed, 28 May 2003 17:03:56 +0200
*** Please type your report below this line ***
Bcc: Daniel Bonniot <bonniot@users.sourceforge.net>
X-Mailer: reportbug 2.10.1
Date: Wed, 28 May 2003 17:03:56 +0200

Package: lynx
Version: 2.8.4.1b-5
Followup-For: Bug #167200

I get a similar error with a slighly newer version of lynx, on 
a (mostly) testing machine (with a few unstable packages).

blanche ~/These echo $DISPLAY
:0.0
blanche ~/These lynx -dump review1.html >/dev/null
sh: line 1: test -n :0.0: command not found

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux blanche 2.4.19 #2 Sat Mar 1 18:19:36 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages lynx depends on:
ii  libc6                     2.3.1-16       GNU C Library: Shared libraries an
ii  libgnutls5                0.8.6-4        GNU TLS library - runtime library
ii  libncurses5               5.3.20030510-1 Shared libraries for terminal hand
ii  zlib1g                    1:1.1.4-11     compression library - runtime

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>:
Bug#167200; Package lynx. Full text and rfc822 format available.

Acknowledgement sent to dickey@his.com (Thomas Dickey):
Extra info received and forwarded to list. Copy sent to James Troup <james@nocrew.org>. Full text and rfc822 format available.

Message #38 received at 167200@bugs.debian.org (full text, mbox):

From: dickey@his.com (Thomas Dickey)
To: 167200@bugs.debian.org
Cc: dickey@his.com (Thomas Dickey)
Subject: error message "sh test -n :1: command not found
Date: Mon, 21 Jun 2004 20:34:06 -0400
>                       Debian Bug report logs - #167200
>                error message "sh test -n :1: command not found
...
>When I start lynx and leave it again immediately, I get the error
>message stated in the subject. It seems to be fro a mis-quoted
>system() call, where test and the argument -n are quoted as one
>single argument. Sh then tries to find a program "test -n",
>not a program "test" with argument "-n" .

When I run this, I see going to stderr a complaint about this line in the
mailcap:

x-world/x-vrml; vrwave -URL '%u' -remote '%s'; test="test -n $DISPLAY"; description="VRML world"

The mailcap is incorrect; the $DISPLAY should be quoted (as it is in all of
the other lines).

(this should be closed)
-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net



Reply sent to dickey@his.com:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Wolfram Wagner <ww@mpi-sb.mpg.de>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #43 received at 167200-done@bugs.debian.org (full text, mbox):

From: Thomas Dickey <dickey@his.com>
To: 167200-done@bugs.debian.org
Subject: error message "sh test -n :1: command not found
Date: Wed, 23 Jun 2004 17:40:13 -0400
[Message part 1 (text/plain, inline)]
I noticed also that lines with %{charset}, etc., are not handled by lynx,
but that should be a different bug report.  (I'm looking into it for
2.8.6dev.5).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 12:36:13 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.