<i>"command returned bad code: 2" in bgerror</i> status still Open with 4 other changes
by
.
D 2010-11-08T07:56:37
J icomment [wibble::getline]\scalls\s[return\s-level\s[info\slevel]]\son\s[chan\seof\s$chan],\swhich\sis\sexactly\sthe\scode\spath\sthat's\sgiving\sme\strouble.\s\sThe\sintention\sis\sto\sterminate\sthe\scoroutine.\s\s[return\s-level\s[info\slevel]]\sallows\sthe\sfinally's\sto\strigger,\swhich\sis\swhat\sI\sneed.\s\s[rename\s[info\scoroutine]\s"";\syield]\sbypasses\sfinally,\sso\sI\scan't\suse\sit.\n\nThe\scoroutine\sis\sbeing\sinvoked\sby\s[chan\sevent].\s\sMore\saccurately,\s[chan\sevent]\sschedules\sit\sto\sbe\sinvoked\swhen\sthe\schannel\sis\sreadable.\n\nThe\sproblem\sgoes\saway\sif\sI\smodify\s[listen]\sto\schange\sthis\sline:\n\nchan\sevent\s$socket\sreadable\s[namespace\scode\s$socket]\n\nto\sthis\swordier\sversion\sthat\sinserts\sa\sstack\slevel\sbetween\sthe\scoroutine\sand\sthe\sevent\sloop:\n\nchan\sevent\s$socket\sreadable\s[list\sapply\s[list\s{}\s[list\s$socket]\s[namespace\scurrent]]]\n\nHowever,\sI\sdon't\sthink\sthis\sis\sthe\ssolution.\s\sThis\sappears\sto\sbe\sa\sregression\sin\sTcl,\sbecause\smy\scode\sworked\swithout\scomplaint\sin\sprevious\sCVS\srevisions\sof\sTcl\s8.6.\n\nSee\shttp://wiki.tcl.tk/_/revision?N=27377.txt&V=11\sfor\sthe\sversion\sof\sWibble\sI'm\susing.\s\sAlso,\sthanks\sfor\slooking\sinto\sthis.\n
J login andygoth
J mimetype text/plain
J username andygoth
K 3104471fffffffffffffffffffffffffffffffff
U andygoth
Z 4bdc8f7d5a6bbb6d0512f78013974b33