Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed67e90892175c4a94956754a5332a5d4171a1d2
Ticket: 791570ffffffffffffffffffffffffffffffffff
Invalid object in [foreach]
User & Date: dkf on 2003-08-20 15:58:54
Changes

  1. foundin changed to: "obsolete: 8.3.4"
  2. icomment:
    Logged In: YES 
    user_id=79902
    
    Empty index shouldn't be a problem.  (I can't run the
    script, as I don't have eggdrop here.  I presume the problem
    is triggered by the script and not something in eggdrop
    itself.)
    
    Step one of trace analysis indicates that problem lies
    inside the setting of a variable by a foreach which is
    directly inside a switch, and so must be at one of:
      line 421, 430, 453, 494, 511, 533, 887
    
    Which is silly; all those places look good from here.  :^(
    
    Alas, to track this down further will require running in a
    debug build (possibly with debugger attached, or if not that
    then core-dumps turned on) and as I said earlier I've no way
    to run the code here where I have such tools set up.
    
    The comment in bugzilla by [email protected] about trying to
    use Tcl 8.4 instead of 8.3 is a good one.  But even just
    8.3.5 would be better, given that that is what we support in
    some sense.  And building from source would give you an
    excellent opportunity to turn on debugging... ;^)
    
    
  3. login: "dkf"
  4. mimetype: "text/plain"
  5. username: "dkf"