[google-appengine] Re: about Import PIL error

2019-08-13 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine

You need to review this documentation 

 that 
describes how to defined third party libraries in your Google App Engine 
Python runtime. If the issue continues, please post in Stackoverflow 
where
 
they will be able to address this coding issue as GoogleGroups is intended 
for discussion on products and not intended for coding troubleshooting. 



On Tuesday, August 13, 2019 at 12:43:57 PM UTC-4, AI AIQ wrote:
>
>
> Hi I have a error using gcloud app deploy command
>
> I got a error message like as below:
> ModuleNotFoundError: No module named 'PIL'
>
> However, it works fine when I doing this python shell 
> >> import PIL
> >> from PIL import Image
> >> Image
>
> What is the problem? Can you check about this one?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/698d8b21-5735-47d5-8a4a-fbc53016dbbc%40googlegroups.com.


[google-appengine] Re: Datastore export permission only

2019-02-19 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine


Hello,

Engineers are aware of the request and there is no ETA at this moment. You 
can follow the progress of this feature request by following this link 
.  You can “star” it so to 
receive notification on any updates on this request.



On Wednesday, December 12, 2018 at 9:11:18 AM UTC-5, Rajesh Gupta wrote:
>
> Hello,
> I am setting up a new user in the IAM.
> I want only the datastore.databases.export  permission.
>
> I don't want the  ROLE datastore.importExportAdmin  
>
> Rajesh
> *www.GainERP.com *
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
> Mobile*
>
>
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6f024b56-63bb-4f0b-a4cd-5198b21c08e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Appengine Flexible Pricing is total Ripoff

2019-01-25 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine


Hello Rahul, 

I am addressing your questions below:

* Are there any considerations to make Flex pricing fair in the coming 
weeks?

[Ans] For notifications of prices changes will follow the procedure as 
described in section 1.7.b of the Google Cloud Platform Terms of Service 
. As prices are part of the Service Legal 
Agreement, changes will be made 30 days after they are posted. Google will 
provide at least 90 days notices by contacting the customer through their 
point of contact. 

I would like to clarify the price difference you described with a simple 
comparison reflecting the difference in cost. From Google App Engine Flex 
 the price is  $0.05 per core 
hour while a Google Compute Engine 
 VM is $0.03 per core hour. The 
main difference in price is that App Engine Flex manages most of the 
infrastructure for you, as you have described in your opening statement. If 
one needs these features in a GCE VM, they will need to be implemented and 
managed by the user.

* How reliable is this page giving an example of migration of Flex -> GKE 

 
[qqq]. Are there any examples in Github?

[Ans]  I engage the Infrastructure team and they said that it should work 
without any complications. They also added that GKE means more 
infrastructure management on your side. For an example, I recommend you to 
review Google Kubernetes Engine's quickstart 
. I would like 
to add this post 

 
as they discuss contrast between the products that you have interest on: 
Google App Engine, Google Kubernetes Engine and Google Compute Engine VM. I 
would also provide the price calculator 
 so you can compare 
estimated cost values between the different products.


* What is your Roadmap regarding CloudTasks, Memcache for Flex?

[Ans] Cloud Tasks is still in beta stage. You could use Pub/Sub as an 
alternative.  

I understand that Memcache is not Available for Google App Engine Flex as 
discussed here . The current 
solution is to use Redis Labs Memcache 

 
as they offer a compatible API to Memcache in Google App Engine Standard 
which will allow you to switch at a later time. 






On Saturday, January 19, 2019 at 3:47:02 AM UTC-5, Rahul Tongia wrote:
>
> Hi Google Team,
>
> I have recently migrated an application from old Managed VMs to "flex". My 
> application does server side processing using flex and we use servers in 
> 24x7 mode. After few days of using flex, I find it way more expensive than 
> alternatives.
>
> Here are few observations.
> - For Same VM configuration: Flex pricing is nearly 3 times for my use 
> case after including just Compute Engine sustained pricing. Even the 
> "vm/core/hour" or "RAM/hour" costs are way more.
> - Datastore costs have gone up much more because of missing "Memcache" in 
> Flex. Even with Cloud Redis, we are paying additional cost.
> - We had to rewrite entire codebase which was using messaging to PubSub
>
> In effect, we don't see the additional value in Flex that we are being 
> charged for. In fact, much of the value has been removed. I understand 
> reduced DevOps, Health Check with flex is valuable, however, the pricing of 
> it should be reconsidered. At this point of time, I am considering either 
> to move off entirely from AppEngine or atleast moving to our flex instance 
> to Google Kubernetes Engine.
>
> Few questions that would help us decide:
>
>- Are there any considerations to make Flex pricing fair in the coming 
>weeks?
>- How reliable is this page giving an example of migration of Flex -> 
>GKE : 
>
> https://cloud.google.com/appengine/docs/flexible/python/run-flex-app-on-kubernetes
>  
>. Are there any examples in Github?
>- What is your Roadmap regarding CloudTasks, Memcache for Flex?
>
> Regards,
> Rahul Tongia
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ecd255d9-4711-42f1-a035-514d42f4bfd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Using Distributed lock for a particular method based on a path parameter.

2019-01-22 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine


Hello,

Locking a method could be done in code. Further clarification is needed on 
your use case to address your question better using App Engine. So you may 
post your full detailed question  
on Stack Overflow  
since Google Groups are reserved for general discussions on Google Cloud 
Platform-end products. 

Nevertheless, a viable solution is to use different services for your 
different handlers as described here 

 
and here 
. 
For this, you can use a dispatch file 

 
to override the routing rules and use different services based on the 
definition of the request, get/x. To process requests serially, you may 
also review the section “scheduling work outside of user requests” in App 
Engine’s How-to guides 
.
 


If you need further architectural assistance, I would like to suggest 
contacting one of the supported partners 
 to discuss about your 
application-specific design.



On Wednesday, January 16, 2019 at 9:13:49 AM UTC-5, Arun Ram wrote:
>
> Is there a way to lock a method that processes a http request based on a 
> particular path parameter in GAE java? If get three requests get/a, get/a 
> and get/b for a path get/x where x is a dynamic path parameter. Is there a 
> way to lock the method to process get/a serially while it processes get/b 
> parallely.
>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3d667868-8320-468f-a54b-002f1ea058a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to connect Firebase Database from GOogle App engine

2019-01-18 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine
If you find any documentation confusing or not clear enough, you could 
click the “Send feedback” link located at the top right corner of most 
documentation pages for the Documentation team to take note and bring 
further improvements to these pages.


On Wednesday, January 16, 2019 at 2:51:29 AM UTC-5, Linus Larsen wrote:
>
> Ok, I think I got it now. With an app engine project using Cloud Datastore 
> there is no way to create a firestore database, e.g the new firebase 
> database. However
> it's possible to create the old firebase database (aka real time 
> database). Very confusing.
>
>  
>
> Den måndag 14 januari 2019 kl. 15:44:18 UTC+1 skrev Linus Larsen:
>>
>> So basically what you are telling me is there is no way for me to get FCM 
>> messaging working with my existing app engine project that I have been 
>> running
>> for more or less 4 years now?
>>
>> I tried the Firebase Admin SDK for java, but I cannot initialise the 
>> library since I need a database name, I cannot create a Firebase database 
>> since I use Cloud Datastore.
>>
>> Creating a new Project, migrate all my services, payment infoetc, is 
>> a bit overkill just to get push notifications to my mobile clients to 
>> continue work as expected.
>>
>>
>>
>>
>>
>> Den måndag 14 januari 2019 kl. 15:20:00 UTC+1 skrev George (Cloud 
>> Platform Support):
>>>
>>> Hi Linus, 
>>>
>>> You are indeed missing the fact that one can't as yet use Datastore and 
>>> Firestore in the same project, one needs to choose at the start which 
>>> functionality and features suit one's project better. The way you migrate 
>>> from Cloud Messaging to FCM seems a separate issue. You may find related 
>>> details, and an FAQ list on the "GCM and FCM Frequently Asked Questions" 
>>> documentation page . 
>>>
>>

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e0764869-a98d-4820-bc39-52e7050aa912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Testbed stubs for Cloud Datastore?

2019-01-17 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine



Hello 

Currently Google is advising customers to use tools specific to Python 
rather that being dependent on dep_appserver 
.
 
To test Datastore in your local environment, you can use the Datastore 
emulator as described here 

 
and here . 
Unfortunately Google App Engine Python 3.7 Runtime does not provide the 
stub service. I have created a feature request 
 for you. Please notice that 
there is no ETA for this type of requests nor a guarantee that it will be 
implemented. 

Regarding your second question, I am not sure if the Datastore interface to 
ndb is supported by Google or if you are referring to a third party 
library. I have checked the current built-in third party libraries 

 
and I could not find an actual reference to it. For this, we would need 
more information and a link to the actual resources you are referring to. 


-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6c11ff68-4143-4298-a451-c0cf21baefe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Appengine OutBound traffic not going from Custom domain

2019-01-11 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine


Hi Chamika,

This is not possible as it has been discussed in the duplicate thread you 
have created in Stack Overflow [1]. 

There are already feature requests (like this [1] and this one [2]) on 
providing static IP for App Engine apps, If you consider the option to have 
an static IP address for your App Engine Flex application. You may star 
them for receiving further updates. In the meantime, you may take a look at 
the workaround provided in Issue 65579021#comment2 [4] or this thread [5] 
answered by a Product Manager at Google.

[1] 
https://stackoverflow.com/questions/53976844/google-appengine-outbound-traffic-not-going-from-custom-domain
 

[2] https://issuetracker.google.com/65579021

[3] https://issuetracker.google.com/35891948

[4] https://issuetracker.google.com/65579021#comment2   

[5] 
https://stackoverflow.com/questions/36145648/assigning-static-ip-address-to-gae-python-project?answertab=votes#tab-top
 

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9d15deca-f341-44f1-a590-4b57373089d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google cloud task in app engine flex error PERMISSION_DENIED

2018-12-08 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine


Hello Binh,

This forum is useful to request information about Google products, and it 
is not the best forum for troubleshooting code. I suggest creating a post 
in Stackoverflow providing more details about your project. Of interest, 
you need to describe if the error you are seeing are happening during the 
creation of all task or just for some of them.  Based on the error you 
provided, Iit is likely this is caused by an issue in your code, according 
to this Stack Overflow question 
.
 
>From the error information, it is also  possible the error is related to 
your project’s permission configuration 
.
 
To address this, we would need more information about the layout of your 
application and the Client library that you are using in your project. If 
this is an issue related to an actual Google Cloud product, we can engage 
into a private channel to review your project and try to reproduce the 
issue.

Have a great day!


On Thursday, December 6, 2018 at 10:33:38 PM UTC-5, Binh Bui Van wrote:
>
> Hi all,
> I am running cloud task on App engine flex.
> It work normal. 
> But sometime i get this error when create task and task could not created
>
> 
> (node: 16) UnhandledPromiseRejectionWarning: Error: 7 PERMISSION_DENIED: 
> App Engine targets require "appengine.applications.get" IAM permission (
> https://cloud.google.com/appengine/docs/admin-api/access-control) and the 
> API_CLOUD_PLATFORM scope (https://www.googleapis.com/auth/cloud-platform).
> --
>
> Anyone tell me what is it? And what should i do?
>
> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/081a37de-f2b9-4c89-8d3d-85a9671d2313%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.