Got the error Server Internal Error
while trying to obtain /AIDA/SaveRestore/SaveRestore.tml.
can't read "env(MIDASBASE)": no such variable while executing "file join $env(MIDASBASE) XilinxLinux ppc_4xx rfs $fee64 tmp SaveState.log" (procedure "do_Save" line 17) invoked from within "do_Save" ("SAVE" arm line 1) invoked from within "switch -glob [lindex $w 0] { RESET {set started 0} CLEAR {EmptyLog} ELOG {PrintLog} ..." (procedure "do_click" line 21) 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] -forma..." (file "SaveRestore.tcl" line 8) invoked from within "source SaveRestore.tcl" (in namespace eval "::AIDA_SaveRestore" script line 6) invoked from within "namespace eval AIDA_SaveRestore { global env source [file join $env(MIDASBASE) TclHttpd tcl Common common.tcl] source [file join ..." invoked from within "subst \n\n\[Doc_Dynamic\]\n\n<html>\n<head>\n\n<title>Module\ Settings\ Save/Restore</title>\n\n\[global\ env\;\ source\ \[file\ join\ \$env(MIDASBASE..." ("uplevel" body line 1) invoked from within "uplevel #0 [list subst $script]" (procedure "SubstFile" line 12) invoked from within "SubstFile /MIDAS/TclHttpd/Html/AIDA/SaveRestore/SaveRestore.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/TclHttpd/Html sock8 AIDA/SaveRestore/SaveRestore.tml" ("eval" body line 1) invoked from within "eval $Url(command,$prefix) [list $sock $suffix]"
Tcl Call Trace
6: DocSubstSystemFile sock8 error 500 can't\ read\ "\;env(MIDASBASE)"\;:\ no\ such\ variable\n\ \ \ \ while\ executing\n"\;file\ join\ \$env(MIDASBASE)\ XilinxLinux\ ppc_4xx\ rfs\ \$fee64\ tmp\ SaveState.log"\;\n\ \ \ \ (procedure\ "\;do_Save"\;\ line\ 17)\n\ \ \ \ invoked\ from\ within\n"\;do_Save"\;\n\ \ \ \ ("\;SAVE"\;\ arm\ line\ 1)\n\ \ \ \ invoked\ from\ within\n"\;switch\ -glob\ \[lindex\ \$w\ 0\]\ \{\n\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ RESET\ \ \ \ \{set\ started\ 0\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CLEAR\ \ \ \ \{EmptyLog\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ELOG\ \ \ \ \ \{PrintLog\}\n\ \ \ \ \ \ \ ..."\;\n\ \ \ \ (procedure\ "\;do_click"\;\ line\ 21)\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\]\ -forma..."\;\n\ \ \ \ (file\ "\;SaveRestore.tcl"\;\ line\ 8)\n\ \ \ \ invoked\ from\ within\n"\;source\ SaveRestore.tcl"\;\n\ \ \ \ (in\ namespace\ eval\ "\;::AIDA_SaveRestore"\;\ script\ line\ 6)\n\ \ \ \ invoked\ from\ within\n"\;namespace\ eval\ AIDA_SaveRestore\ \{\n\ \ \ \ \ \ \ global\ env\n\ \ \ \ \ \ \ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ tcl\ Common\ common.tcl\]\n\ \ \ \ \ \ \ source\ \[file\ join\ ..."\;\n\ \ \ \ invoked\ from\ within\n"\;subst\ \\n\\n\\\[Doc_Dynamic\\\]\\n\\n<\;html>\;\\n<\;head>\;\\n\\n<\;title>\;Module\\\ Settings\\\ Save/Restore<\;/title>\;\\n\\n\\\[global\\\ env\\\;\\\ source\\\ \\\[file\\\ join\\\ \\\$env(MIDASBASE..."\;\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/TclHttpd/Html/AIDA/SaveRestore/SaveRestore.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/TclHttpd/Html\ sock8\ AIDA/SaveRestore/SaveRestore.tml"\;\n\ \ \ \ ("\;eval"\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n"\;eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]"\;
5: Doc_Error sock8 can't\ read\ \"env(MIDASBASE)\":\ no\ such\ variable\n\ \ \ \ while\ executing\n\"file\ join\ \$env(MIDASBASE)\ XilinxLinux\ ppc_4xx\ rfs\ \$fee64\ tmp\ SaveState.log\"\n\ \ \ \ (procedure\ \"do_Save\"\ line\ 17)\n\ \ \ \ invoked\ from\ within\n\"do_Save\"\n\ \ \ \ (\"SAVE\"\ arm\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"switch\ -glob\ \[lindex\ \$w\ 0\]\ \{\n\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ RESET\ \ \ \ \{set\ started\ 0\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CLEAR\ \ \ \ \{EmptyLog\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ELOG\ \ \ \ \ \{PrintLog\}\n\ \ \ \ \ \ \ ...\"\n\ \ \ \ (procedure\ \"do_click\"\ line\ 21)\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\]\ -forma...\"\n\ \ \ \ (file\ \"SaveRestore.tcl\"\ line\ 8)\n\ \ \ \ invoked\ from\ within\n\"source\ SaveRestore.tcl\"\n\ \ \ \ (in\ namespace\ eval\ \"::AIDA_SaveRestore\"\ script\ line\ 6)\n\ \ \ \ invoked\ from\ within\n\"namespace\ eval\ AIDA_SaveRestore\ \{\n\ \ \ \ \ \ \ global\ env\n\ \ \ \ \ \ \ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ tcl\ Common\ common.tcl\]\n\ \ \ \ \ \ \ source\ \[file\ join\ ...\"\n\ \ \ \ invoked\ from\ within\n\"subst\ \\n\\n\\\[Doc_Dynamic\\\]\\n\\n<html>\\n<head>\\n\\n<title>Module\\\ Settings\\\ Save/Restore</title>\\n\\n\\\[global\\\ env\\\;\\\ source\\\ \\\[file\\\ join\\\ \\\$env(MIDASBASE...\"\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/TclHttpd/Html/AIDA/SaveRestore/SaveRestore.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/TclHttpd/Html\ sock8\ AIDA/SaveRestore/SaveRestore.tml\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]\"
4: Url_Unwind sock8 can't\ read\ \"env(MIDASBASE)\":\ no\ such\ variable\n\ \ \ \ while\ executing\n\"file\ join\ \$env(MIDASBASE)\ XilinxLinux\ ppc_4xx\ rfs\ \$fee64\ tmp\ SaveState.log\"\n\ \ \ \ (procedure\ \"do_Save\"\ line\ 17)\n\ \ \ \ invoked\ from\ within\n\"do_Save\"\n\ \ \ \ (\"SAVE\"\ arm\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"switch\ -glob\ \[lindex\ \$w\ 0\]\ \{\n\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ RESET\ \ \ \ \{set\ started\ 0\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CLEAR\ \ \ \ \{EmptyLog\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ELOG\ \ \ \ \ \{PrintLog\}\n\ \ \ \ \ \ \ ...\"\n\ \ \ \ (procedure\ \"do_click\"\ line\ 21)\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\]\ -forma...\"\n\ \ \ \ (file\ \"SaveRestore.tcl\"\ line\ 8)\n\ \ \ \ invoked\ from\ within\n\"source\ SaveRestore.tcl\"\n\ \ \ \ (in\ namespace\ eval\ \"::AIDA_SaveRestore\"\ script\ line\ 6)\n\ \ \ \ invoked\ from\ within\n\"namespace\ eval\ AIDA_SaveRestore\ \{\n\ \ \ \ \ \ \ global\ env\n\ \ \ \ \ \ \ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ tcl\ Common\ common.tcl\]\n\ \ \ \ \ \ \ source\ \[file\ join\ ...\"\n\ \ \ \ invoked\ from\ within\n\"subst\ \\n\\n\\\[Doc_Dynamic\\\]\\n\\n<html>\\n<head>\\n\\n<title>Module\\\ Settings\\\ Save/Restore</title>\\n\\n\\\[global\\\ env\\\;\\\ source\\\ \\\[file\\\ join\\\ \\\$env(MIDASBASE...\"\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/TclHttpd/Html/AIDA/SaveRestore/SaveRestore.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/TclHttpd/Html\ sock8\ AIDA/SaveRestore/SaveRestore.tml\"\n\ \ \ \ (\"eval\"\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n\"eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]\" NONE
3: Url_DeferredDispatch / AIDA/SaveRestore/SaveRestore.tml sock8 buffer {}
2: HttpdReadPost sock8 buffer 16384 {Url_DeferredDispatch / AIDA/SaveRestore/SaveRestore.tml}
1: HttpdReadPostGlobal sock8 Httpdsock8(query) 16384 { |