From exmh-workers-admin@redhat.com  Mon Sep 23 18:31:22 2002
Return-Path: <exmh-workers-admin@spamassassin.taint.org>
Delivered-To: yyyy@localhost.spamassassin.taint.org
Received: from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id 9D8D416F03
	for <jm@localhost>; Mon, 23 Sep 2002 18:31:21 +0100 (IST)
Received: from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 23 Sep 2002 18:31:21 +0100 (IST)
Received: from listman.spamassassin.taint.org (listman.spamassassin.taint.org [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g8NFJNC22998 for
    <jm-exmh@jmason.org>; Mon, 23 Sep 2002 16:19:23 +0100
Received: from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id AE6CE3F5A6; Mon, 23 Sep 2002
    11:10:11 -0400 (EDT)
Delivered-To: exmh-workers@listman.spamassassin.taint.org
Received: from int-mx1.corp.spamassassin.taint.org (int-mx1.corp.spamassassin.taint.org
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id D4D8D3F731
    for <exmh-workers@listman.redhat.com>; Mon, 23 Sep 2002 10:58:50 -0400
    (EDT)
Received: (from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g8NEwoa20119 for exmh-workers@listman.redhat.com; Mon, 23 Sep 2002
    10:58:50 -0400
Received: from mx1.spamassassin.taint.org (mx1.spamassassin.taint.org [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g8NEwoh20115 for
    <exmh-workers@redhat.com>; Mon, 23 Sep 2002 10:58:50 -0400
Received: from austin-jump.vircio.com
    (IDENT:wIDHd+1bdywNxzPUCvM9g5D/nBd0Mcz3@jump-austin.vircio.com
    [192.12.3.99]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g8NEf9i11047
    for <exmh-workers@redhat.com>; Mon, 23 Sep 2002 10:41:09 -0400
Received: (qmail 13981 invoked by uid 104); 23 Sep 2002 14:58:49 -0000
Received: from cwg-exmh@DeepEddy.Com by localhost.localdomain with
    qmail-scanner-0.90 (uvscan: v4.1.60/v4224. . Clean. Processed in 0.337161
    secs); 23/09/2002 09:58:49
Received: from deepeddy.vircio.com (@[10.1.2.1]) (envelope-sender
    <cwg-exmh@DeepEddy.Com>) by austin-jump.vircio.com (qmail-ldap-1.03) with
    SMTP for <exmh-workers@redhat.com>; 23 Sep 2002 14:58:49 -0000
Received: (qmail 23277 invoked from network); 23 Sep 2002 14:58:46 -0000
Received: from localhost (HELO deepeddy.vircio.com)
    (?adeqIB4TWwovT0p9Px85IcgtpymppYTH?@[127.0.0.1]) (envelope-sender
    <cwg-exmh@DeepEddy.Com>) by localhost (qmail-ldap-1.03) with SMTP for
    <exmh-workers@redhat.com>; 23 Sep 2002 14:58:46 -0000
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Scott Lipcon <slipcon@mercea.net>, exmh-workers@spamassassin.taint.org
Subject: Re: traceback in new exmh
In-Reply-To: <1032792084.19602.TMDA@deepeddy.vircio.com>
References: <20020923025816.8E7A34A8@mercea.net>
    <1032792084.19602.TMDA@deepeddy.vircio.com>
X-Url: http://www.DeepEddy.Com/~cwg
X-Image-Url: http://www.DeepEddy.Com/~cwg/chris.gif
MIME-Version: 1.0
Content-Type: multipart/signed;
    boundary="==_Exmh_2018282504P";
    micalg=pgp-sha1;
    protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Message-Id: <1032793126.23266.TMDA@deepeddy.vircio.com>
From: Chris Garrigues <cwg-exmh@DeepEddy.Com>
X-Delivery-Agent: TMDA/0.57
Reply-To: Chris Garrigues <cwg-dated-1033225126.922759@DeepEddy.Com>
X-Loop: exmh-workers@spamassassin.taint.org
Sender: exmh-workers-admin@spamassassin.taint.org
Errors-To: exmh-workers-admin@spamassassin.taint.org
X-Beenthere: exmh-workers@spamassassin.taint.org
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:exmh-workers-request@spamassassin.taint.org?subject=help>
List-Post: <mailto:exmh-workers@spamassassin.taint.org>
List-Subscribe: <https://listman.spamassassin.taint.org/mailman/listinfo/exmh-workers>,
    <mailto:exmh-workers-request@redhat.com?subject=subscribe>
List-Id: Discussion list for EXMH developers <exmh-workers.spamassassin.taint.org>
List-Unsubscribe: <https://listman.spamassassin.taint.org/mailman/listinfo/exmh-workers>,
    <mailto:exmh-workers-request@redhat.com?subject=unsubscribe>
List-Archive: <https://listman.spamassassin.taint.org/mailman/private/exmh-workers/>
Date: Mon, 23 Sep 2002 09:58:45 -0500

--==_Exmh_2018282504P
Content-Type: text/plain; charset=us-ascii

> From:  Chris Garrigues <cwg-bcc@DeepEddy.Com>
> Date:  Mon, 23 Sep 2002 09:41:22 -0500
>
> > From:  Scott Lipcon <slipcon@mercea.net>
> > Date:  Sun, 22 Sep 2002 22:58:16 -0400
> >
> > I just updated to the latest CVS - I had been running a build from June. 
>  
> > Hitting the Flist button gives the following traceback:
> > 
> > syntax error in expression "int(17+1+(222-)*(19-17-2)/(224-))"
> >     while executing
> > "expr int($minLine+1+($msgid-$minMsg)*($maxLine-$minLine-2)/($maxMsg-$minMs
> > g))"
> >     (procedure "Ftoc_FindMsg" line 57)
> >     invoked from within
> > "Ftoc_FindMsg $i"
> >     (procedure "Ftoc_ShowSequences" line 16)
> >     invoked from within
> > "Ftoc_ShowSequences $F"
> >     (procedure "ScanFolder" line 81)
> >     invoked from within
> > "ScanFolder inbox 0"
> >     invoked from within
> > "time [list ScanFolder $F $adjustDisplay"
> >     (procedure "Scan_Folder" line 2)
> >     invoked from within
> > "Scan_Folder $exmh(folder) $ftoc(showNew)"
> >     (procedure "Inc_PresortFinish" line 7)
> >     invoked from within
> > "Inc_PresortFinish"
> >     invoked from within
> > ".fops.flist invoke"
> >     ("uplevel" body line 1)
> >     invoked from within
> > "uplevel #0 [list $w invoke]"
> >     (procedure "tkButtonUp" line 7)
> >     invoked from within
> > "tkButtonUp .fops.flist
> > "
> >     (command bound to event)
> > 
> > 
> > It seems to only happen in a folder with no unseen messages.
> > 
> > Chris, is this related to your recent changes?
> 
> Curious.  I changed the arguments to Ftoc_ShowSequences to drop the folder 
> argument and instead have an optional msgids argument.  Somehow your version 
> of ScanFolder is still trying to pass $F.  You seem to have the latest 
> ftoc.tcl (1.36), but not the latest scan.tcl (1.27).
> 
> I don't know how that happened, but try getting your source tree completely 
> up to date.

Actually, I take that back.  You're not running the latest ftoc.tcl either.

It probably is my bug, but it's in code that's been changed since you last 
updated from CVS (Saturday), so please update and let's see if the problem is 
still there.

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
virCIO                          http://www.virCIO.Com
716 Congress, Suite 200
Austin, TX  78701		+1 512 374 0500

  World War III:  The Wrong-Doers Vs. the Evil-Doers.




--==_Exmh_2018282504P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.2_20000822 06/23/2000

iD8DBQE9jywkK9b4h5R0IUIRAooIAJ4yCHFQ22/6OBD61tWNbb2sScOxPwCdGYE+
cVdYZOjdN7A/nWpRHqusbJo=
=AZsA
-----END PGP SIGNATURE-----

--==_Exmh_2018282504P--



_______________________________________________
Exmh-workers mailing list
Exmh-workers@redhat.com
https://listman.redhat.com/mailman/listinfo/exmh-workers


