Posted to tcl by kap at Fri Mar 28 04:29:10 GMT 2014view raw

  1. No layout template found for controller fibonacci, action generate. Error code: WOOF MissingTemplate {No layout template found for controller fibonacci, action generate.} Error: No layout template found for controller fibonacci, action generate. while executing "exception WOOF MissingTemplate "No layout template found for controller [dict get $_dispatchinfo controller], action [dict get $_dispatchinfo action]...." (class "::woof::Controller" method "_render_template" line 29) invoked from within "my _render_template" (class "::woof::Controller" method "render" line 33) invoked from within "my render" (class "::woof::Controller" method "process" line 85) invoked from within "controller process" ("try" body line 59)

Comments

Posted by kap at Fri Mar 28 04:38:17 GMT 2014 [text] [code]

Error above is produced on http://localhost:8015/fibonacci/generate when [tclsh scripts/bowwow.tcl] is ran given the following dir tree: ├── app │   └── controllers │   ├── application_controller.tcl │   ├── fibonacci_controller.tcl │   ├── fibonacci_controller.tcl~ │   ├── views │   │   ├── fibonacci-generate-main.wtf │   │   ├── fibonacci-generate-main.wtf~ │   │   ├── fibonacci-help-main.wtf │   │   ├── fibonacci-help-main.wtf~ │   │   └── _layout.wtf

Posted by kap at Fri Mar 28 04:40:33 GMT 2014 [text] [code]

The dir tree copy paste failed above, here it is: app controllers application_controller.tcl fibonacci_controller.tcl fibonacci_controller.tcl~ views fibonacci-generate-main.wtf fibonacci-generate-main.wtf~ fibonacci-help-main.wtf fibonacci-help-main.wtf~

Posted by kap at Sat Mar 29 14:51:21 GMT 2014 [text] [code]

Renaming "_layout.wtf" to "layout.wtf" fixes the issue, thanks to APN for the solution.