🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Channel Error

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hey everybody,

 

running the script attached, the following error is occuring:

Error_Channel.jpeg.841229cfb8ee240038b90836e75db2c9.jpeg

 

I have absolutely no clue why this is happening. Can you maybe help me out?

 

Kind regards

Simon

 

Unable to find an attachment - read this blog

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hi,

     

    Why don't you give the full file path? 

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    Maybe you closed the file before using 'gets'

     

    Try this example not to use 'gets':

     

    set f [open path.txt]

    set buffer [read $f]

    close $f

    foreach line [split $buffer \n] {

         set fields [split $line ,]

          ....

    }

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Thanks Thin, this helped us a lot!