IRC Logs for #circuits Saturday, 2015-06-06

*** my_chiguai has joined #circuits00:33
*** my_chiguai has quit IRC04:34
*** TeshooLama has joined #circuits10:37
TeshooLamaHi guys, I'm looking for some help. I'm running a simple web server (ie. the example on your homepage). I'm trying to figure out how to call a function once the circuits server is ready to receive requests10:39
TeshooLamaI've tried defining an 'init' function for the Root class but get:  wrapper() takes at least 2 arguments (1 given)10:41
nizoxTeshooLama: you must define the method function name according to the path you want10:46
nizoxthis is described here: http://circuits.readthedocs.org/en/latest/web/features.html#dispatcher10:46
TeshooLamaI'm sorry, forgive me for being slow on the uptake here. I've got various methods being despatched to correctly, but I'm looking for some sort of convenience function that is called when the webserver is ready11:02
nizoxah ok, try to add a handler for the event 'ready'11:12
TeshooLamaI added a "ready" method to Root but it doesn't seem to be called11:29
TeshooLamaGot it working by creating a Component class, ready worked with that, but not Controller12:07
*** TeshooLama has quit IRC12:17
*** green1 has joined #circuits17:12
*** green1 has quit IRC18:14
*** Romster has quit IRC18:29
*** Romster has joined #circuits18:29
*** Coldblackice has quit IRC19:21
*** Romster has quit IRC21:14
*** Romster has joined #circuits21:14
*** Coldblackice has joined #circuits21:22
*** Coldblackice_ has joined #circuits21:50
*** Coldblackice has quit IRC21:51

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!