Support

Support Options

Submit a Support Ticket

 

Questions and Answers

Status: Accepting answers

Brandon Myers

My tcl script for rappture stops executing when I get a warning

I have a tcl script interfacing with rappture that calls 3 other tcl scripts. They all give a warning upon exiting inside the simulation window.

oommf.tcl 1.2.0.4 Oc_Config warning: Tcl version mismatch: /usr/local/rappture/lib/tclConfig.sh from 8.4.16
Running Tcl 8.4.19
while executing

“exec nameofexecutable $dir/oommf.tcl odtcols “Oxs_TimeDriver::Simulation time” <./sample.odt”

invoked from within…

I’m pretty sure this minor tcl version mismatch is no where near a fatal error, but how can I get the rest of the code to not stop executing? Is this some sort of stderr issue in tcl?

Report abuse

1 Responses

  1. 0 Like 0 Dislike

    Kartik Acharya

    Try the “catch” command to continue executing..

    More information at http://wiki.tcl.tk/902

    Cancel Report abuse

    Please login to answer the question.

nanoHUB.org, a resource for nanoscience and nanotechnology, is supported by the National Science Foundation and other funding agencies. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.