.
D 2019-01-06T23:57:50.253
J icomment The\smentioned\smethod\s(tclEvalGetResult)\sis\snot\sfrom\sTcl\sself.\r\nThis\slooks\slike\ssome\sexternal\sinvocation.\sYou\sneed\sto\sprovide\sthe\spart\sof\scode\sinside\s(used\sTcl_Eval...\sor\ssimilar\sfunctions)\sin\sorder\sto\sfind\swhat\sis\swrong\shere.\s\r\n\r\nAnyway\sit\slooks\slike\ssome\sinitialization\sis\smissing\sthere\s(or\sauto-loading\sis\sbroken\sfor\ssome\sreasons).\r\nIf\syour\sscript\sis\srunning\sfrom\snot-properly\sinitialized\sTcl-interpreter\s(e.\sg.\swhere\soriginal\sinit.tcl\sis\snot\sevaluated),\syou'll\sbe\sunable\sto\sdo\sseveral\sthings.\r\nLike\sauto-loading\sof\sclock.tcl\s(happens\son\sdemand\sif\sclock-ensemble\sneeds\sto\sbe\sextended\swith\stclish\sprocedures).\r\n\r\nIn\sorder\sto\scheck\swhat\sis\sgoing\son\swithin\syour\sapplication,\s(e.\sg.\syou\shave\scorrect\stcl-library\sloaded,\setc.):\r\n-\scheck\sreturn\scode\safter\seach\sroutines\scalled\sto\sinitialize\sTcl\swithin\syour\sapplication,\sand\sif\sit\sis\snot\sTCL_OK,\splease\sprovide\sresult\sof\sTcl_GetReturnOptions\s(or\svalue\sof\s::errorInfo\svariable);\r\n-\stry\smanually\sload\sof\sclock.tcl,\slike\sfollowing\scode-piece\sand\stry\sagain\syour\scode/method\r\n```tcl\r\nsource\s[file\sjoin\s[info\slibrary]\sclock.tcl]\r\n```\r\nFor\sexample\syou\scan\stry\sto\sadd\sit\stemporary\sat\send\sof\syour\sinit.tcl\sto\stest\sit.\r\nIf\sit\swould\swork,\syou\smay\shave\ssome\scustomizations\sin\syour\sinit.tcl\sthat\savoid\sauto-loading\sresp.\sproduce\ssome\serrors\ssomewhere\sin\sloading/unknown-handlers.\r\nIf\snot\sthen\splease\sprovide\smore\sinfo\swhat\sis\stclEvalGetResult,\swhat\sit\sdoes\sand\show\sthe\stcl\sis\sinitialized\sin\sthe\sapplication\sand\show\sthe\stcl-install\sand\spackages\sfolders\slook.\r\n\r\nAnother\squestion\sis:\sis\sthis\sinterpreter\ssafe?\sand\sif\syes,\sdo\syou\shave\sanother\s(basically\smain)\sinterpreter\sthat\sis\snot\screated\sas\ssafe?
J login sebres
J mimetype text/plain
J subsystem 38.\sInit\s-\sLibrary\s-\sAutoload
K 15eb59f050a07d07c00264c238de758df4e1386d
U sebres
Z 2d36eda97772ff955d3cf8164fe69596