Got the error Server Internal Error
while trying to obtain /DataAcquisitionControl/DataAcquisitionStats.tml.
can't read "cgiNUMdata": no such variable while executing "InsertLog "cgidata= ([llength $cgidata]) $cgiNUMdata"" (procedure "do_click" line 9) invoked from within "do_click" invoked from within "if {$started != 0} { variable JS "" variable LogFlag if {$LogFlag == 1} {InsertLog "Last Updated: [clock format [clock seconds] -form..." (file "DataAcquisitionStats.tcl" line 8) invoked from within "source DataAcquisitionStats.tcl" (in namespace eval "::DataAcquisitionStats" script line 3) invoked from within "namespace eval DataAcquisitionStats { source Global.tcl source DataAcquisitionStats.tcl source DataAcquisitionStatsALL.tcl ..." invoked from within "subst { [Doc_Dynamic] [global env; source [file join $env(MIDASBASE) TclHttpd Html settings.tml]] <! [global Httpd; upvar #0 Httpd[set Httpd(curren..." ("uplevel" body line 1) invoked from within "uplevel #0 [list subst $script]" (procedure "SubstFile" line 12) invoked from within "SubstFile /MIDAS@aidas/TclHttpd/Html/DataAcquisitionControl/DataAcquisitionStats.tml {}" ("uplevel" body line 1) invoked from within "uplevel 1 [list SubstFile $path $interp]" (procedure "Subst_File" line 7) invoked from within "Subst_File $template $interp" invoked from within "TemplateInstantiate $sock $path {} $suffix {} $Template(templateInterp)" (procedure "Doc_application/x-tcl-template" line 9) invoked from within "$cmd $path $suffix $sock" (procedure "Doc_Handle" line 20) invoked from within "Doc_Handle $prefix $path $suffix $sock" (procedure "DocDomain" line 44) invoked from within "DocDomain / /MIDAS@aidas/TclHttpd/Html sock8 DataAcquisitionControl/DataAcquisitionStats.tml" ("eval" body line 1) invoked from within "eval $Url(command,$prefix) [list $sock $suffix]"
Tcl Call Trace
5: DocSubstSystemFile sock8 error 500 can't\ read\ "\;cgiNUMdata"\;:\ no\ such\ variable\n\ \ \ \ while\ executing\n"\;InsertLog\ "\;cgidata=\ (\[llength\ \$cgidata\])\ \$cgiNUMdata"\;"\;\n\ \ \ \ (procedure\ "\;do_click"\;\ line\ 9)\n\ \ \ \ invoked\ from\ within\n"\;do_click"\;\n\ \ \ \ invoked\ from\ within\n"\;if\ \{\$started\ !=\ 0\}\ \{\n\n\ \ \ \ \ variable\ JS\ "\;"\;\n\ \ \ \ \ variable\ LogFlag\n\n\ \ \ \ \ if\ \{\$LogFlag\ ==\ 1\}\ \{InsertLog\ "\;Last\ Updated:\ \[clock\ format\ \[clock\ seconds\]\ -form..."\;\n\ \ \ \ (file\ "\;DataAcquisitionStats.tcl"\;\ line\ 8)\n\ \ \ \ invoked\ from\ within\n"\;source\ DataAcquisitionStats.tcl"\;\n\ \ \ \ (in\ namespace\ eval\ "\;::DataAcquisitionStats"\;\ script\ line\ 3)\n\ \ \ \ invoked\ from\ within\n"\;namespace\ eval\ DataAcquisitionStats\ \{\n\ \ \ \ \ \ \ source\ Global.tcl\n\ \ \ \ \ \ \ source\ DataAcquisitionStats.tcl\n\ \ \ \ \ \ \ source\ DataAcquisitionStatsALL.tcl\n\ \ \ \ \ \ ..."\;\n\ \ \ \ invoked\ from\ within\n"\;subst\ \{\n\n\[Doc_Dynamic\]\n\n\[global\ env\;\ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ Html\ settings.tml\]\]\n\n<\;!\n\[global\ Httpd\;\ upvar\ #0\ Httpd\[set\ Httpd(curren..."\;\n\ \ \ \ ("\;uplevel"\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n"\;uplevel\ #0\ \[list\ subst\ \$script\]"\;\n\ \ \ \ (procedure\ "\;SubstFile"\;\ line\ 12)\n\ \ \ \ invoked\ from\ within\n"\;SubstFile\ /MIDAS@aidas/TclHttpd/Html/DataAcquisitionControl/DataAcquisitionStats.tml\ \{\}"\;\n\ \ \ \ ("\;uplevel"\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n"\;uplevel\ 1\ \[list\ SubstFile\ \$path\ \$interp\]"\;\n\ \ \ \ (procedure\ "\;Subst_File"\;\ line\ 7)\n\ \ \ \ invoked\ from\ within\n"\;Subst_File\ \$template\ \$interp"\;\n\ \ \ \ invoked\ from\ within\n"\;TemplateInstantiate\ \$sock\ \$path\ \{\}\ \$suffix\ \{\}\ \$Template(templateInterp)"\;\n\ \ \ \ (procedure\ "\;Doc_application/x-tcl-template"\;\ line\ 9)\n\ \ \ \ invoked\ from\ within\n"\;\$cmd\ \$path\ \$suffix\ \$sock"\;\n\ \ \ \ (procedure\ "\;Doc_Handle"\;\ line\ 20)\n\ \ \ \ invoked\ from\ within\n"\;Doc_Handle\ \$prefix\ \$path\ \$suffix\ \$sock"\;\n\ \ \ \ (procedure\ "\;DocDomain"\;\ line\ 44)\n\ \ \ \ invoked\ from\ within\n"\;DocDomain\ /\ /MIDAS@aidas/TclHttpd/Html\ sock8\ DataAcquisitionControl/DataAcquisitionStats.tml"\;\n\ \ \ \ ("\;eval"\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n"\;eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]"\;
4: Doc_Error sock8 can't\ read\ \"cgiNUMdata\":\ no\ such\ variable\n\ \ \ \ while\ executing\n\"InsertLog\ \"cgidata=\ (\[llength\ \$cgidata\])\ \$cgiNUMdata\"\"\n\ \ \ \ (procedure\ \"do_click\"\ line\ 9)\n\ \ \ \ invoked\ from\ within\n\"do_click\"\n\ \ \ \ invoked\ from\ within\n\"if\ \{\$started\ !=\ 0\}\ \{\n\n\ \ \ \ \ variable\ JS\ \"\"\n\ \ \ \ \ variable\ LogFlag\n\n\ \ \ \ \ if\ \{\$LogFlag\ ==\ 1\}\ \{InsertLog\ \"Last\ Updated:\ \[clock\ format\ \[clock\ seconds\]\ -form...\"\n\ \ \ \ (file\ \"DataAcquisitionStats.tcl\"\ line\ 8)\n\ \ \ \ invoked\ from\ within\n\"source\ DataAcquisitionStats.tcl\"\n\ \ \ \ (in\ namespace\ eval\ \"::DataAcquisitionStats\"\ script\ line\ 3)\n\ \ \ \ invoked\ from\ within\n\"namespace\ eval\ DataAcquisitionStats\ \{\n\ \ \ \ \ \ \ source\ Global.tcl\n\ \ \ \ \ \ \ source\ DataAcquisitionStats.tcl\n\ \ \ \ \ \ \ source\ DataAcquisitionStatsALL.tcl\n\ \ \ \ \ \ ...\"\n\ \ \ \ invoked\ from\ within\n\"subst\ \{\n\n\[Doc_Dynamic\]\n\n\[global\ env\;\ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ Html\ settings.tml\]\]\n\n<!\n\[global\ Httpd\;\ upvar\ #0\ Httpd\[set\ Httpd(curren...\"\n\ \ \ \ (\"uplevel\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"uplevel\ #0\ \[list\ subst\ \$script\]\"\n\ \ \ \ (procedure\ \"SubstFile\"\ line\ 12)\n\ \ \ \ invoked\ from\ within\n\"SubstFile\ /MIDAS@aidas/TclHttpd/Html/DataAcquisitionControl/DataAcquisitionStats.tml\ \{\}\"\n\ \ \ \ (\"uplevel\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"uplevel\ 1\ \[list\ SubstFile\ \$path\ \$interp\]\"\n\ \ \ \ (procedure\ \"Subst_File\"\ line\ 7)\n\ \ \ \ invoked\ from\ within\n\"Subst_File\ \$template\ \$interp\"\n\ \ \ \ invoked\ from\ within\n\"TemplateInstantiate\ \$sock\ \$path\ \{\}\ \$suffix\ \{\}\ \$Template(templateInterp)\"\n\ \ \ \ (procedure\ \"Doc_application/x-tcl-template\"\ line\ 9)\n\ \ \ \ invoked\ from\ within\n\"\$cmd\ \$path\ \$suffix\ \$sock\"\n\ \ \ \ (procedure\ \"Doc_Handle\"\ line\ 20)\n\ \ \ \ invoked\ from\ within\n\"Doc_Handle\ \$prefix\ \$path\ \$suffix\ \$sock\"\n\ \ \ \ (procedure\ \"DocDomain\"\ line\ 44)\n\ \ \ \ invoked\ from\ within\n\"DocDomain\ /\ /MIDAS@aidas/TclHttpd/Html\ sock8\ DataAcquisitionControl/DataAcquisitionStats.tml\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]\"
3: Url_Unwind sock8 can't\ read\ \"cgiNUMdata\":\ no\ such\ variable\n\ \ \ \ while\ executing\n\"InsertLog\ \"cgidata=\ (\[llength\ \$cgidata\])\ \$cgiNUMdata\"\"\n\ \ \ \ (procedure\ \"do_click\"\ line\ 9)\n\ \ \ \ invoked\ from\ within\n\"do_click\"\n\ \ \ \ invoked\ from\ within\n\"if\ \{\$started\ !=\ 0\}\ \{\n\n\ \ \ \ \ variable\ JS\ \"\"\n\ \ \ \ \ variable\ LogFlag\n\n\ \ \ \ \ if\ \{\$LogFlag\ ==\ 1\}\ \{InsertLog\ \"Last\ Updated:\ \[clock\ format\ \[clock\ seconds\]\ -form...\"\n\ \ \ \ (file\ \"DataAcquisitionStats.tcl\"\ line\ 8)\n\ \ \ \ invoked\ from\ within\n\"source\ DataAcquisitionStats.tcl\"\n\ \ \ \ (in\ namespace\ eval\ \"::DataAcquisitionStats\"\ script\ line\ 3)\n\ \ \ \ invoked\ from\ within\n\"namespace\ eval\ DataAcquisitionStats\ \{\n\ \ \ \ \ \ \ source\ Global.tcl\n\ \ \ \ \ \ \ source\ DataAcquisitionStats.tcl\n\ \ \ \ \ \ \ source\ DataAcquisitionStatsALL.tcl\n\ \ \ \ \ \ ...\"\n\ \ \ \ invoked\ from\ within\n\"subst\ \{\n\n\[Doc_Dynamic\]\n\n\[global\ env\;\ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ Html\ settings.tml\]\]\n\n<!\n\[global\ Httpd\;\ upvar\ #0\ Httpd\[set\ Httpd(curren...\"\n\ \ \ \ (\"uplevel\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"uplevel\ #0\ \[list\ subst\ \$script\]\"\n\ \ \ \ (procedure\ \"SubstFile\"\ line\ 12)\n\ \ \ \ invoked\ from\ within\n\"SubstFile\ /MIDAS@aidas/TclHttpd/Html/DataAcquisitionControl/DataAcquisitionStats.tml\ \{\}\"\n\ \ \ \ (\"uplevel\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"uplevel\ 1\ \[list\ SubstFile\ \$path\ \$interp\]\"\n\ \ \ \ (procedure\ \"Subst_File\"\ line\ 7)\n\ \ \ \ invoked\ from\ within\n\"Subst_File\ \$template\ \$interp\"\n\ \ \ \ invoked\ from\ within\n\"TemplateInstantiate\ \$sock\ \$path\ \{\}\ \$suffix\ \{\}\ \$Template(templateInterp)\"\n\ \ \ \ (procedure\ \"Doc_application/x-tcl-template\"\ line\ 9)\n\ \ \ \ invoked\ from\ within\n\"\$cmd\ \$path\ \$suffix\ \$sock\"\n\ \ \ \ (procedure\ \"Doc_Handle\"\ line\ 20)\n\ \ \ \ invoked\ from\ within\n\"Doc_Handle\ \$prefix\ \$path\ \$suffix\ \$sock\"\n\ \ \ \ (procedure\ \"DocDomain\"\ line\ 44)\n\ \ \ \ invoked\ from\ within\n\"DocDomain\ /\ /MIDAS@aidas/TclHttpd/Html\ sock8\ DataAcquisitionControl/DataAcquisitionStats.tml\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]\" |