I am going through some very basic Python AppEngine exercises.  

I get "ExistenceError: ApplicationError: 100" error when adding the two 
lines of code below:

with files.open('/gs/ilyasbucket/20130428_163328.jp') as f:
img=f.read()

The entire function is here:

class MainPage(webapp2.RequestHandler):
             
    def get(self):
        guestbook_name = self.request.get('guestbook_name',
                                          DEFAULT_GUESTBOOK_NAME)
        greetings_query = Greeting.query(
            ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
        greetings = greetings_query.fetch(10)
        
        if users.get_current_user():
            url = users.create_logout_url(self.request.uri)
            url_linktext = 'Logout'
            template_name = 'index.html'
            with files.open('/gs/ilyasbucket/20130428_163328.jp') as f:
                img=f.read()
        else:
            url = users.create_login_url(self.request.uri)
            url_linktext = 'Login'
            template_name = 'login.html'
            
        template_values = {
        'greetings': greetings,
        'guestbook_name': urllib.quote_plus(guestbook_name),
        'url': url,
        'url_linktext': url_linktext,
         }
        
        template = JINJA_ENVIRONMENT.get_template(template_name)
        self.response.write(template.render(template_values))


What does this error mean?  I can access this file in the Cloud Storage 
Console.  And permissions seem to be fine.

Any ideas?

Ilya

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to