AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  AIDA  ELOG logo
Message ID: 109     Entry time: Fri May 22 11:26:43 2015
Author: TD 
Subject: Internal Server Error - attempting to save settings to /MIDAS/DB/EXPERIMENTS/AIDA/2015May22-11.19.38 

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\ &quot\;env(MIDASBASE)&quot\;:\ no\ such\ variable\n\ \ \ \ while\ executing\n&quot\;file\ join\ \$env(MIDASBASE)\ XilinxLinux\ ppc_4xx\ rfs\ \$fee64\ tmp\ SaveState.log&quot\;\n\ \ \ \ (procedure\ &quot\;do_Save&quot\;\ line\ 17)\n\ \ \ \ invoked\ from\ within\n&quot\;do_Save&quot\;\n\ \ \ \ (&quot\;SAVE&quot\;\ arm\ line\ 1)\n\ \ \ \ invoked\ from\ within\n&quot\;switch\ -glob\ \[lindex\ \$w\ 0\]\ \{\n\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ RESET\ \ \ \ \{set\ started\ 0\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ CLEAR\ \ \ \ \{EmptyLog\}\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ELOG\ \ \ \ \ \{PrintLog\}\n\ \ \ \ \ \ \ ...&quot\;\n\ \ \ \ (procedure\ &quot\;do_click&quot\;\ line\ 21)\n\ \ \ \ invoked\ from\ within\n&quot\;do_click&quot\;\n\ \ \ \ invoked\ from\ within\n&quot\;if\ \{\$started\ !=\ 0\}\ \{\n\n\ \ \ \ \ variable\ JS\ &quot\;&quot\;\n\ \ \ \ \ variable\ LogFlag\n\n\ \ \ \ if\ \{\$LogFlag\ ==\ 1\}\ \{InsertLog\ &quot\;Last\ Updated:\ \[clock\ format\ \[clock\ seconds\]\ -forma...&quot\;\n\ \ \ \ (file\ &quot\;SaveRestore.tcl&quot\;\ line\ 8)\n\ \ \ \ invoked\ from\ within\n&quot\;source\ SaveRestore.tcl&quot\;\n\ \ \ \ (in\ namespace\ eval\ &quot\;::AIDA_SaveRestore&quot\;\ script\ line\ 6)\n\ \ \ \ invoked\ from\ within\n&quot\;namespace\ eval\ AIDA_SaveRestore\ \{\n\ \ \ \ \ \ \ global\ env\n\ \ \ \ \ \ \ source\ \[file\ join\ \$env(MIDASBASE)\ TclHttpd\ tcl\ Common\ common.tcl\]\n\ \ \ \ \ \ \ source\ \[file\ join\ ...&quot\;\n\ \ \ \ invoked\ from\ within\n&quot\;subst\ \\n\\n\\\[Doc_Dynamic\\\]\\n\\n&lt\;html&gt\;\\n&lt\;head&gt\;\\n\\n&lt\;title&gt\;Module\\\ Settings\\\ Save/Restore&lt\;/title&gt\;\\n\\n\\\[global\\\ env\\\;\\\ source\\\ \\\[file\\\ join\\\ \\\$env(MIDASBASE...&quot\;\n\ \ \ \ (&quot\;uplevel&quot\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n&quot\;uplevel\ #0\ \[list\ subst\ \$script\]&quot\;\n\ \ \ \ (procedure\ &quot\;SubstFile&quot\;\ line\ 12)\n\ \ \ \ invoked\ from\ within\n&quot\;SubstFile\ /MIDAS/TclHttpd/Html/AIDA/SaveRestore/SaveRestore.tml\ \{\}&quot\;\n\ \ \ \ (&quot\;uplevel&quot\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n&quot\;uplevel\ 1\ \[list\ SubstFile\ \$path\ \$interp\]&quot\;\n\ \ \ \ (procedure\ &quot\;Subst_File&quot\;\ line\ 7)\n\ \ \ \ invoked\ from\ within\n&quot\;Subst_File\ \$template\ \$interp&quot\;\n\ \ \ \ invoked\ from\ within\n&quot\;TemplateInstantiate\ \$sock\ \$path\ \{\}\ \$suffix\ \{\}\ \$Template(templateInterp)&quot\;\n\ \ \ \ (procedure\ &quot\;Doc_application/x-tcl-template&quot\;\ line\ 9)\n\ \ \ \ invoked\ from\ within\n&quot\;\$cmd\ \$path\ \$suffix\ \$sock&quot\;\n\ \ \ \ (procedure\ &quot\;Doc_Handle&quot\;\ line\ 20)\n\ \ \ \ invoked\ from\ within\n&quot\;Doc_Handle\ \$prefix\ \$path\ \$suffix\ \$sock&quot\;\n\ \ \ \ (procedure\ &quot\;DocDomain&quot\;\ line\ 44)\n\ \ \ \ invoked\ from\ within\n&quot\;DocDomain\ /\ /MIDAS/TclHttpd/Html\ sock8\ AIDA/SaveRestore/SaveRestore.tml&quot\;\n\ \ \ \ (&quot\;eval&quot\;\ body\ line\ 1)\n\ \ \ \ invoked\ from\ within\n&quot\;eval\ \$Url(command,\$prefix)\ \[list\ \$sock\ \$suffix\]&quot\;
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 {

ELOG V3.1.4-unknown