google-app-engine

Google App Engine why some Logs are not getting shown?

南笙酒味 提交于 2020-01-13 10:57:32
问题 In Google App Engine Flexible environment many Logs are skipping, and not getting shown in the Logging console, and it is happening always, I am checking it on Stackdriver Logging section on Google Cloud dashboard, the Logs I am showing using console.log() are getting skipped but mongoose query logs are getting printed. Also, now currently sometimes my logs console.logs are getting shown but sometimes not, but previously they were getting shown every time. Why now is it not working every time

User API for Google App Engine far too restrictive?

倖福魔咒の 提交于 2020-01-13 10:53:13
问题 Looking at the Google App Engine API, it seems that despite all its great features, the User API is extremely limiting. It seems you can only authenticate people who have a Google account, or use an OpenID account, or via some OAuth kung fu (handshaking with a Facebook account etc). This appears to be a major stumbling block for anyone who wants a proprietary user base by creating user accounts within the application. In short, I don't want my users to have to use or create a Google account

User API for Google App Engine far too restrictive?

邮差的信 提交于 2020-01-13 10:53:09
问题 Looking at the Google App Engine API, it seems that despite all its great features, the User API is extremely limiting. It seems you can only authenticate people who have a Google account, or use an OpenID account, or via some OAuth kung fu (handshaking with a Facebook account etc). This appears to be a major stumbling block for anyone who wants a proprietary user base by creating user accounts within the application. In short, I don't want my users to have to use or create a Google account

An internal error occurred during: “Deploying JugaadFunda to Google”. com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V

半城伤御伤魂 提交于 2020-01-13 10:43:29
问题 When I am trying to deploy my first application to Google App Engine, it gives me an error An internal error occurred during: "Deploying JugaadFunda to Google". com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V I am really not getting where I am wrong. I would appreciate if someone helps. 回答1: I got this error when updating my App Engine SDK version from 1.9.54 to 1.9.61 (Using JRE7). Getting back to 1.9.54 was my solution. Hope it helps. 回答2: Update 27-Mar-2018 I

An internal error occurred during: “Deploying JugaadFunda to Google”. com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V

落花浮王杯 提交于 2020-01-13 10:43:07
问题 When I am trying to deploy my first application to Google App Engine, it gives me an error An internal error occurred during: "Deploying JugaadFunda to Google". com.google.appengine.tools.admin.AppAdminFactory.setJarSplittingEnabled(Z)V I am really not getting where I am wrong. I would appreciate if someone helps. 回答1: I got this error when updating my App Engine SDK version from 1.9.54 to 1.9.61 (Using JRE7). Getting back to 1.9.54 was my solution. Hope it helps. 回答2: Update 27-Mar-2018 I

Role-based security with Google App Engine and Python

隐身守侯 提交于 2020-01-13 10:34:26
问题 I would like to ask what is the common way for handling role-based security with Google App Engine, Python? In the app.yaml, there is the "login" section, but available values are only "admin" and "required". How do you normally handle role-based security? Create the model with two tables: Roles and UserRoles Import values for Roles table Manually add User to UserRoles Check if user is in the right Roles group Any other idea or any other method for role-based security, please let us know! 回答1

gae-boilerplate documentation

有些话、适合烂在心里 提交于 2020-01-13 10:34:06
问题 In my search for a good social login package for App Engine, I am giving gae-boilerplate a try. But I find there is no documentation except the readme file, which I think it is not enough at all. I have many questions, among them: Should the boilerplate be used as a library or download and modify as needed? How should the boilerplate be updated? What does each model do? Where should my templates go? Should I have a different routes file? Should I derive my Handlers from BaseHandler? In

How to configure app.yaml to support urls like /user/<user-id>?

被刻印的时光 ゝ 提交于 2020-01-13 09:57:32
问题 I do the following - url: /user/.* script: script.py And the following handling in script.py: class GetUser(webapp.RequestHandler): def get(self): logging.info('(GET) Webpage is opened in the browser') self.response.out.write('here I should display user-id value') application = webapp.WSGIApplication( [('/', GetUser)], debug=True) Looks like something is wrong there. 回答1: In app.yaml you want to do something like: - url: /user/\d+ script: script.py And then in script.py : class GetUser(webapp

How to configure app.yaml to support urls like /user/<user-id>?

怎甘沉沦 提交于 2020-01-13 09:57:07
问题 I do the following - url: /user/.* script: script.py And the following handling in script.py: class GetUser(webapp.RequestHandler): def get(self): logging.info('(GET) Webpage is opened in the browser') self.response.out.write('here I should display user-id value') application = webapp.WSGIApplication( [('/', GetUser)], debug=True) Looks like something is wrong there. 回答1: In app.yaml you want to do something like: - url: /user/\d+ script: script.py And then in script.py : class GetUser(webapp

Google App Engine Datastore index cap

假如想象 提交于 2020-01-13 09:21:27
问题 Can somebody explain the 5000 index cap in the Datastore in plain English. Does that mean that an indexed list property of a stored object cannot have more the 5000 elements? 回答1: The Datastore limits the number of index entries that a single entity can have, this limit is set to 5000 elements per entity. You can test this limit easily using the Interactive shell with the following snippet: class Model(db.Model): x = db.ListProperty(int) entity = Model(x = range(5001)) entity.put() 'Too many