Did you remember to install Jinja2? You can configure logging to see errors and warnings from TG, add this at the begin of your file:
import logging logging.basicConfig() Then you might see a message like: ERROR:tg.configuration.app_config:Failed to initialize jinja template engine, removing it... Which means that as jinja wasn't available the engine has been disabled and so actions exposing jinja templates are not available anymore and will return a 404 PS: You linked an old version of documentation, make sure you follow the latest documentation http://turbogears.readthedocs.org/en/latest/turbogears/minimal/index.html On Tue, Oct 27, 2015 at 7:11 AM, <[email protected]> wrote: > Hello! > > According to example *"Serving Templates" *in tutorial ( > http://turbogears.readthedocs.org/en/rtfd2.3.0b1/turbogears/minimal/index.html) > I made > test.py and hello.jinja (files are in attachement). > > When I run C:\Python27\python.exe test.py > and then open > http://localhost:8080/hello > in Mozilla Firefox, > I see > 404 Not Found > The resource could not be found. > > Please, help me in fixing this error. > > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

