* Re: cryptic error message
2006-11-17 0:39 cryptic error message William Scott
@ 2006-11-17 3:00 ` Matt Wozniski
2006-11-17 3:54 ` William Scott
0 siblings, 1 reply; 6+ messages in thread
From: Matt Wozniski @ 2006-11-17 3:00 UTC (permalink / raw)
To: zsh-users
You could always post the startup file. :) As a suggestion, search
in the file with your favorite editor for lines that contain "${(".
It's probably referring to an invalid flag inside of a set of
parentheses immediately following the beginning of a parameter
substitution. Comment out those lines one by one and see which one
makes the error stop. Also, if it's on exit, you should limit your
search to .zlogout and any traps that you have set on exit.
~Matt
On 11/16/06, William Scott <wgscott@chemistry.ucsc.edu> wrote:
> I've introduced something bad into a startup file, so when a shell
> session exits, I get the message
>
> "zsh: error in flags"
>
> Any idea where to start looking?
>
>
>
From zsh-users-return-10997-mason-zsh=primenet.com.au@sunsite.dk Fri Nov 17 03:11:18 2006
Return-Path: <zsh-users-return-10997-mason-zsh=primenet.com.au@sunsite.dk>
Delivered-To: mason-zsh@primenet.com.au
Received: (qmail 23652 invoked from network); 17 Nov 2006 03:11:13 -0000
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au
X-Spam-Level:
X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,
FORGED_RCVD_HELO,SPF_HELO_PASS autolearn=unavailable version=3.1.7
Received: from ns2.primenet.com.au (HELO primenet.com.au) (@203.24.36.3)
by ns1.primenet.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 Nov 2006 03:11:13 -0000
Received: (qmail 17293 invoked from network); 17 Nov 2006 03:11:12 -0000
Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88)
by ns2.melb.primenet.com.au with SMTP; 17 Nov 2006 03:11:12 -0000
Received-SPF: none (ns2.melb.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts)
Received: (qmail 93551 invoked from network); 17 Nov 2006 03:00:31 -0000
Received: from sunsite.dk (130.225.247.90)
by a.mx.sunsite.dk with SMTP; 17 Nov 2006 03:00:31 -0000
Received: (qmail 10134 invoked by alias); 17 Nov 2006 03:00:20 -0000
Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm
Precedence: bulk
X-No-Archive: yes
Delivered-To: mailing list zsh-users@sunsite.dk
X-Seq: 10997
Received: (qmail 10124 invoked from network); 17 Nov 2006 03:00:20 -0000
Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88)
by sunsite.dk with SMTP; 17 Nov 2006 03:00:20 -0000
Received: (qmail 91945 invoked from network); 17 Nov 2006 03:00:20 -0000
Received: from nf-out-0910.google.com (64.233.182.191)
by a.mx.sunsite.dk with SMTP; 17 Nov 2006 03:00:17 -0000
Received: by nf-out-0910.google.com with SMTP id m19so408156nfc
for <zsh-users@sunsite.dk>; Thu, 16 Nov 2006 19:00:16 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
b=FB9pXk9K51e969Y2oXELu4TFWo3wF/JT1H6fZ3K3n6UOeD2rriGLxYBDVM6YVwsOMjSy/9ZQ75reK4a7r9LKcEf1LtC/Mk1Wnxe5Ak3FfZwaNmfLkWA8dcqFaVODWeba2S+HfTIhs7b2byppFubecBw5bCy95g/WsBiqgC/tF0Q=
Received: by 10.82.179.9 with SMTP id b9mr168017buf.1163732415923;
Thu, 16 Nov 2006 19:00:15 -0800 (PST)
Received: by 10.82.164.2 with HTTP; Thu, 16 Nov 2006 19:00:15 -0800 (PST)
Message-ID: <17393e3e0611161900u4dfb92d7h9d6d19a8a7eda70e@mail.gmail.com>
Date: Thu, 16 Nov 2006 22:00:15 -0500
From: "Matt Wozniski" <godlygeek@gmail.com>
Reply-To: mjw@drexel.edu
To: zsh-users@sunsite.dk
Subject: Re: cryptic error message
In-Reply-To: <A93263AF-A4DF-4B43-A85A-70BC51E50AD7@chemistry.ucsc.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <A93263AF-A4DF-4B43-A85A-70BC51E50AD7@chemistry.ucsc.edu>
You could always post the startup file. :) As a suggestion, search
in the file with your favorite editor for lines that contain "${(".
It's probably referring to an invalid flag inside of a set of
parentheses immediately following the beginning of a parameter
substitution. Comment out those lines one by one and see which one
makes the error stop. Also, if it's on exit, you should limit your
search to .zlogout and any traps that you have set on exit.
~Matt
On 11/16/06, William Scott <wgscott@chemistry.ucsc.edu> wrote:
> I've introduced something bad into a startup file, so when a shell
> session exits, I get the message
>
> "zsh: error in flags"
>
> Any idea where to start looking?
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread