On 10/17/05, Jeremy <[EMAIL PROTECTED]> wrote:
>
> Well.. I tried adding the following to the controllers file..
>
> At the top, I put:
>
> from turbogears import controllers
>
> Then I changed class Root();
> to
> class Root(controllers.Root);
>
> Now, I get the following error.. :D
>
> 500 Internal error
>
> Server got itself in trouble
>
> Traceback (most recent call last):
[snip]
> NameError: name 'turbogearsflash' is not defined
> Powered by Cherrypy 2.1.0-rc2
>
> --------------------------
> so, now i am even more contused....
> I think that I am going to trash the tutorial session I have going on,
> upgrade again, and then start over from scratch...
>
> If that doesn't work, then I will probably give up.. :D

The "turbogearsflash" variable was renamed; I think it became "tg_flash".

I think you've got the right idea: abandon the tutorial code you're
working on, because otherwise you're going to hit every change between
0.5 and 0.8, one after the other. Don't throw it away, just rename it
to "tutorial-0.5" or something so you can come back to it later if you
want. But start a new project with "tg-admin quickstart" *after*
you've upgraded to 0.8, and follow the current version of the tutorial
online. That should get you past all the weird errors, I think.

--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014

Reply via email to