I figured it out...I used the cloud playground to examine the guestbook.py 
code and saw that my file had some additional code that needed to be 
removed. Everything is working as expected now.

On Wednesday, March 26, 2014 9:18:00 PM UTC-4, Dan Sprague wrote:
>
> Vinny,
>
> I am using the app.yaml with the libraries added, made the changes 
> MainPage handler changes to guestbook.py, and created the HTML index file 
> as outlined in the tutorial but, no luck. 
>
> Thanks for your help I appreciate the reply!
>
> On Wednesday, March 26, 2014 2:06:19 AM UTC-4, Vinny P wrote:
>>
>> On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague <spra...@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