Aha, that did the trick, thanks!  (And it makes sense too.)  Someone
should correct the example in gettingstarted.html; it would probably
save people a lot of time and confusion.

On 10/10/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:

> The problem, I'm guessing, is that the root is not set.
> util.createRequest was originally created for testing TurboGears
> itself and doesn't know anything about setting cherrypy.root to your
> application's root controller. It would be nice if there was some
> mechanism to do that.
>
> So, in short, adding:
> cherrypy.root = Root()
>
> before util.createRequest should make this run properly.

--
Mike Pirnat
[EMAIL PROTECTED]

Reply via email to