[google-appengine] Re: 503 errors uploading to GCS via blobstore API

2015-07-09 Thread Patrice (Cloud Platform Support)
Jeff, I wasn't sure that the daily budget was the culprit here, but I can 
tell you that for certain APIs, your account is considered free if you 
don't have billing enabled AND a daily budget  0. This is why I wanted to 
make sure your account was properly configured first. If this was the issue 
and you changed it, the change is immediate.

Joseph has a very valid point here. Does the ACL of your application 
contains the service account of the other?



On Wednesday, July 8, 2015 at 8:05:36 PM UTC-4, Jeff Schnitzer wrote:

 Billing is enabled with a valid card. There's also plenty of the startup 
 credit. With a little hunting I found the Daily Budget setting which was 0, 
 I upped that. Still getting 503 - should it recognize the change 
 immediately?

 This budget setting has not been necessary in the other two test 
 environments that I have deployed this code to, which are still working 
 fine. What changed?

 Thanks,
 Jeff

 On Wed, Jul 8, 2015 at 1:41 PM, Patrice (Cloud Platform Support) 
 pvoutsi...@google.com wrote:

 Hi Jeff,

 Just doing the normal checks : Is billing enabled on the project? GCS 
 needs billing, so it's possible you get 503 if it isn't (or if your daily 
 budget is still at 0, the default value).

 Cheers


 On Wednesday, July 8, 2015 at 4:09:09 PM UTC-4, Jeff Schnitzer wrote:

 I'm setting up a demo environment on a new appid and running into some 
 problems with GCS. Unless otherwise mentioned, all of this is using the new 
 console.

 The first strange thing is that a default bucket was not created. When 
 making appids before, the default bucket was created automatically. With a 
 little digging I found a button in the old console App Settings that added 
 a default GCS bucket, and that seemed to work. I have a default bucket 
 named gearlaunch-hub-demo.appspot.com.

 Now when I try to upload (using the same code that works on other 
 appids), I get a 503 error on the client. There's nothing in the logs about 
 this error.

 Any idea what's up, or how I can get uploads working?

 My appid is gearlaunch-hub-demo. The options passed 
 to createUploadUrl are:


 UploadOptions.Builder.withGoogleStorageBucketName(AppIdentityServiceFactory.getAppIdentityService().getDefaultGcsBucketName())

 Thanks,
 Jeff




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/44acc8a8-8500-4f85-94d9-b40ddf24dc5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] [App Inventor] tinywebrss.appspot.com show The requested URL / was not found on this server.

2015-07-09 Thread Mah yon fong
I'm a google developer , i have publish my app few year ago, is very simple 
app, that's only show the quote from my blogspot feed, but this Tuesday i 
look my app can't running properly , before i using  tinywebrss.appspot.com 
to build my app, but now my app can't access the RSS data from 
tinywebrss.appspot.com, last year some time morning can't receive RSS Feed 
From tinywebrss.appspot.com, so my app can't working, but afternoon is 
ok, so is it google already remove this side from server? may i know what 
should i do?

Sorry for my poor english!

Thank you!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e71a43ef-5092-4afb-8e0b-11af39cf8615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Google Cloud MySql Data Console Changes: Viewing and Querying Data

2015-07-09 Thread Ryan (Cloud Platform Support)
Mp, what is the link to your Feature Request?

On Wednesday, July 8, 2015 at 9:51:13 PM UTC-4, Jason Andrea wrote:

 Done. And thanks again!



 On Jul 8, 2015, at 3:27 PM, Ryan (Cloud Platform Support) 
 rbruy...@google.com wrote:

 I'm glad you were able to get your work done. Please file a Feature 
 Request 
 https://code.google.com/p/googleappengine/issues/entry?template=Feature%20request
  
 to add what you need to the console. I will process it personally if you do.

 On Tuesday, July 7, 2015 at 4:48:21 PM UTC-4, Jason Andrea wrote:

 So, one of the reasons i only developed 1 or 2 apps using GAE was because 
 i was unhappy with the console interfaces (aside from all of the other 
 tools required to even get started) and the time it takes to learn them, 
 get comfortable with them etc... and back when i created my 1 or 2 apps, 
 the consoles, menus, etc... seemed to change ever few weeks. Granted, this 
 was a few years ago.  But now i have to do some data maintenance on one of 
 my GAE websites that, thankfully, is still working just fine. I have a 
 Cloud MySql database behind my website. People can register information 
 about their businesses, etc... and have other people on the web search it. 
 All is working fine, but now i need to simply dump the data in the MySql db 
 AND make a small change to one of the fields in a MySql table.

 Back before i abandoned GAE, i could easily go to 
 https://appengine.google.com, find the data viewing console and type in 
 queries, and actually SEE my MySql data behind my site. Now... my old 
 documentation is completely defunct, with links all redirecting to new 
 locations, because the google console interfaces have changed so 
 drastically since I was last on the site, and i can't seem to find anything 
 even remotely close to a console screen where i can select the database i 
 want to query (like in the old days) and type into a text box to run some 
 queries or update my schema.

 Basically... i know my data is there because people are adding to it 
 every day... and the data is findable on the website itself, but i can't 
 for the life of me find a way to connect/view my data on the 
 https://appengine.google.com or https://console.developers.google.com 
 sites. Does anybody have any advice?

 In my Python app settings.py code I have my:
 GOOGLE_APPINSTANCE_NAME
 GOOGLE_DATABASE_NAME

 I'm also wondering if i can connect to this data via my desktop Navicat 
 MySql client.

 Do i really have to do all this? 
 https://cloud.google.com/sql/docs/mysql-client

 And do I have to create a MySql instance/IP if I alerady HAVE a MySql 
 instance running out on GAE? My website is obviously using the MySql data 
 behind it from when i first built the site. Why can I not find my MySql 
 data via the Google Console(s)?


  -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-appengine/rZ4cXIyG4Cw/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/48e7d74a-b9d6-4682-acf6-cd1e4241240e%40googlegroups.com
  
 https://groups.google.com/d/msgid/google-appengine/48e7d74a-b9d6-4682-acf6-cd1e4241240e%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8717c896-d9ca-49b8-8ef6-e0834276c18e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] [App Inventor] tinywebrss.appspot.com show The requested URL / was not found on this server.

2015-07-09 Thread Barry Hunter
I wonder if you have been affected by this:
https://groups.google.com/d/topic/google-appengine/tDK7-LFmxLo/discussion

Even if your app doesnt actully use the datastore, you will still need to
migrate it.


On 9 July 2015 at 16:23, Mah yon fong zhanghongju...@gmail.com wrote:

 I'm a google developer , i have publish my app few year ago, is very
 simple app, that's only show the quote from my blogspot feed, but this
 Tuesday i look my app can't running properly , before i using  
 tinywebrss.appspot.com to build my app, but now my app can't access the
 RSS data from tinywebrss.appspot.com, last year some time morning can't
 receive RSS Feed From tinywebrss.appspot.com, so my app can't working,
 but afternoon is ok, so is it google already remove this side from
 server? may i know what should i do?

 Sorry for my poor english!

 Thank you!

 --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/e71a43ef-5092-4afb-8e0b-11af39cf8615%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/e71a43ef-5092-4afb-8e0b-11af39cf8615%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAJCAUuLySN3723o05BniixmdL2w%2BRfJwSZzvyDess%3DJrQ%2BG9wA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Google Cloud MySql Data Console Changes: Viewing and Querying Data

2015-07-09 Thread Jason Andrea
Oops... got busy and i never did submit it until just now.

https://code.google.com/p/googleappengine/issues/detail?id=12133


On Thu, Jul 9, 2015 at 8:55 AM, Ryan (Cloud Platform Support) 
rbruy...@google.com wrote:

 Mp, what is the link to your Feature Request?

 On Wednesday, July 8, 2015 at 9:51:13 PM UTC-4, Jason Andrea wrote:

 Done. And thanks again!



 On Jul 8, 2015, at 3:27 PM, Ryan (Cloud Platform Support) 
 rbruy...@google.com wrote:

 I'm glad you were able to get your work done. Please file a Feature
 Request
 https://code.google.com/p/googleappengine/issues/entry?template=Feature%20request
 to add what you need to the console. I will process it personally if you do.

 On Tuesday, July 7, 2015 at 4:48:21 PM UTC-4, Jason Andrea wrote:

 So, one of the reasons i only developed 1 or 2 apps using GAE was
 because i was unhappy with the console interfaces (aside from all of the
 other tools required to even get started) and the time it takes to learn
 them, get comfortable with them etc... and back when i created my 1 or 2
 apps, the consoles, menus, etc... seemed to change ever few weeks. Granted,
 this was a few years ago.  But now i have to do some data maintenance on
 one of my GAE websites that, thankfully, is still working just fine. I have
 a Cloud MySql database behind my website. People can register information
 about their businesses, etc... and have other people on the web search it.
 All is working fine, but now i need to simply dump the data in the MySql db
 AND make a small change to one of the fields in a MySql table.

 Back before i abandoned GAE, i could easily go to
 https://appengine.google.com, find the data viewing console and type in
 queries, and actually SEE my MySql data behind my site. Now... my old
 documentation is completely defunct, with links all redirecting to new
 locations, because the google console interfaces have changed so
 drastically since I was last on the site, and i can't seem to find anything
 even remotely close to a console screen where i can select the database i
 want to query (like in the old days) and type into a text box to run some
 queries or update my schema.

 Basically... i know my data is there because people are adding to it
 every day... and the data is findable on the website itself, but i can't
 for the life of me find a way to connect/view my data on the
 https://appengine.google.com or https://console.developers.google.com
 sites. Does anybody have any advice?

 In my Python app settings.py code I have my:
 GOOGLE_APPINSTANCE_NAME
 GOOGLE_DATABASE_NAME

 I'm also wondering if i can connect to this data via my desktop Navicat
 MySql client.

 Do i really have to do all this?
 https://cloud.google.com/sql/docs/mysql-client

 And do I have to create a MySql instance/IP if I alerady HAVE a MySql
 instance running out on GAE? My website is obviously using the MySql data
 behind it from when i first built the site. Why can I not find my MySql
 data via the Google Console(s)?


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/rZ4cXIyG4Cw/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/48e7d74a-b9d6-4682-acf6-cd1e4241240e%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/48e7d74a-b9d6-4682-acf6-cd1e4241240e%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/rZ4cXIyG4Cw/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/8717c896-d9ca-49b8-8ef6-e0834276c18e%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/8717c896-d9ca-49b8-8ef6-e0834276c18e%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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] Re: Remove alias from the new *-hrd app to the old one after migration is completed to access old app

2015-07-09 Thread Patrice (Cloud Platform Support)
Hi Vladimir,

As far as I know, you won't be able to change the alias for your 
application yourself. In this case, you'd need a dedicated channel with the 
Support team. If you have a support package (silver, gold or platinum) you 
can open a case with the support team as usual.

In the event you don't have a support package, you can still open a case by 
filling out this form 
https://support.google.com/cloud/contact/cloud_gae_ms_datastore_deprecation_form.
 
A member from the support team will get in touch with you soon.

Cheers!



On Thursday, July 9, 2015 at 2:37:50 AM UTC-4, Vladimir Prudnikov wrote:


 I just finished a migration for the old Master/Slave datastore app to the 
 new High replication datastore and now I can't open the old app. All 
 traffic redirects to the new app and admin console for the old app says the 
 following:

 This application is hidden by an alias.
 The application *snippetsapp-hrd* has an alias that causes it to receive 
 all traffic normally directed at this one. Unless you are looking for 
 historical data, you probably want to see that application 
 https://appengine.google.com/dashboard?app_id=s~snippetsapp-hrd.


 How can I remove this alias to access my old app? I still have data that 
 was not migrated and I need to export/backup it. I didn't expected that 
 I'll not have access to the old app and data after migration. Please help.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ba1ec9af-7068-4f8a-87a6-ecd7754da84c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Application stuck in traffic migration

2015-07-09 Thread Patrice (Cloud Platform Support)
Hi Nick,

If your app is in Python, Go or PHP, did you enable warmup requests?

If you did, then you mean the app is in a migrated state because the new 
one isn't the default version yet? Or because your old version still 
serves? The older version should continue serving if your users type the 
version in your url.

Cheers

On Thursday, July 9, 2015 at 10:29:00 AM UTC-4, Nick Clarey wrote:

 Hi all,

 I thought I'd try using traffic migration to shift versions of my 
 appengine application, but it seems to now be jammed in the migrating 
 state. I thought I'd leave it for a while but at 16 days and counting I'm 
 thinking something fishy is going on.

 Is there some way to force it to complete?

 Best regards,

 Nick


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Application stuck in traffic migration

2015-07-09 Thread Patrice (Cloud Platform Support)
Hey again Nick.

This is definitely peculiar. What I would suggest at this point is to open 
a Defect report on this page 
https://code.google.com/p/googleappengine/issues/entry, and make sure to 
use the Restrict-View-EditIssue label. This way only you (the creator) 
and people from Google will be able to see it. On that issue, you can then 
give your appID, and we will be able to go investigate further and see what 
can be done. 

Cheers!

On Thursday, July 9, 2015 at 12:05:22 PM UTC-4, Nick Clarey wrote:

 Hi Patrice,

 It's a Python app, and yes warmup requests are enabled.

 The app is stuck in the migrating state - the traffic destination has 
 been in the Traffic move is in progress for 16 days. The radio buttons to 
 change default versions are disabled so that I cannot change the default 
 version, which is still the traffic source.

 Best regards,

 Nick

 On 9 July 2015 at 16:58, Patrice (Cloud Platform Support) 
 pvoutsi...@google.com wrote:

 Hi Nick,

 If your app is in Python, Go or PHP, did you enable warmup requests?

 If you did, then you mean the app is in a migrated state because the new 
 one isn't the default version yet? Or because your old version still 
 serves? The older version should continue serving if your users type the 
 version in your url.

 Cheers

 On Thursday, July 9, 2015 at 10:29:00 AM UTC-4, Nick Clarey wrote:

 Hi all,

 I thought I'd try using traffic migration to shift versions of my 
 appengine application, but it seems to now be jammed in the migrating 
 state. I thought I'd leave it for a while but at 16 days and counting I'm 
 thinking something fishy is going on.

 Is there some way to force it to complete?

 Best regards,

 Nick

  -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-appengine/pBPJ6g2WsZU/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com
  
 https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 -- 
 Nick Clarey
 CEO, Airsource Ltd.
 Phone: +44-1223-708370
 Fax : +44-1223-309814
  

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f2397226-b953-42b4-a381-3c3d6b843f8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Access to admin urls in production gae app

2015-07-09 Thread Richard Cheesmar


   I have uploaded a gae app for testing to production. I need to est the 
admin access. I have added two email addresses via permissions and set them 
as owners. 

I have a decorator which is called to check admin user and this is called 
properly on the local development machine.



def admin_required(handler):
 
 Decorator for checking if there's an admin user
 Assigned Google App admin only NOT users with admin permissions
 

 def check_admin(self, *args, **kwargs):
 
 Admin decorator
 
 logging.info(users.is_current_user_admin())
 if not users.is_current_user_admin():
 self.redirect_to('home')
 else:
 return handler(self, *args, **kwargs)

 return check_admin

I login to my app using one of the emails in permissions and then try to 
access an admin page and get the following:

Error: Unauthorized Your client does not have permission to the requested 
URL /admin/delete-search-indexes.



Am I missing something simple or is it that Google have to make everything 
difficult to understand?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2534b297-f594-46cc-8c4f-87ffb628d918%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Access to admin urls in production gae app

2015-07-09 Thread Richard Cheesmar


On Thursday, July 9, 2015 at 6:56:04 PM UTC+3, Richard Cheesmar wrote:



I have uploaded a gae app for testing to production. I need to est the 
 admin access. I have added two email addresses via permissions and set them 
 as owners. 

 I have a decorator which is called to check admin user and this is called 
 properly on the local development machine.



 def admin_required(handler):
  
  Decorator for checking if there's an admin user
  Assigned Google App admin only NOT users with admin permissions
  

  def check_admin(self, *args, **kwargs):
  
  Admin decorator
  
  logging.info(users.is_current_user_admin())
  if not users.is_current_user_admin():
  self.redirect_to('home')
  else:
  return handler(self, *args, **kwargs)

  return check_admin


I have this in app.yaml

- url: /admin.*
  script: main.app
  login: admin
  auth_fail_action: unauthorized

 


 I login to my app using one of the emails in permissions and then try to 
 access an admin page and get the following:

 Error: Unauthorized Your client does not have permission to the requested 
 URL /admin/delete-search-indexes.



 Am I missing something simple or is it that Google have to make everything 
 difficult to understand?


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3af88204-64ee-4d17-9b69-383268e39caf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 503 errors uploading to GCS via blobstore API

2015-07-09 Thread Jeff Schnitzer
Yep, gearlaunch-hub-d...@appspot.gserviceaccount.com is listed in the
permissions with Can Edit.

Comparing against the appids that work, however, I notice that the working
appid has a permission granted to
projectnum...@cloudservices.gserviceaccount.com. I tried adding that to the
new app but it is in Invitation sent state (and uploads still produce
503).

I'm stumped.

Jeff


On Thu, Jul 9, 2015 at 7:19 AM, Patrice (Cloud Platform Support) 
pvoutsi...@google.com wrote:

 Jeff, I wasn't sure that the daily budget was the culprit here, but I can
 tell you that for certain APIs, your account is considered free if you
 don't have billing enabled AND a daily budget  0. This is why I wanted to
 make sure your account was properly configured first. If this was the issue
 and you changed it, the change is immediate.

 Joseph has a very valid point here. Does the ACL of your application
 contains the service account of the other?




 On Wednesday, July 8, 2015 at 8:05:36 PM UTC-4, Jeff Schnitzer wrote:

 Billing is enabled with a valid card. There's also plenty of the startup
 credit. With a little hunting I found the Daily Budget setting which was 0,
 I upped that. Still getting 503 - should it recognize the change
 immediately?

 This budget setting has not been necessary in the other two test
 environments that I have deployed this code to, which are still working
 fine. What changed?

 Thanks,
 Jeff

 On Wed, Jul 8, 2015 at 1:41 PM, Patrice (Cloud Platform Support) 
 pvoutsi...@google.com wrote:

 Hi Jeff,

 Just doing the normal checks : Is billing enabled on the project? GCS
 needs billing, so it's possible you get 503 if it isn't (or if your daily
 budget is still at 0, the default value).

 Cheers


 On Wednesday, July 8, 2015 at 4:09:09 PM UTC-4, Jeff Schnitzer wrote:

 I'm setting up a demo environment on a new appid and running into some
 problems with GCS. Unless otherwise mentioned, all of this is using the new
 console.

 The first strange thing is that a default bucket was not created. When
 making appids before, the default bucket was created automatically. With a
 little digging I found a button in the old console App Settings that added
 a default GCS bucket, and that seemed to work. I have a default bucket
 named gearlaunch-hub-demo.appspot.com.

 Now when I try to upload (using the same code that works on other
 appids), I get a 503 error on the client. There's nothing in the logs about
 this error.

 Any idea what's up, or how I can get uploads working?

 My appid is gearlaunch-hub-demo. The options passed
 to createUploadUrl are:


 UploadOptions.Builder.withGoogleStorageBucketName(AppIdentityServiceFactory.getAppIdentityService().getDefaultGcsBucketName())

 Thanks,
 Jeff




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CADK-0uiCVHjJUVYLCe1NSkb-FMa1xV9z8QJVVomT44sRubuvHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Odd console behavior WRT custom domains

2015-07-09 Thread Jeff Schnitzer
Yes, please make this a single place where all administrators can manage
the domains pointing at an app. We're running a whitelabel service which
will eventually have thousands of entries and management of domains can't
be tied to specific user accounts. This is going to be really confusing.

Thanks,
Jeff

On Wed, Jul 8, 2015 at 3:02 PM, Nick (Cloud Platform Support) 
pay...@google.com wrote:

 Hey Jeff,

 As of now, the Developers Console only shows domains verified by you.
 We've an internal request to make this information available to all
 owners/developers of app. In the meantime, other owners can use Google Apps
 control panel to view this information, if these domains are managed by
 Google Apps. You can also add other owners of this project as owners in
 Webmaster tools for the domain. This will enable them to view custom domain
 mappings in the Developers Console.

 Regards,

 Nick


 On Wednesday, July 8, 2015 at 2:12:47 PM UTC-4, Jeff Schnitzer wrote:

 This looks like some sort of bug:

 OwnerA added customdomain1 to TheProject
 OwnerB added customdomain2 to TheProject

 When OwnerA looks at the Custom Domains page for TheProject in the
 console, he sees customdomain1 only.

 When OwnerB looks at the Custom Domains page for TheProject in the
 console, he sees customdomain2 only.

 Oddly, both custom domains seem to work.

 I would expect that all app owners see all custom domains for TheProject
 in the console. Am I missing something?

 Thanks,
 Jeff



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CADK-0ujOrkwkOudKfifvuJvNJH53cxf%2BhUAPbgOoR%2BFXveiugA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: My site scraped with app on appspot.com

2015-07-09 Thread 'Josh Moore' via Google App Engine
Well, it's over its serving quota now, so it won't be accessible for about
12 more hours to anyone.  Once the form is filled out, the appropriate team
will be able to take action.  Thanks again for the report!

On Thu, Jul 9, 2015 at 11:08 AM, Patrice (Cloud Platform Support) 
pvoutsi...@google.com wrote:

 Hi Eduard,

 To report such an application and get us investigating, the proper form is
 here https://support.google.com/code/contact/cloud_platform_report?rd=2.
 The proper team will receive notification of this and take action as
 necessary.

 Thank you for your report here.

 Cheers!

 On Thursday, July 9, 2015 at 4:38:31 AM UTC-4, Eduard Dimitrov wrote:


 @glimmung, is not a proxy, is scrped content - full site structure is
 copied but is changed to working relative urls. And this content is indexed
 and produce 100% duplicate content, you can see it in Google SERP.

  --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/53f35d8a-0708-4c2d-989c-6bdd3fc5bf3e%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/53f35d8a-0708-4c2d-989c-6bdd3fc5bf3e%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 

Josh Moore | Cloud Solutions Engineer | joshu...@google.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAOvpJmUfRJdaW0ZyjjR0MTbbm%3Do6_4twCZS23b_2BiypLsZ--w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: cannot deploy managed VMs

2015-07-09 Thread pdknsk
Still the case. Filed a production issue.

https://code.google.com/p/googleappengine/issues/detail?id=12135

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b975fdb8-fa07-42a5-b690-c984eda20ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: My site scraped with app on appspot.com

2015-07-09 Thread Patrice (Cloud Platform Support)
Hi Eduard,

To report such an application and get us investigating, the proper form is 
here https://support.google.com/code/contact/cloud_platform_report?rd=2. 
The proper team will receive notification of this and take action as 
necessary.

Thank you for your report here.

Cheers! 

On Thursday, July 9, 2015 at 4:38:31 AM UTC-4, Eduard Dimitrov wrote:


 @glimmung, is not a proxy, is scrped content - full site structure is 
 copied but is changed to working relative urls. And this content is indexed 
 and produce 100% duplicate content, you can see it in Google SERP.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/53f35d8a-0708-4c2d-989c-6bdd3fc5bf3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Application stuck in traffic migration

2015-07-09 Thread Nick Clarey
Thanks Patrice, now raised as issue 12134.

Best regards,

Nick

On 9 July 2015 at 17:31, Patrice (Cloud Platform Support) 
pvoutsi...@google.com wrote:

 Hey again Nick.

 This is definitely peculiar. What I would suggest at this point is to open
 a Defect report on this page
 https://code.google.com/p/googleappengine/issues/entry, and make sure
 to use the Restrict-View-EditIssue label. This way only you (the creator)
 and people from Google will be able to see it. On that issue, you can then
 give your appID, and we will be able to go investigate further and see what
 can be done.

 Cheers!


 On Thursday, July 9, 2015 at 12:05:22 PM UTC-4, Nick Clarey wrote:

 Hi Patrice,

 It's a Python app, and yes warmup requests are enabled.

 The app is stuck in the migrating state - the traffic destination has
 been in the Traffic move is in progress for 16 days. The radio buttons to
 change default versions are disabled so that I cannot change the default
 version, which is still the traffic source.

 Best regards,

 Nick

 On 9 July 2015 at 16:58, Patrice (Cloud Platform Support) 
 pvoutsi...@google.com wrote:

 Hi Nick,

 If your app is in Python, Go or PHP, did you enable warmup requests?

 If you did, then you mean the app is in a migrated state because the new
 one isn't the default version yet? Or because your old version still
 serves? The older version should continue serving if your users type the
 version in your url.

 Cheers

 On Thursday, July 9, 2015 at 10:29:00 AM UTC-4, Nick Clarey wrote:

 Hi all,

 I thought I'd try using traffic migration to shift versions of my
 appengine application, but it seems to now be jammed in the migrating
 state. I thought I'd leave it for a while but at 16 days and counting I'm
 thinking something fishy is going on.

 Is there some way to force it to complete?

 Best regards,

 Nick

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/pBPJ6g2WsZU/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 --
 Nick Clarey
 CEO, Airsource Ltd.
 Phone: +44-1223-708370
 Fax : +44-1223-309814

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/pBPJ6g2WsZU/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/f2397226-b953-42b4-a381-3c3d6b843f8f%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/f2397226-b953-42b4-a381-3c3d6b843f8f%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Nick Clarey
CEO, Airsource Ltd.
Phone: +44-1223-708370
Fax : +44-1223-309814

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALZWnPcP_95Zn-p_cKEFOWMpTfjq1rmkJGsWkbtRVnX5WEu-vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Google App Engine Android Facebook login

2015-07-09 Thread 'Les Vogel' via Google App Engine
Firebase Auth is easy to get started with and use.  Your connecting 3rd
party auth to it.  (The folks from Firebase might describe this differently)
Identity Toolkit is fairly robust and will scale to millions of users.

If you expect a small number of users, at least to start with - use
Firebase.
If you already have a lot of users or expect lots of users -- use Identity
Toolkit.

The sample I mentioned should be published tomorrow afternoon.
https://github.com/GoogleCloudPlatform/Abelana

On Thu, Jul 9, 2015 at 1:37 AM, Shruthi Sharat sruthi.kumb...@gmail.com
wrote:

 Hi,

  Thank You. Please let me know how is Firebase and Identity Toolkit
 differs ? I am not able to decide which one to go with.

 Can I have my backend code and database running on App Engine and just use
 Firebase for authentication and sessions ? If Yes, how can i connect my
 Firebase with my App Engine ?

 Which is best to go with, Firebase or Identity Toolkit ?

 Kindly clarify. I find very less documentation on these.

 Regards,
 Shruthi Kumbham



 On Mon, Jul 6, 2015 at 10:05 PM, 'Les Vogel' via Google App Engine 
 google-appengine@googlegroups.com wrote:

 Hope to have an example published by Tuesday of next week.

 Les

 On Fri, Jul 3, 2015 at 12:38 AM, Shruthi Sharat sruthi.kumb...@gmail.com
  wrote:

 Thank you so much for reply.

  I could able to use the identity toolkit API and able to login via G+
 and facebook.  But I am not able to access my endpoints by logging into G+
 or Facebook.

 Please let me know the procedure to do it. I can't find any
 documentation also.It will be a great help.

 Regards,
 Shruthi Kumbham

 On Thu, Jul 2, 2015 at 2:07 AM, 'Les Vogel' via Google App Engine 
 google-appengine@googlegroups.com wrote:

 Hi Shruthi,

 You might wish to take a look at the Google Identity Toolkit
 https://developers.google.com/identity/toolkit/ Libraries(Java
 https://github.com/google/identity-toolkit-java-client,  Go
 https://github.com/google/identity-toolkit-go-client )  Samples (
 Android https://github.com/googlesamples/identity-toolkit-android,
 iOS https://github.com/googlesamples/identity-toolkit-ios,  Java
 https://github.com/googlesamples/identity-toolkit-java).  It will
 let you do Facebook  G+ and your own authentication and connect with
 Android, iOS, and your backend on AppEngine.  The docs should help explain
 the product (and there are some samples on GitHub) -- we hope to publish a
 full end-to-end sample sometime within the next two weeks.

 Les

 On Wed, Jul 1, 2015 at 4:36 AM, Shruthi Sharat 
 sruthi.kumb...@gmail.com wrote:

 Hi,

 I am working on Mobile application which has a Google App Engine
 backend, now i am able to login with G+ and access the APIs created in
 backend with oAuth.

   How can I access my backend APIs by logging in with any other social
 media platforms like facebook and twitter. How can i sync the oAuth of
 facebook and my Google App Engine APIs.

 Help me in finding a solution for this.

 Thank You

 --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/5edb5eb2-9a36-419f-a35a-2bffb52811a6%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/5edb5eb2-9a36-419f-a35a-2bffb52811a6%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Les Vogel | Cloud Developer Relations | l...@google.com | 408-676-7023

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/lgHZauv5NaY/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/CAGB1p5imd86%2BFKW6PxipWAPW51yGLnjfXwaf5jLXfrBvwOQvKg%40mail.gmail.com
 https://groups.google.com/d/msgid/google-appengine/CAGB1p5imd86%2BFKW6PxipWAPW51yGLnjfXwaf5jLXfrBvwOQvKg%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


  --
 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] Re: Odd console behavior WRT custom domains

2015-07-09 Thread Jeff Schnitzer
Now you have me even more confused ;-)

Is there anything in the TOS that I should pay particular attention to? I
just re-read it and don't see anything unusual. My application is an
ecommerce site serving a particular niche; partners set up shops in our
application using their own domain. Something like Shopify.

Our onboarding process is fairly high-touch so going through the domain
verification process manually is not prohibitive. However, not having a
coherent view of what domains are mapped to our application could be a
serious problem. The domains will not be Google Apps domains.

It sounds like, for now, the only way to get the truth from the Custom
Domains page is to always have all domains added/removed by a single Google
user account, and only look at that page from that account. Right? It seems
crazy but ok. Would it help if I opened a public issue to track this, or is
the internal issue enough?

I read the documentation for the Google+ Domains API and I am only more
confused - it does not seem relevant to my application. Am I missing
something?

Yep, had that issue starred for years... long enough to see the major
progress you guys have made separating GAE from Google Apps. I know you get
a lot of flak for the slow progress, but I do appreciate that the current
situation is vastly better than it was in 2012. Fortunately I wasn't trying
to run a whitelabel service in 2012 :)

Thanks,
Jeff



On Thu, Jul 9, 2015 at 4:42 PM, Nick (Cloud Platform Support) 
pay...@google.com wrote:

 Hey Jeff,

 I'd recommend that you get in touch with sales
 https://cloud.google.com/contact/ and check the terms of service
 https://cloud.google.com/terms/, to ensure that everything's good.
 There's also a public issue tracker feature request
 https://code.google.com/p/googleappengine/issues/detail?id=8528q=custom%20domains%20apicolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
  open
 for a Custom Domains API, which you should star to register interest and
 lend weight to. Finally, I'm not sure if you've already checked this out,
 but there's a Domains API https://developers.google.com/+/domains/ for
 Google+ that might fill some needs for you.

 Best wishes,

 Nick


 On Thursday, July 9, 2015 at 1:16:50 PM UTC-4, Jeff Schnitzer wrote:

 Yes, please make this a single place where all administrators can manage
 the domains pointing at an app. We're running a whitelabel service which
 will eventually have thousands of entries and management of domains can't
 be tied to specific user accounts. This is going to be really confusing.

 Thanks,
 Jeff

 On Wed, Jul 8, 2015 at 3:02 PM, Nick (Cloud Platform Support) 
 pay...@google.com wrote:

 Hey Jeff,

 As of now, the Developers Console only shows domains verified by you.
 We've an internal request to make this information available to all
 owners/developers of app. In the meantime, other owners can use Google Apps
 control panel to view this information, if these domains are managed by
 Google Apps. You can also add other owners of this project as owners in
 Webmaster tools for the domain. This will enable them to view custom domain
 mappings in the Developers Console.

 Regards,

 Nick


 On Wednesday, July 8, 2015 at 2:12:47 PM UTC-4, Jeff Schnitzer wrote:

 This looks like some sort of bug:

 OwnerA added customdomain1 to TheProject
 OwnerB added customdomain2 to TheProject

 When OwnerA looks at the Custom Domains page for TheProject in the
 console, he sees customdomain1 only.

 When OwnerB looks at the Custom Domains page for TheProject in the
 console, he sees customdomain2 only.

 Oddly, both custom domains seem to work.

 I would expect that all app owners see all custom domains for
 TheProject in the console. Am I missing something?

 Thanks,
 Jeff




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CADK-0ujssYg_xx34L7eKF-qh8F3%2Bj4mZrTDVyOWX%2BJ4LWpyaOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: PHP script can't read file from vfs:// (in memory file system) created by my other PHP script

2015-07-09 Thread Stuart Langley
Hey Alex,

I'm on vacation, I'll try and work out some sample code for you when I get 
back.

Cheers

On Tuesday, 7 July 2015 20:42:38 UTC+10, Alex Kerr wrote:

 Thanks Stuart - OK, just trying to understand this - so the user stream 
 wrapper that Google have implemented is what gives the gs:// or vfs:// 
 access?

 So if I create the multipart form manually I could get around that - can 
 you give any tips or pointers how I'd get started with doing that please, 
 not quite sure where to start!

 Many thanks,
 Alex

 On Tuesday, July 7, 2015 at 2:39:04 AM UTC+1, Stuart Langley wrote:

 Hi Alex,

 I don't think cURL will read a file from a user stream wrapper - so 
 you're kind of stuck.

 Can you create the multipart form manually?

 On Tuesday, 7 July 2015 03:39:43 UTC+10, Alex Kerr wrote:

 Sorry for a 3rd reply, but just to confirm my code all works fine when 
 the image to be uploaded is a static file uploaded with my app, including 
 if the image is in a subfolder. So it appears curl only has a problem with 
 files on vfs:// or gfs:// (unfortunately this is critical to my app as I 
 need somewhere to store temp files momentarily...)

 Thanks

 On Sunday, July 5, 2015 at 4:23:35 PM UTC+1, Stuart Langley wrote:

 Files that you write to vfs are removed at the end of the request. If 
 you need the files to persist between requests you'll need to write or 
 move 
 the files from vfs to gs.

 On Sunday, 5 July 2015 04:04:11 UTC+10, Alex Kerr wrote:

 Hi,

 I've got my main PHP script writing an image file out to vfs:// using 
 the PHP GD lib function imagepng(image, filename)

 Then I'm using Facebook's PHP SDK to try and post that. FB's SDK uses 
 Curl internally to read the file, so I simply supply the vfs:// filename 
 to 
 it. I then get back an error saying it can't open the file:

 PHP Fatal error: Uncaught exception 'Facebook\FacebookSDKException' 
 with message 'couldn't open file vfs://root/temp/T199952197c' in 
 /base/data/home/apps/s~My-App-ID/1.385481947954511984/fb/src/Facebook/HttpClients/FacebookCurlHttpClient.php:150
  
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Ffb%2Fsrc%2FFacebook%2FHttpClients%2FFacebookCurlHttpClient.phpline=150
  
 Stack trace: #0 /base/data/home/apps/s~ 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Ffb%2Fsrc%2FFacebook%2FFacebookRequest.phpline=260
 My-App-ID 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Ffb%2Fsrc%2FFacebook%2FHttpClients%2FFacebookCurlHttpClient.phpline=150
 /1.385481947954511984/fb/src/Facebook/FacebookRequest.php(260) 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Ffb%2Fsrc%2FFacebook%2FFacebookRequest.phpline=260
 : Facebook\HttpClients\FacebookCurlHttpClient-send('https://graph.f...', 
 'POST', Array)
 #1 /base/data/home/apps/s~ 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Fpost.phpline=188
 My-App-ID 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Ffb%2Fsrc%2FFacebook%2FHttpClients%2FFacebookCurlHttpClient.phpline=150
 /1.385481947954511984/post.php(188) 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Fpost.phpline=188
 : Facebook\FacebookRequest-execute()
 #2 {main} thrown in /base/data/home/apps/s~ 
 https://console.developers.google.com/project/richerposts/clouddev/source/resolve_location?appModule=defaultappVersion=1timestampNanos=143603221789900file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~richerposts%2F1.385481947954511984%2Ffb%2Fsrc%2FFacebook%2FHttpClients%2FFacebookCurlHttpClient.phpline=150
 My-App-ID 
 

Re: [google-appengine] Re: My site scraped with app on appspot.com

2015-07-09 Thread Philip Kilner

Hi Eduard,

On 09/07/15 08:39, Eduard Dimitrov wrote:

P.S. I see many other sites with such a problems within urls of this
App - vivaciousp29.appspot.com


It's a proxy, rather than a site hosting scraped content, so you can 
probably access pretty much any site through it.


HTH

--

Regards,

PhilK


'a bell is a cup...until it is struck'

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/559E2D0D.106%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cannot upload files in google bucket

2015-07-09 Thread Abhranil Majumder
I cannot upload objects in google bucket. I configured the settings, and 
after that I tried to upload files using google appengine but I am unable 
to upload data as I am getting NetworkError: 500 Internal Server Error.

Please go through the stack overflow url below and reply accordingly. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c79ca7aa-7a1e-4dc0-9225-0d1e13dd8256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Saving an entity from a Reducer invoking my DAO (DatastoreService.put)

2015-07-09 Thread Antonio Fornié Casarrubios
Thanks Tom. So it's that all? The only difference/disadvantage of this 
approach would be to have less performance?


El miércoles, 8 de julio de 2015, 20:52:25 (UTC+2), Tom Kaitchuck escribió:

 The point of DatastoreMutationPool is to provide batching of updates to 
 increase throughput. It is fine to use something else.

 On Wed, Jul 8, 2015 at 7:34 AM, Antonio Fornié Casarrubios 
 antonio...@gmail.com javascript: wrote:


 Hi all. I didn't find any answer or info for this:

 *Context*: Java Google App Engine project, using Datastore. For a 
 certain kind, Sale, I save the entities in two ways:


1. From a typical SaleDAO#save(saleEntity)
2. During MapReduce, from my SaleReducer#emit(saleEntity)


 So I was investigating how to reuse some behavior as part of both cases, 
 so I made something like:

 class SaleDAO {
 DatastoreService datastore
 public save(Entity entity) {
 // My common behavior that I want to reuse
 datastore.put(entity)
 // Some more common behavior that I want to reuse
 }
 }



 And then for the MapReduce part, I extended OutputWriter to call my DAO, 
 instead of the DatastoreMutationPool#put(entity) method provided for that 
 purpose.

 
 public class SaleOutputWriter extends OutputWriterEntity {
 @Override
 public void write(Entity entity) {
 //pool.put(entity); - try to invoke the DAO instead
 saleDAO.save(sale)
 }
 }




1. My surprise is that it works! Well, the MR jobs seem to go to a 
strange state, but the entities are correctly saved. Still I'm 99% sure 
that this must be a bad practice or bring some problems. Can somebody 
 tell 
me
2. If that's not the case, why are we given a certain API for 
MapReduce and another one for normal persistence? Will be the same to 
invoke DatastoreMutationPool.put than DatastoreService.put (any 
implementation)?


 Honestly, this idea sounded crazy in my head and now that it seems to 
 work I want to know more about it.

 -- 
 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-appengi...@googlegroups.com javascript:.
 To post to this group, send email to google-a...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/61276548-616e-4f94-9263-00bcfcb5e33d%40googlegroups.com
  
 https://groups.google.com/d/msgid/google-appengine/61276548-616e-4f94-9263-00bcfcb5e33d%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1cc85d13-ff75-4284-8e50-06b8a4eb17a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cannot set permision in VM Instances for lamp server.

2015-07-09 Thread Abhranil Majumder
How to manage permission in VM Instances for lamp server.

*Permissions:*

User info Disabled
Compute Read Only 
Storage Disabled
 Task queue Disabled
BigQuery Disabled
Cloud SQL Disabled
BigQuery Disabled
Cloud SQL Disabled
Cloud Datastore Disabled
Cloud Logging Write Only
Cloud Monitoring Disabled
Cloud Platform Disabled


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7dab856a-b49e-43f3-bf50-5ac4d3b9f6c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot upload files in google bucket

2015-07-09 Thread Abhranil Majumder
Stack overflow url : 
http://stackoverflow.com/questions/31266686/cant-upload-files-in-google-bucket-using-php

On Thursday, July 9, 2015 at 12:29:38 PM UTC+5:30, Abhranil Majumder wrote:

 I cannot upload objects in google bucket. I configured the settings, and 
 after that I tried to upload files using google appengine but I am unable 
 to upload data as I am getting NetworkError: 500 Internal Server Error.

 Please go through the stack overflow url below and reply accordingly. 


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/43cfa9ed-d09e-4f35-8b32-4fbd35cb429e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: My site scraped with app on appspot.com

2015-07-09 Thread Eduard Dimitrov
P.S. I see many other sites with such a problems within urls of this App 
- vivaciousp29.appspot.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/44050e32-9ce3-4754-ac8c-e5e82dddb705%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Google App Engine Android Facebook login

2015-07-09 Thread Shruthi Sharat
Hi,

 Thank You. Please let me know how is Firebase and Identity Toolkit differs
? I am not able to decide which one to go with.

Can I have my backend code and database running on App Engine and just use
Firebase for authentication and sessions ? If Yes, how can i connect my
Firebase with my App Engine ?

Which is best to go with, Firebase or Identity Toolkit ?

Kindly clarify. I find very less documentation on these.

Regards,
Shruthi Kumbham



On Mon, Jul 6, 2015 at 10:05 PM, 'Les Vogel' via Google App Engine 
google-appengine@googlegroups.com wrote:

 Hope to have an example published by Tuesday of next week.

 Les

 On Fri, Jul 3, 2015 at 12:38 AM, Shruthi Sharat sruthi.kumb...@gmail.com
 wrote:

 Thank you so much for reply.

  I could able to use the identity toolkit API and able to login via G+
 and facebook.  But I am not able to access my endpoints by logging into G+
 or Facebook.

 Please let me know the procedure to do it. I can't find any documentation
 also.It will be a great help.

 Regards,
 Shruthi Kumbham

 On Thu, Jul 2, 2015 at 2:07 AM, 'Les Vogel' via Google App Engine 
 google-appengine@googlegroups.com wrote:

 Hi Shruthi,

 You might wish to take a look at the Google Identity Toolkit
 https://developers.google.com/identity/toolkit/ Libraries(Java
 https://github.com/google/identity-toolkit-java-client,  Go
 https://github.com/google/identity-toolkit-go-client )  Samples (
 Android https://github.com/googlesamples/identity-toolkit-android, iOS
 https://github.com/googlesamples/identity-toolkit-ios,  Java
 https://github.com/googlesamples/identity-toolkit-java).  It will let
 you do Facebook  G+ and your own authentication and connect with Android,
 iOS, and your backend on AppEngine.  The docs should help explain the
 product (and there are some samples on GitHub) -- we hope to publish a full
 end-to-end sample sometime within the next two weeks.

 Les

 On Wed, Jul 1, 2015 at 4:36 AM, Shruthi Sharat sruthi.kumb...@gmail.com
  wrote:

 Hi,

 I am working on Mobile application which has a Google App Engine
 backend, now i am able to login with G+ and access the APIs created in
 backend with oAuth.

   How can I access my backend APIs by logging in with any other social
 media platforms like facebook and twitter. How can i sync the oAuth of
 facebook and my Google App Engine APIs.

 Help me in finding a solution for this.

 Thank You

 --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/5edb5eb2-9a36-419f-a35a-2bffb52811a6%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/5edb5eb2-9a36-419f-a35a-2bffb52811a6%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Les Vogel | Cloud Developer Relations | l...@google.com | 408-676-7023

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/lgHZauv5NaY/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/CAGB1p5imd86%2BFKW6PxipWAPW51yGLnjfXwaf5jLXfrBvwOQvKg%40mail.gmail.com
 https://groups.google.com/d/msgid/google-appengine/CAGB1p5imd86%2BFKW6PxipWAPW51yGLnjfXwaf5jLXfrBvwOQvKg%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


  --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/CAO5vOabHN_pKgcEHPA7uRCnO_0ypZ5C36sn3Q4KvpxNhyQhX_A%40mail.gmail.com
 https://groups.google.com/d/msgid/google-appengine/CAO5vOabHN_pKgcEHPA7uRCnO_0ypZ5C36sn3Q4KvpxNhyQhX_A%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 --
 Les Vogel | Cloud Developer Relations | l...@google.com | 408-676-7023

 --
 You received this message because you are 

Re: [google-appengine] Re: My site scraped with app on appspot.com

2015-07-09 Thread Eduard Dimitrov

@glimmung, is not a proxy, is scrped content - full site structure is 
copied but is changed to working relative urls. And this content is indexed 
and produce 100% duplicate content, you can see it in Google SERP.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/44ef4492-a151-47d0-b117-51b74650243b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Remove alias from the new *-hrd app to the old one after migration is completed to access old app

2015-07-09 Thread Vladimir Prudnikov

I just finished a migration for the old Master/Slave datastore app to the 
new High replication datastore and now I can't open the old app. All 
traffic redirects to the new app and admin console for the old app says the 
following:

This application is hidden by an alias.
The application *snippetsapp-hrd* has an alias that causes it to receive 
all traffic normally directed at this one. Unless you are looking for 
historical data, you probably want to see that application 
https://appengine.google.com/dashboard?app_id=s~snippetsapp-hrd.


How can I remove this alias to access my old app? I still have data that 
was not migrated and I need to export/backup it. I didn't expected that 
I'll not have access to the old app and data after migration. Please help.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b0a0ba98-3845-47af-9c3b-fd243b500e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] My site scraped with app on appspot.com

2015-07-09 Thread Eduard Dimitrov

My full website is scraped with app on appspot.com.How and where to sent 
notification to google?
Url is: vivaciousp29.appspot.com/3dwebdesign.org

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d59cfc88-91fd-4663-8bb2-095ece0968fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Wrong data storage in GAE NDB

2015-07-09 Thread Ankur Jatt
Here is the situation
I have a model like

class Content(ndb.Model):
likeCount=ndb.IntegerProperty(default=0)
likeUser  = ndb.KeyProperty(kind=User, repeated=True)

When a new content generate than a new Content object is generated like

content_obj = Content(parent=objContentData.key, #Where ContentData is 
another ndb.Model subclass
 likeUser=[],
 likeCount=0
   )

And when any user like the same content than below function gets called

def modify_like(contentData_key, user_key):
like_obj = Content.query(parent=contetData_key).get()
if like_obj:
like_obj.likeUser.append(user_key)
like_obj.likeCount += 1
like_obj.put()

###Problem#
Now the problem is that when at the same time more than 4 user like the 
same content than this object write wrong data.
So how can I solve this problem

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/60f107b2-20a8-4bd2-8893-42cca742f0d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 503 errors uploading to GCS via blobstore API

2015-07-09 Thread Joseph Letness
Hi Jeff,

Does your app-id have permission to write to the bucket? I ran into this 
issue just a few days ago and I needed to explicitly give my app write 
access to the api by adding the app's service account 
(your-app...@appspot.gserviceaccount.com) in the Permissions tab. That did 
the trick, no more 503 errors.

Hope this helps.

Joe

On Wednesday, July 8, 2015 at 7:05:36 PM UTC-5, Jeff Schnitzer wrote:

 Billing is enabled with a valid card. There's also plenty of the startup 
 credit. With a little hunting I found the Daily Budget setting which was 0, 
 I upped that. Still getting 503 - should it recognize the change 
 immediately?

 This budget setting has not been necessary in the other two test 
 environments that I have deployed this code to, which are still working 
 fine. What changed?

 Thanks,
 Jeff

 On Wed, Jul 8, 2015 at 1:41 PM, Patrice (Cloud Platform Support) 
 pvout...@google.com javascript: wrote:

 Hi Jeff,

 Just doing the normal checks : Is billing enabled on the project? GCS 
 needs billing, so it's possible you get 503 if it isn't (or if your daily 
 budget is still at 0, the default value).

 Cheers


 On Wednesday, July 8, 2015 at 4:09:09 PM UTC-4, Jeff Schnitzer wrote:

 I'm setting up a demo environment on a new appid and running into some 
 problems with GCS. Unless otherwise mentioned, all of this is using the new 
 console.

 The first strange thing is that a default bucket was not created. When 
 making appids before, the default bucket was created automatically. With a 
 little digging I found a button in the old console App Settings that added 
 a default GCS bucket, and that seemed to work. I have a default bucket 
 named gearlaunch-hub-demo.appspot.com.

 Now when I try to upload (using the same code that works on other 
 appids), I get a 503 error on the client. There's nothing in the logs about 
 this error.

 Any idea what's up, or how I can get uploads working?

 My appid is gearlaunch-hub-demo. The options passed 
 to createUploadUrl are:


 UploadOptions.Builder.withGoogleStorageBucketName(AppIdentityServiceFactory.getAppIdentityService().getDefaultGcsBucketName())

 Thanks,
 Jeff




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bca62856-0b94-488b-8d67-fcce92d64c84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Rate Limit Exceeded when creating new project through devloper's console

2015-07-09 Thread Phil Side

I'm getting the message Rate Limit Exceeded when I try to create a new 
project through the developer's console. I have no idea what rate it is 
referring to, and so no idea how to fix the problem. Any help would be 
appreciated. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b04a5c17-87c5-4841-9a6c-4e505fa8e246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Wrong data storage in GAE NDB

2015-07-09 Thread Ryan (Cloud Platform Support)
Salutations Ankur,

You should look into sharded counters 
https://cloud.google.com/appengine/articles/sharding_counters. When you 
have too many updates to the same entity you can run into situations where 
you have multiple updates happening at once, which leads to to incorrect 
results.

On Thursday, July 9, 2015 at 7:33:42 AM UTC-4, Ankur Jatt wrote:

 Here is the situation
 I have a model like

 class Content(ndb.Model):
 likeCount=ndb.IntegerProperty(default=0)
 likeUser  = ndb.KeyProperty(kind=User, repeated=True)

 When a new content generate than a new Content object is generated like

 content_obj = Content(parent=objContentData.key, #Where ContentData is 
 another ndb.Model subclass
  likeUser=[],
  likeCount=0
)

 And when any user like the same content than below function gets called

 def modify_like(contentData_key, user_key):
 like_obj = Content.query(parent=contetData_key).get()
 if like_obj:
 like_obj.likeUser.append(user_key)
 like_obj.likeCount += 1
 like_obj.put()

 ###Problem#
 Now the problem is that when at the same time more than 4 user like the 
 same content than this object write wrong data.
 So how can I solve this problem


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b10bc20d-79cc-4275-8ad1-79d50e39c5b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Page from appspot.com scrape my website

2015-07-09 Thread Eduard Dimitrov
http://vivaciousp29.appspot.com/3dwebdesign.org/ - my website is scraped, 
full website. And I see as owner of appspot.com - Google :(
Anyone knows where and how to send notification to google to check what 
happened?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f6cc4727-e672-4f2b-9fef-5c7ee7202ba9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cannpt upload files in google bucket

2015-07-09 Thread Abhranil Majumder
Currently I cannot upload files in google cloud bucked. At first I 
configured the google cloud hosting, made a bucket and downloaded the 
appengine, and followed the steps to upload file. But I am getting 
NetworkError: 
500 Internal Server Error.

Please go through the issue from stack overflow and reply accordingly.

http://stackoverflow.com/questions/31266686/cant-upload-files-in-google-bucket-using-php

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c566510b-6ec9-4f39-8e76-027e12505a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Page from appspot.com scrape my website

2015-07-09 Thread Patrice (Cloud Platform Support)
Hi Eduard, 

I think that we already answered your question on your other post about 
this.

Is there anything else we can do to help you?

Google is not the owner of these applications. We just offer the platform 
to code and deploy these applications. There is a user who uploaded that 
code. On the other post, I provided a form that you can use to report this. 
This is the proper place to do so :).

Cheers

On Thursday, July 9, 2015 at 3:29:40 AM UTC-4, Eduard Dimitrov wrote:

 http://vivaciousp29.appspot.com/3dwebdesign.org/ - my website is scraped, 
 full website. And I see as owner of appspot.com - Google :(
 Anyone knows where and how to send notification to google to check what 
 happened?


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b55d5190-7b58-484c-bcb2-4b39ffddaa51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Cannot set permision in VM Instances for lamp server.

2015-07-09 Thread 'Alex Martelli' via Google App Engine
VM instances for LAMP server strongly suggests that you are *not* talking
about App Engine, which is what this group is about, but *Compute* Engine,
https://groups.google.com/forum/#!forum/gce-discussion . If so, please send
your question there -- with *much* more detail, because it's impossible to
answer it with the near-zero amount of information you provide (what
exactly do you want to perform, what have you tried, how have your attempts
failed, and so forth).

Alex

On Wed, Jul 8, 2015 at 11:43 PM, Abhranil Majumder 
abhranil.majum...@indusnet.co.in wrote:

 How to manage permission in VM Instances for lamp server.

 *Permissions:*

 User info Disabled
 Compute Read Only
 Storage Disabled
  Task queue Disabled
 BigQuery Disabled
 Cloud SQL Disabled
 BigQuery Disabled
 Cloud SQL Disabled
 Cloud Datastore Disabled
 Cloud Logging Write Only
 Cloud Monitoring Disabled
 Cloud Platform Disabled


  --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/7dab856a-b49e-43f3-bf50-5ac4d3b9f6c2%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/7dab856a-b49e-43f3-bf50-5ac4d3b9f6c2%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be_8pGyP4%3DBz%3DTZQfDcQEubUT%3D67cxX6xs%2B3i-ioVNdx0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Saving an entity from a Reducer invoking my DAO (DatastoreService.put)

2015-07-09 Thread 'Tom Kaitchuck' via Google App Engine
Correct. You still have to deal with slice / shard retries. But it should
work fine.

On Wed, Jul 8, 2015 at 11:58 PM, Antonio Fornié Casarrubios 
antonio.for...@gmail.com wrote:

 Thanks Tom. So it's that all? The only difference/disadvantage of this
 approach would be to have less performance?


 El miércoles, 8 de julio de 2015, 20:52:25 (UTC+2), Tom Kaitchuck escribió:

 The point of DatastoreMutationPool is to provide batching of updates to
 increase throughput. It is fine to use something else.

 On Wed, Jul 8, 2015 at 7:34 AM, Antonio Fornié Casarrubios 
 antonio...@gmail.com wrote:


 Hi all. I didn't find any answer or info for this:

 *Context*: Java Google App Engine project, using Datastore. For a
 certain kind, Sale, I save the entities in two ways:


1. From a typical SaleDAO#save(saleEntity)
2. During MapReduce, from my SaleReducer#emit(saleEntity)


 So I was investigating how to reuse some behavior as part of both cases,
 so I made something like:

 class SaleDAO {
 DatastoreService datastore
 public save(Entity entity) {
 // My common behavior that I want to reuse
 datastore.put(entity)
 // Some more common behavior that I want to reuse
 }
 }



 And then for the MapReduce part, I extended OutputWriter to call my DAO,
 instead of the DatastoreMutationPool#put(entity) method provided for that
 purpose.


 public class SaleOutputWriter extends OutputWriterEntity {
 @Override
 public void write(Entity entity) {
 //pool.put(entity); - try to invoke the DAO instead
 saleDAO.save(sale)
 }
 }




1. My surprise is that it works! Well, the MR jobs seem to go to a
strange state, but the entities are correctly saved. Still I'm 99% sure
that this must be a bad practice or bring some problems. Can somebody 
 tell
me
2. If that's not the case, why are we given a certain API for
MapReduce and another one for normal persistence? Will be the same to
invoke DatastoreMutationPool.put than DatastoreService.put (any
implementation)?


 Honestly, this idea sounded crazy in my head and now that it seems to
 work I want to know more about it.

 --
 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-appengi...@googlegroups.com.
 To post to this group, send email to google-a...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/61276548-616e-4f94-9263-00bcfcb5e33d%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/61276548-616e-4f94-9263-00bcfcb5e33d%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


  --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/1cc85d13-ff75-4284-8e50-06b8a4eb17a5%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/1cc85d13-ff75-4284-8e50-06b8a4eb17a5%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAN4PiZH3Ex%2BMzkK1DJWX7qCNW2i74BVgoTVoPWbC%2Bdb3sxa4YA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Cloud Compute “gcutil” depricated

2015-07-09 Thread Ryan (Cloud Platform Support)
This is best discussed in the GCE group. You can follow the thread here 
https://groups.google.com/forum/#!topic/gce-discussion/MvXDF_wkvDgor see 
the solution on Stack Overflow 
http://stackoverflow.com/questions/31304351/google-cloud-compute-gcutil-deprecated
.

On Wednesday, July 8, 2015 at 6:05:45 PM UTC-4, William Harvey wrote:

 I'm new to Google Cloud Compute and I'm no developer or coder. But I've 
 been following the information step by step guide. 
 http://www.filiwiese.com/running-screaming-frog-on-google-cloud/

 Unfortunately as of today gcutil has deprecated and I'm at a loss how to 
 follow the instructions.

 I tried understanding Googles info but no joy.

 I'm hoping that someone can explain to me how to proceed.

 I'm not looking for a rewrite but I'm completely stuck on the following...

 gcutil addinstance screaming-frog --service_account_scopes=storage-rw


 I tried to work out how to convert to cloud compute but can't proceed.

 Thanks


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4820aaeb-28d2-4faa-b2a2-b44802201b11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: [App Inventor] tinywebrss.appspot.com show The requested URL / was not found on this server.

2015-07-09 Thread Patrice (Cloud Platform Support)
Hi Mah Yon Fong, 

When you say the app can't access the RSS data, do you have errors in your 
log? Do you see anything in your console? Do you have the particular code 
that returns an error, can you provide anything about what causes a problem 
or what you are doing in your app?

Honestly, as a question, this is unfortunately impossible to answer with 
more information. It is possible, like barryhunter pointed out, that you're 
being hit by the deprecation of the Master/Slave datastore, but it's hard 
to tell right now.

If you could include the errors in your logs 
(console.developers.google.com, choose your project, then monitor then 
logs), and the app.yaml, with the relevant handler code, it would be 
helfpul to troubleshoot further

Cheers

On Thursday, July 9, 2015 at 11:23:23 AM UTC-4, Mah yon fong wrote:

 I'm a google developer , i have publish my app few year ago, is very 
 simple app, that's only show the quote from my blogspot feed, but this 
 Tuesday i look my app can't running properly , before i using  
 tinywebrss.appspot.com to build my app, but now my app can't access the 
 RSS data from tinywebrss.appspot.com, last year some time morning can't 
 receive RSS Feed From tinywebrss.appspot.com, so my app can't working, 
 but afternoon is ok, so is it google already remove this side from 
 server? may i know what should i do?

 Sorry for my poor english!

 Thank you!


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6b7e1486-470c-4628-9761-40074978f2bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Application stuck in traffic migration

2015-07-09 Thread Nick Clarey
Hi Patrice,

It's a Python app, and yes warmup requests are enabled.

The app is stuck in the migrating state - the traffic destination has
been in the Traffic move is in progress for 16 days. The radio buttons to
change default versions are disabled so that I cannot change the default
version, which is still the traffic source.

Best regards,

Nick

On 9 July 2015 at 16:58, Patrice (Cloud Platform Support) 
pvoutsi...@google.com wrote:

 Hi Nick,

 If your app is in Python, Go or PHP, did you enable warmup requests?

 If you did, then you mean the app is in a migrated state because the new
 one isn't the default version yet? Or because your old version still
 serves? The older version should continue serving if your users type the
 version in your url.

 Cheers

 On Thursday, July 9, 2015 at 10:29:00 AM UTC-4, Nick Clarey wrote:

 Hi all,

 I thought I'd try using traffic migration to shift versions of my
 appengine application, but it seems to now be jammed in the migrating
 state. I thought I'd leave it for a while but at 16 days and counting I'm
 thinking something fishy is going on.

 Is there some way to force it to complete?

 Best regards,

 Nick

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/pBPJ6g2WsZU/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/cefaf609-593f-400d-9302-f1d0e2669723%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Nick Clarey
CEO, Airsource Ltd.
Phone: +44-1223-708370
Fax : +44-1223-309814

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALZWnPc1b%2B%2B4MD-d%3D1Wg0wfVOkH6Gv85BamwwXCZqh8gdDmHmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Application stuck in traffic migration

2015-07-09 Thread Nick Clarey
Hi all,

I thought I'd try using traffic migration to shift versions of my appengine 
application, but it seems to now be jammed in the migrating state. I 
thought I'd leave it for a while but at 16 days and counting I'm thinking 
something fishy is going on.

Is there some way to force it to complete?

Best regards,

Nick

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e90fae63-94ee-4c64-8195-d140a96a5332%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Odd console behavior WRT custom domains

2015-07-09 Thread Nick (Cloud Platform Support)
Hey Jeff,

I'd recommend that you get in touch with sales 
https://cloud.google.com/contact/ and check the terms of service 
https://cloud.google.com/terms/, to ensure that everything's good. 
There's also a public issue tracker feature request 
https://code.google.com/p/googleappengine/issues/detail?id=8528q=custom%20domains%20apicolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
 open 
for a Custom Domains API, which you should star to register interest and 
lend weight to. Finally, I'm not sure if you've already checked this out, 
but there's a Domains API https://developers.google.com/+/domains/ for 
Google+ that might fill some needs for you.

Best wishes,

Nick

On Thursday, July 9, 2015 at 1:16:50 PM UTC-4, Jeff Schnitzer wrote:

 Yes, please make this a single place where all administrators can manage 
 the domains pointing at an app. We're running a whitelabel service which 
 will eventually have thousands of entries and management of domains can't 
 be tied to specific user accounts. This is going to be really confusing.

 Thanks,
 Jeff

 On Wed, Jul 8, 2015 at 3:02 PM, Nick (Cloud Platform Support) 
 pay...@google.com wrote:

 Hey Jeff,

 As of now, the Developers Console only shows domains verified by you. 
 We've an internal request to make this information available to all 
 owners/developers of app. In the meantime, other owners can use Google Apps 
 control panel to view this information, if these domains are managed by 
 Google Apps. You can also add other owners of this project as owners in 
 Webmaster tools for the domain. This will enable them to view custom domain 
 mappings in the Developers Console. 

 Regards,

 Nick


 On Wednesday, July 8, 2015 at 2:12:47 PM UTC-4, Jeff Schnitzer wrote:

 This looks like some sort of bug:

 OwnerA added customdomain1 to TheProject
 OwnerB added customdomain2 to TheProject

 When OwnerA looks at the Custom Domains page for TheProject in the 
 console, he sees customdomain1 only.

 When OwnerB looks at the Custom Domains page for TheProject in the 
 console, he sees customdomain2 only.

 Oddly, both custom domains seem to work.

 I would expect that all app owners see all custom domains for TheProject 
 in the console. Am I missing something?

 Thanks,
 Jeff




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ea5cde76-31fa-4def-bd74-7aee9c8f2ca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannpt upload files in google bucket

2015-07-09 Thread Nick (Cloud Platform Support)
Hey Abhranil,

Stackoverflow has its own process for determining whether your question 
will get an answer or not (basically, if it's well-researched and a user 
who wants to answer can answer it, they might, and if they do, you'll get a 
notification). It appears that you're already getting help there (which is 
the correct place to put a specific technical question, since this forum is 
not meant for 1-on-1 support, but rather general discussion on the 
platform), so I think you should continue to respond to the user who's 
already helping you. 

Cross-posting to other forums merely asking for someone to look at your 
stackoverflow question is bad net etiquette in general, so please avoid 
this in future. It's essentially spamming since there's no content to your 
post other than please go to this link.

If you have any real discussion to start on the platform / services, please 
feel free to open a new thread for that purpose, and have a nice day!

On Thursday, July 9, 2015 at 2:52:45 AM UTC-4, Abhranil Majumder wrote:

 Currently I cannot upload files in google cloud bucked. At first I 
 configured the google cloud hosting, made a bucket and downloaded the 
 appengine, and followed the steps to upload file. But I am getting 
 NetworkError: 
 500 Internal Server Error.

 Please go through the issue from stack overflow and reply accordingly.


 http://stackoverflow.com/questions/31266686/cant-upload-files-in-google-bucket-using-php


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2f0589a7-141c-4265-834a-8461b3137dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Access to admin urls in production gae app

2015-07-09 Thread Nick (Cloud Platform Support)
Hey Richard,

It appears as though you're returning the check_admin function itself 
rather than the result of calling the function, like check_admin(). Is that 
intentional? It's hard to tell what you're intending since the rest of your 
code which would give context is missing.

At any rate, this forum isn't meant for 1-on-1 technical support, but is 
rather for general discussion of the platform, so I think you should 
proceed to post this question, with a little more explanation, on 
stackoverflow http://stackoverflow.com. 

Have a great day,

Nick

On Thursday, July 9, 2015 at 12:07:17 PM UTC-4, Richard Cheesmar wrote:



 On Thursday, July 9, 2015 at 6:56:04 PM UTC+3, Richard Cheesmar wrote:



I have uploaded a gae app for testing to production. I need to est 
 the admin access. I have added two email addresses via permissions and set 
 them as owners. 

 I have a decorator which is called to check admin user and this is called 
 properly on the local development machine.



 def admin_required(handler):
  
  Decorator for checking if there's an admin user
  Assigned Google App admin only NOT users with admin permissions
  

  def check_admin(self, *args, **kwargs):
  
  Admin decorator
  
  logging.info(users.is_current_user_admin())
  if not users.is_current_user_admin():
  self.redirect_to('home')
  else:
  return handler(self, *args, **kwargs)

  return check_admin


 I have this in app.yaml

 - url: /admin.*
   script: main.app
   login: admin
   auth_fail_action: unauthorized

  


 I login to my app using one of the emails in permissions and then try to 
 access an admin page and get the following:

 Error: Unauthorized Your client does not have permission to the requested 
 URL /admin/delete-search-indexes.



 Am I missing something simple or is it that Google have to make 
 everything difficult to understand?



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1df6b39c-0615-4f8f-b027-7126d35bb0ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Rate Limit Exceeded when creating new project through devloper's console

2015-07-09 Thread Nick (Cloud Platform Support)
Hey Phil,

This forum isn't generally meant for 1-on-1 technical support, but I 
recognize that you don't really have enough info or enough ideas of next 
steps in order to create a good stackoverflow question or public issue 
tracker issue. That being the case, why don't you go ahead and capture a HAR 
recording https://toolbox.googleapps.com/apps/har_analyzer/ of your 
attempt at creating the project, and see if you can use the HAR analyzer to 
see any extra error detail in HTTP responses. If you manage to find enough 
information to determine the issue, or even if you can just produce the HAR 
file, create a public issue tracker issue 
http://code.google.com/p/google-appengine/issues/list with that attached, 
set it to Type-Production, and post the link here so that I can follow up 
with you. While we don't do 1-on-1 technical support here, if you've 
noticed a problem with the platform itself, we definitely want to help fix 
that.

Finally, it's possible the rate-limiting response is perfectly normal and 
you're attempting to create projects at a fast rate (it seems you'd be 
aware of that, though). So, that's something to consider.

Anyways, let me know how it goes, and I'll be able to advise you on next 
steps,

Best wishes,

Nick

On Thursday, July 9, 2015 at 9:20:36 AM UTC-4, Phil Side wrote:


 I'm getting the message Rate Limit Exceeded when I try to create a new 
 project through the developer's console. I have no idea what rate it is 
 referring to, and so no idea how to fix the problem. Any help would be 
 appreciated. 


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a74a268d-16fd-490c-9f1f-959b438a18a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.