----------------If I use the example, I get-------------------------
>python start-hrapi01.py
Traceback (most recent call last):
...\commands.py", line 51, in start
from hrapi01.controllers import Root
ImportError: cannot import name Root
--------------If I change "ServiceRoot" to "Root" I get---------
>python start-hrapi01.py
Traceback (most recent call last):
...\commands.py", line 53, in start
turbogears.start_server(Root())
TypeError: __init__() takes at least 2 arguments (1 given)
---In the commands.py module created by quickstart -----------
from hrapi01.controllers import Root
turbogears.start_server(Root())
------------but changing that to ----------------------------
turbogears.start_server(Root("http://localhost:8080"))
#seems to get it started. Either I missed something or the
#documentation needs to be updated to reflect the change to
#commands.py
-------------------------------------------------------------
At this point I'm able to get the "times2" function in simple test to
work and am proceeding through the rest of the demo/tutorial.
Thanks,
Fred
------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.