scsh-users
[Top] [All Lists]

Re: misleading error message

To: scsh <scsh@zurich.csail.mit.edu>
Subject: Re: misleading error message
From: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Date: Tue, 17 Feb 2004 08:35:27 +0100
Andreas Bernauer <andreas.bernauer@gmx.de> writes:

> Hi,
>
> I find the following error message of scsh not very informative, as I
> could not figure out, what the problem was:
>
> [andreas@hgt andreas]$ export SCSH_LIB_DIRS=/home/andreas/bin/lib/scsh/modules
> [andreas@hgt andreas]$ scsh -lel sunet-2.1 -o handle-fatal-error -e '1'
>
> Error: Illegal path element in $SCSH_LIB_DIRS
>        "/home/andreas/bin/lib/scsh/modules"
>        /home/andreas/bin/lib/scsh/modules
>
> I'd find the following error message better:
>
> Illegal path element in $SCSH_LIB_DIRS: not a string or #f.
>
> or:
>
> Not a string or #f in $SCSH_LIB_DIRS.
>
> What do you think?

How about:

Error: Illegal path element in $SCSH_LIB_DIRS
       $SCSH_LIB_DIRS:
       "#f /afs/wsi/share/scsh-modules"
       The following element is not a string or #f:
       /afs/wsi/share/scsh-modules

-- 
Martin

<Prev in Thread] Current Thread [Next in Thread>