From exmh-workers-admin@redhat.com  Mon Sep 23 18:31:12 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 61BD116F03
	for <jm@localhost>; Mon, 23 Sep 2002 18:31:11 +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:11 +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 g8NF03C22040 for
    <jm-exmh@jmason.org>; Mon, 23 Sep 2002 16:00:03 +0100
Received: from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id 0F7DB3EC25; Mon, 23 Sep 2002
    10:59:55 -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 5EB723F826
    for <exmh-workers@listman.redhat.com>; Mon, 23 Sep 2002 10:54:20 -0400
    (EDT)
Received: (from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g8NEsKZ18975 for exmh-workers@listman.redhat.com; Mon, 23 Sep 2002
    10:54:20 -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 g8NEsKh18971 for
    <exmh-workers@redhat.com>; Mon, 23 Sep 2002 10:54:20 -0400
Received: from mercea.net (dsl092-151-122.wdc1.dsl.speakeasy.net
    [66.92.151.122]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id
    g8NEaci09965 for <exmh-workers@redhat.com>; Mon, 23 Sep 2002 10:36:38
    -0400
Received: from mercea.mercea.net (localhost.mercea.net [127.0.0.1]) by
    mercea.net (Postfix) with ESMTP id 09A9638C; Mon, 23 Sep 2002 10:54:19
    -0400 (EDT)
From: Scott Lipcon <slipcon@mercea.net>
To: Chris Garrigues <cwg-dated-1033224084.36f5b8@DeepEddy.Com>
Cc: exmh-workers@spamassassin.taint.org
Subject: Re: traceback in new exmh
In-Reply-To: Your message of
    "Mon, 23 Sep 2002 09:41:22 CDT."
    <1032792084.19602.TMDA@deepeddy.vircio.com>
Message-Id: <20020923145419.09A9638C@mercea.net>
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 10:54:19 -0400

Oops - turns out i wasn't careful installing it, so the exmh(library)
variable was pointing at my old installation.  I'm surprised it worked
as well as it did.

In any case, I removed the old library directory, and edited exmh,
exmh-bg, exmh-strip, etc to point at the right one.  Now I'm getting
another traceback on startup:

can't read "mhPriv(pubseq,family,cur)": no such variable
    while executing
"MhSeq $folder $seq add $mhPriv(pubseq,$folder,$seq) [MhSeqExpand
$folder $msgids"
    (procedure "MhReadSeqs" line 73)
    invoked from within
"MhReadSeqs $folder seqs"
    (procedure "Mh_Sequences" line 2)
    invoked from within
"Mh_Sequences $folder"
    (procedure "Flist_UnseenUpdate" line 4)
    invoked from within
"Flist_UnseenUpdate $folder"
    (procedure "FolderChange" line 51)
    invoked from within
"FolderChange family {Msg_Show cur}"
    invoked from within
"time [list  FolderChange $folder $msgShowProc"
    (procedure "Folder_Change" line 3)
    invoked from within
"Folder_Change $exmh(folder)"
    (procedure "Exmh" line 101)
    invoked from within
"Exmh"
    ("after" script)


+family is the folder I was in when I quit exmh.

I'm on a remote display right now, and its really slow.  I'll have to
play with it more tonight when I get home to see if there are any
other problems. 

Scott

> > 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.
> 
> 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_1988991284P
> Content-Type: application/pgp-signature
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Exmh version 2.2_20000822 06/23/2000
> 
> iD8DBQE9jygSK9b4h5R0IUIRAix6AJ9CorKpwn/5KatPB2QytCyr1mVP5QCfd84d
> CBV9usxWABobTcDTVHm8fLY=
> =xJhj
> -----END PGP SIGNATURE-----
> 
> --==_Exmh_1988991284P--
> 



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