On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague <sprag...@gmail.com> wrote:

> I am walking through the Google Application Engine Python tutorial for
> building a guestbook and have it a snag. I am following the instrcutions in
> the using templates section of the process and I can't seem to overcome
> this simple name issue: NameError: name 'guestbook_name' is not defined.
>
> Here is the error message from Google Application Launcher:
>
> File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in MainPage
>
>     ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
>
> NameError: name 'guestbook_name' is not defined
>
> INFO     2014-03-24 00:05:36,343 module.py:621] default: "GET
> /?guestbook_name=default_guestbook HTTP/1.1" 500 -
>
>

Is your application loading in the template files that are part of the
tutorial? The template files are important because they assign the value of
*guestbook_name*. Make sure you've added in all the files listed in
https://developers.google.com/appengine/docs/python/gettingstartedpython27/templates.



-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to