Error processing request

Parameters

CONTENT_LENGTH0
REQUEST_METHODGET
REQUEST_URI/revision/tailcall?V=8
QUERY_STRINGV=8
CONTENT_TYPE
DOCUMENT_URI/revision/tailcall
DOCUMENT_ROOT/var/www/nikit/nikit/nginx/../docroot
SCGI1
SERVER_PROTOCOLHTTP/1.1
HTTPSon
REMOTE_ADDR172.69.7.73
REMOTE_PORT20706
SERVER_PORT4443
SERVER_NAMEwiki.tcl-lang.org
HTTP_HOSTwiki.tcl-lang.org
HTTP_CONNECTIONKeep-Alive
HTTP_ACCEPT_ENCODINGgzip, br
HTTP_X_FORWARDED_FOR3.134.118.95
HTTP_CF_RAY87f0cb36ab9d6194-ORD
HTTP_X_FORWARDED_PROTOhttps
HTTP_CF_VISITOR{"scheme":"https"}
HTTP_ACCEPT*/*
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_CF_CONNECTING_IP3.134.118.95
HTTP_CDN_LOOPcloudflare
HTTP_CF_IPCOUNTRYUS

Body


Error

Unknow state transition: LINE -> END

-code

1

-level

0

-errorstack

INNER {returnImm {Unknow state transition: LINE -> END} {}} CALL {my render_wikit tailcall Like\ `\[uplevel\]\ 1`\ except\ that\ it\ also\ causes\ the\ current\ scope\ to\ terminate,\ though\ the\ command\ is\ looked\ up\ in\ the\ current\ context\ first.\ Consequence\ of\ \[NRE\].\n\n\n\n\n\n\ proc\ fred\ \{\}\ \{\n\ \ \ \ \ george\n\ \}\nproc\ george\ \{\}\ \{\n\ proc\ george\ \{\}\ \{\n\ \ \ \ \ \ tailcall\ harry\n\ \}\n\nIf\ I\ call\ fred,\ it's\ almost\ as\ though\ fred\ called\ harry\ directly,\ instead\ of\ george.\ \ Not\ so?\n\[MS\]:\ \ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\n\[MS\]\ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\ called.\ Now,\ if\ harry\ resolves\ to\ a\ different\ command\ in\ george's\ current\ namespace\ than\ it\ would\ under\ fred's,\ the\ harry\ that\ is\ called\ is\ george's\ and\ not\ fred's\ (no\ diff\ if\ the\ commands\ are\ FQ,\ of\ course).\nI\ think\ this\ does\ pretty\ much\ what\ delegation\ is\ supposed\ to\ do,\ right?\n\n----\n\n\[AMG\]:\ Sounds\ a\ lot\ like\ '''exec'''\ in\ \[Unix\ shells\].\n\[AMG\]:\ Sounds\ a\ lot\ like\ `exec`\ in\ \[Unix\ shells\].\ \ See\ \[execline\]\ for\ more\n----\nSee\ also\ \[TIP\]#\[http://tip.tcl.tk/327%|%327\]\n\n----\n***Interaction\ with\ \[try\]***\n===\n'''%'''\ proc\ foo\ \{\}\ \{puts\ \"I'm\ foo\"\}\n'''%'''\ proc\ bar\ \{\}\ \{puts\ \"I'm\ bar\"\;\ try\ \{\ tailcall\ foo\ \}\ finally\ \{\ puts\ \"exitting\"\ \}\}\n''I'm\ foo''\nI'm\ foo\n''I'm\ bar''\nI'm\ bar\nexitting\nI'm\ foo\n31-03-2015\ \[HE\]\ I'm\ sure\ \;-)\ that\ I\ don't\ understood\ what\ happend\ there.\ Why\ \"exiting\"\ is\ printed\ before\ \"I'm\ foo\"\ when\ I\ call\ bar?\n\n\[wdb\]:\ Apparently,\ the\ `tailcall`\ closes\ one\ of\ the\ last\ gaps\ in\n!!!!!!\n%|\ \[Category\ Command\]\ |%\n!!!!!! regexp2} CALL {my render tailcall Like\ `\[uplevel\]\ 1`\ except\ that\ it\ also\ causes\ the\ current\ scope\ to\ terminate,\ though\ the\ command\ is\ looked\ up\ in\ the\ current\ context\ first.\ Consequence\ of\ \[NRE\].\n\n\n\n\n\n\ proc\ fred\ \{\}\ \{\n\ \ \ \ \ george\n\ \}\nproc\ george\ \{\}\ \{\n\ proc\ george\ \{\}\ \{\n\ \ \ \ \ \ tailcall\ harry\n\ \}\n\nIf\ I\ call\ fred,\ it's\ almost\ as\ though\ fred\ called\ harry\ directly,\ instead\ of\ george.\ \ Not\ so?\n\[MS\]:\ \ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\n\[MS\]\ yup\ -\ all\ traces\ of\ george\ are\ gone\ from\ the\ program\ stack\ when\ harry\ is\ called.\ Now,\ if\ harry\ resolves\ to\ a\ different\ command\ in\ george's\ current\ namespace\ than\ it\ would\ under\ fred's,\ the\ harry\ that\ is\ called\ is\ george's\ and\ not\ fred's\ (no\ diff\ if\ the\ commands\ are\ FQ,\ of\ course).\nI\ think\ this\ does\ pretty\ much\ what\ delegation\ is\ supposed\ to\ do,\ right?\n\n----\n\n\[AMG\]:\ Sounds\ a\ lot\ like\ '''exec'''\ in\ \[Unix\ shells\].\n\[AMG\]:\ Sounds\ a\ lot\ like\ `exec`\ in\ \[Unix\ shells\].\ \ See\ \[execline\]\ for\ more\n----\nSee\ also\ \[TIP\]#\[http://tip.tcl.tk/327%|%327\]\n\n----\n***Interaction\ with\ \[try\]***\n===\n'''%'''\ proc\ foo\ \{\}\ \{puts\ \"I'm\ foo\"\}\n'''%'''\ proc\ bar\ \{\}\ \{puts\ \"I'm\ bar\"\;\ try\ \{\ tailcall\ foo\ \}\ finally\ \{\ puts\ \"exitting\"\ \}\}\n''I'm\ foo''\nI'm\ foo\n''I'm\ bar''\nI'm\ bar\nexitting\nI'm\ foo\n31-03-2015\ \[HE\]\ I'm\ sure\ \;-)\ that\ I\ don't\ understood\ what\ happend\ there.\ Why\ \"exiting\"\ is\ printed\ before\ \"I'm\ foo\"\ when\ I\ call\ bar?\n\n\[wdb\]:\ Apparently,\ the\ `tailcall`\ closes\ one\ of\ the\ last\ gaps\ in\n!!!!!!\n%|\ \[Category\ Command\]\ |%\n!!!!!!} CALL {my revision tailcall} CALL {::oo::Obj6039041 process revision/tailcall} CALL {::oo::Obj6039039 process}

-errorcode

NONE

-errorinfo

Unknow state transition: LINE -> END
    while executing
"error $msg"
    (class "::Wiki" method "render_wikit" line 6)
    invoked from within
"my render_$default_markup $N $C $mkup_rendering_engine"
    (class "::Wiki" method "render" line 8)
    invoked from within
"my render $name $C"
    (class "::Wiki" method "revision" line 31)
    invoked from within
"my revision $page"
    (class "::Wiki" method "process" line 56)
    invoked from within
"$server process [string trim $uri /]"

-errorline

4