Error processing request

Parameters

CONTENT_LENGTH0
REQUEST_METHODGET
REQUEST_URI/revision/Move+any+widget?V=2
QUERY_STRINGV=2
CONTENT_TYPE
DOCUMENT_URI/revision/Move+any+widget
DOCUMENT_ROOT/var/www/nikit/nikit/nginx/../docroot
SCGI1
SERVER_PROTOCOLHTTP/1.1
HTTPSon
REMOTE_ADDR172.69.6.205
REMOTE_PORT26834
SERVER_PORT4443
SERVER_NAMEwiki.tcl-lang.org
HTTP_HOSTwiki.tcl-lang.org
HTTP_CONNECTIONKeep-Alive
HTTP_ACCEPT_ENCODINGgzip, br
HTTP_X_FORWARDED_FOR18.118.9.146
HTTP_CF_RAY87a9e1495a3d61cc-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_IP18.118.9.146
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 {Move any widget} In\ my\ quest\ to\ develop\ a\ gui\ generator,\ I\ have\ reached\ a\ stage\ in\ which\ I\ need\ to\ provide\ the\ user\ the\ ability\ to\ explore\ widgets\ placement\ and\ do\ a\ quick\ and\ easy\ form\ layout\ design.\ Same\ idea\ as\ some\ of\ us\ are\ already\ familiar\ with\ within\ Visual\ Basic\ and\ C++.\ The\ code\ presented\ here\ is\ a\ simplified\ version\ in\ order\ to\ be\ able\ to\ share\ it\ with\ a\ wider\ tcl/tk\ community,\ from\ newbie\ to\ guru.\n\nThe\ code\ as\ presented\ is\ developed\ in\ &\ for\ (yes,\ the\ tool\ is\ creating\ itself)\ http://www.youtube.com/watch?v=PEoouTkjsLo%|%tG2\ v1.06.01%|%\n\nSome\ limitations\ which\ have\ already\ been\ solved\ in\ tG2:\n\ \ -\ the\ titlebar\ height\ and\ framewidth\ of\ a\ toplevel\ is\ assumed\ fixed\n\ \ -\ when\ widgets\ are\ placed\ in\ frames,\ it\ will\ create\ another\ offset\ which\ needs\ to\ be\ taken\ into\ account,\ recursively...\n\nThe\ presented\ code\ is\ tested\ with\ tcl/tk\ v8.4.19\ &\ WinXP\ OS.\n\n======\n#\ ------------------------------------------------------------------------------\nbind\ .\ <Configure>\ \{set\ components(geo)\ \[split\ \[split\ \[wm\ geometry\ .\]\ \"x\"\]\ \"+\"\]\}\n\n#\ ------------------------------------------------------------------------------\nbind\ .\ <Motion>\ \{\n\ \ if\ \{\$components(moveObject)\ !=\ \"\"\}\ \{\n\ \ \ \ place\ \$components(moveObject)\ \\\n\ \ \ \ \ \ -x\ \[expr\ \[winfo\ pointerx\ .\]\ -\ \[lindex\ \$components(geo)\ 1\]\ -\ 3\ \ -\ \$objectXoff\]\ \\\n\ \ \ \ \ \ -y\ \[expr\ \[winfo\ pointery\ .\]\ -\ \[lindex\ \$components(geo)\ 2\]\ -\ 29\ -\ \$objectYoff\]\n\ \ \}\n\}\n\n#\ ------------------------------------------------------------------------------\nproc\ makeMovableObject\ \{w\}\ \{\n\ \ set\ cmd\ \"bind\ \$w\ \ <Motion>\ \ \ \ \\\{\$w\ config\ -cursor\ crosshair\\\}\"\;\ eval\ \$cmd\n\ \ set\ cmd\ \"bind\ \$w\ \ <Leave>\ \ \ \ \ \\\{\$w\ config\ -cursor\ \\\"\\\"\\\}\"\;\ eval\ \$cmd\n\ \ set\ cmd\ \"bind\ \$w\ \ <ButtonPress-1>\ \ \ \\\{+\;\ \n\ \ \ \ set\ objectXoff\ \\\[expr\ %x\]\n\ \ \ \ set\ objectYoff\ \\\[expr\ %y\]\n\ \ \ \ set\ components(moveObject)\ \$w\n\ \ \ \ eval\ \\\[bind\ .\ <Motion>\\\]\n\ \ \\\}\"\n\ \ eval\ \$cmd\n\ \ \n\ \ bind\ \$w\ <ButtonRelease-1>\ \{+\;\ \n\ \ \ \ set\ components(moveObject)\ \"\"\n\ \ \}\n\}\n\nset\ components(moveObject)\ \"\"\neval\ \[bind\ .\ <Configure>\]\n\n#\ ----------------------------------\ TEST\ CODE\ ---------------------------------\nbutton\ .button1\ -text\ \"hello\ world\"\nplace\ .button1\ -x\ 50\ -y\ 50\nmakeMovableObject\ .button1\n\nlabel\ .label1\ -text\ \"hello\ again\"\nplace\ .label1\ -x\ 50\ -y\ 80\nmakeMovableObject\ .label1\n======\n\n----\n\n\[Fabricio\ Rocha\]\ -\ 14\ Mar\ 2010\ -\ Very\ interesting\ project,\ Lars....\ Is\ there\ any\ way\ to\ contact\ you?\ I\ found\ no\ info\ in\ your\ page...\n\n======\n<<categories>>widget regexp2} CALL {my render {Move any widget} In\ my\ quest\ to\ develop\ a\ gui\ generator,\ I\ have\ reached\ a\ stage\ in\ which\ I\ need\ to\ provide\ the\ user\ the\ ability\ to\ explore\ widgets\ placement\ and\ do\ a\ quick\ and\ easy\ form\ layout\ design.\ Same\ idea\ as\ some\ of\ us\ are\ already\ familiar\ with\ within\ Visual\ Basic\ and\ C++.\ The\ code\ presented\ here\ is\ a\ simplified\ version\ in\ order\ to\ be\ able\ to\ share\ it\ with\ a\ wider\ tcl/tk\ community,\ from\ newbie\ to\ guru.\n\nThe\ code\ as\ presented\ is\ developed\ in\ &\ for\ (yes,\ the\ tool\ is\ creating\ itself)\ http://www.youtube.com/watch?v=PEoouTkjsLo%|%tG2\ v1.06.01%|%\n\nSome\ limitations\ which\ have\ already\ been\ solved\ in\ tG2:\n\ \ -\ the\ titlebar\ height\ and\ framewidth\ of\ a\ toplevel\ is\ assumed\ fixed\n\ \ -\ when\ widgets\ are\ placed\ in\ frames,\ it\ will\ create\ another\ offset\ which\ needs\ to\ be\ taken\ into\ account,\ recursively...\n\nThe\ presented\ code\ is\ tested\ with\ tcl/tk\ v8.4.19\ &\ WinXP\ OS.\n\n======\n#\ ------------------------------------------------------------------------------\nbind\ .\ <Configure>\ \{set\ components(geo)\ \[split\ \[split\ \[wm\ geometry\ .\]\ \"x\"\]\ \"+\"\]\}\n\n#\ ------------------------------------------------------------------------------\nbind\ .\ <Motion>\ \{\n\ \ if\ \{\$components(moveObject)\ !=\ \"\"\}\ \{\n\ \ \ \ place\ \$components(moveObject)\ \\\n\ \ \ \ \ \ -x\ \[expr\ \[winfo\ pointerx\ .\]\ -\ \[lindex\ \$components(geo)\ 1\]\ -\ 3\ \ -\ \$objectXoff\]\ \\\n\ \ \ \ \ \ -y\ \[expr\ \[winfo\ pointery\ .\]\ -\ \[lindex\ \$components(geo)\ 2\]\ -\ 29\ -\ \$objectYoff\]\n\ \ \}\n\}\n\n#\ ------------------------------------------------------------------------------\nproc\ makeMovableObject\ \{w\}\ \{\n\ \ set\ cmd\ \"bind\ \$w\ \ <Motion>\ \ \ \ \\\{\$w\ config\ -cursor\ crosshair\\\}\"\;\ eval\ \$cmd\n\ \ set\ cmd\ \"bind\ \$w\ \ <Leave>\ \ \ \ \ \\\{\$w\ config\ -cursor\ \\\"\\\"\\\}\"\;\ eval\ \$cmd\n\ \ set\ cmd\ \"bind\ \$w\ \ <ButtonPress-1>\ \ \ \\\{+\;\ \n\ \ \ \ set\ objectXoff\ \\\[expr\ %x\]\n\ \ \ \ set\ objectYoff\ \\\[expr\ %y\]\n\ \ \ \ set\ components(moveObject)\ \$w\n\ \ \ \ eval\ \\\[bind\ .\ <Motion>\\\]\n\ \ \\\}\"\n\ \ eval\ \$cmd\n\ \ \n\ \ bind\ \$w\ <ButtonRelease-1>\ \{+\;\ \n\ \ \ \ set\ components(moveObject)\ \"\"\n\ \ \}\n\}\n\nset\ components(moveObject)\ \"\"\neval\ \[bind\ .\ <Configure>\]\n\n#\ ----------------------------------\ TEST\ CODE\ ---------------------------------\nbutton\ .button1\ -text\ \"hello\ world\"\nplace\ .button1\ -x\ 50\ -y\ 50\nmakeMovableObject\ .button1\n\nlabel\ .label1\ -text\ \"hello\ again\"\nplace\ .label1\ -x\ 50\ -y\ 80\nmakeMovableObject\ .label1\n======\n\n----\n\n\[Fabricio\ Rocha\]\ -\ 14\ Mar\ 2010\ -\ Very\ interesting\ project,\ Lars....\ Is\ there\ any\ way\ to\ contact\ you?\ I\ found\ no\ info\ in\ your\ page...\n\n======\n<<categories>>widget} CALL {my revision {Move any widget}} CALL {::oo::Obj1869456 process revision/Move+any+widget} CALL {::oo::Obj1869454 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