[google-appengine] Re: Unable to download file from google cloud storage with it's original name.

2018-07-10 Thread diogoalmeida via Google App Engine
Most probably the issue is that your code may be using the open 

 method, 
which sets the mode default to read-only.

Less likely, you are trying to save the file to the App Engine file system, 
which is a restriction documented here 
.
 
App Engine sandboxed environment does not allow you to save in the file 
system. 


On Tuesday, July 10, 2018 at 10:39:08 AM UTC-4, Nagaraju Devisetti wrote:
>
> I am getting Read-only file system bug with cloud storage.
>
> Traceback (most recent call last):
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1535, in 
> __call__
> rv = self.handle_exception(request, response, e)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1529, in 
> __call__
> rv = self.router.dispatch(request, response)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1278, in 
> default_dispatcher
> return route.handler_adapter(request, response)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1102, in 
> __call__
> return handler.dispatch()
>   File "F:\TABASCO\TAB-167\tabasco\user_accounts.py", line 274, in dispatch
> webapp2.RequestHandler.dispatch(self)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 572, in 
> dispatch
> return self.handle_exception(e, self.app.debug)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 570, in 
> dispatch
> return method(*args, **kwargs)
>   File "F:\TABASCO\TAB-167\tabasco\main.py", line 4964, in get
> self.downloadPackage(pkg, DOWNLOAD_LIMIT, uri, to_download, 
> folderdownload,data,recipientindex)
>   File "F:\TABASCO\TAB-167\tabasco\main.py", line 5109, in downloadPackage
> file_blob.download_to_filename(str(file_info.name))
>   File "C:\Python27\lib\site-packages\google\cloud\storage\blob.py", line 
> 519, in download_to_filename
> with open(filename, 'wb') as file_obj:
>   File "C:\Program 
> Files\Google\google_appengine\google\appengine\tools\devappserver2\python\stubs.py",
>  line 247, in __init__
> raise IOError(errno.EROFS, 'Read-only file system', filename)
> IOError: [Errno 30] Read-only file system: 'bawarchi.jpg'
>
>
> On Wednesday, July 4, 2018 at 9:45:01 PM UTC+5:30, Nagaraju Devisetti 
> wrote:
>>
>> I am uploading the files to sub folders for identifying specific user 
>> files, but here file is downloading with path. 
>> I didn't find any solution for this. 
>>
>

-- 
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/491807eb-f993-44ed-8d48-265b0ccbf1bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Unable to download file from google cloud storage with it's original name.

2018-07-10 Thread diogoalmeida via Google App Engine
Most probably the issue is that your code may be using the open 

 
method, which sets the mode default to read-only.

Less likely, you are trying to save the file to the App Engine file system, 
which is a restriction documented here 
.
 
App Engine sandboxed environment does not allow you to save in the file 
system. 


On Tuesday, July 10, 2018 at 10:39:08 AM UTC-4, Nagaraju Devisetti wrote:
>
> I am getting Read-only file system bug with cloud storage.
>
> Traceback (most recent call last):
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1535, in 
> __call__
> rv = self.handle_exception(request, response, e)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1529, in 
> __call__
> rv = self.router.dispatch(request, response)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1278, in 
> default_dispatcher
> return route.handler_adapter(request, response)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 1102, in 
> __call__
> return handler.dispatch()
>   File "F:\TABASCO\TAB-167\tabasco\user_accounts.py", line 274, in dispatch
> webapp2.RequestHandler.dispatch(self)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 572, in 
> dispatch
> return self.handle_exception(e, self.app.debug)
>   File "C:\Program 
> Files\Google\google_appengine\lib\webapp2-2.5.2\webapp2.py", line 570, in 
> dispatch
> return method(*args, **kwargs)
>   File "F:\TABASCO\TAB-167\tabasco\main.py", line 4964, in get
> self.downloadPackage(pkg, DOWNLOAD_LIMIT, uri, to_download, 
> folderdownload,data,recipientindex)
>   File "F:\TABASCO\TAB-167\tabasco\main.py", line 5109, in downloadPackage
> file_blob.download_to_filename(str(file_info.name))
>   File "C:\Python27\lib\site-packages\google\cloud\storage\blob.py", line 
> 519, in download_to_filename
> with open(filename, 'wb') as file_obj:
>   File "C:\Program 
> Files\Google\google_appengine\google\appengine\tools\devappserver2\python\stubs.py",
>  line 247, in __init__
> raise IOError(errno.EROFS, 'Read-only file system', filename)
> IOError: [Errno 30] Read-only file system: 'bawarchi.jpg'
>
>
> On Wednesday, July 4, 2018 at 9:45:01 PM UTC+5:30, Nagaraju Devisetti 
> wrote:
>>
>> I am uploading the files to sub folders for identifying specific user 
>> files, but here file is downloading with path. 
>> I didn't find any solution for this. 
>>
>

-- 
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/6f888194-cd59-45b4-9901-6b2890a73a70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: python 3.7 standard runtime release schedule?

2018-08-07 Thread diogoalmeida via Google App Engine
Hello Eric,

Even though the Python 3.7 runtime for App Engine standard was announced 
here [1], its document [2] has not been updated yet. You can also follow up 
on the release notes here [3].

As for the form to be an Alpha tester [4], it is no longer accepting 
submissions [5].

[1] 
https://cloudplatform.googleblog.com/2018/07/bringing-the-best-of-serverless-to-you.html?m=1
[2] https://cloud.google.com/appengine/docs/standard/python/runtime 
[3] https://cloud.google.com/appengine/docs/standard/python/release-notes 
[4] https://issuetracker.google.com/issues/35876441#comment104
[5] 
https://docs.google.com/a/google.com/forms/d/e/1FAIpQLSfLXViTUmtY6Ed_Gm9HohVVe7HMKcT37_MvzgPpKIDQTkZNjg/closedform
 


On Sunday, August 5, 2018 at 6:09:47 PM UTC-4, Eric G wrote:
>
> Apologies if this has already been asked, but now that python 3.7 standard 
> has been announced, what is the timeframe?  Is there an alpha signup yet?
>
> Thanks.
> Eric
>

-- 
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/7ac26273-c43c-4583-ada7-b5b285041709%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Newbie question - Deploy Coursebuilder

2018-09-24 Thread diogoalmeida via Google App Engine
Hello,

I recommend that you start with the basics with the official site for 
Course Builder here 
.

This forum is dedicated to Google App Engine, which is a different product, 
so if you have any technical questions on Course Builder, I suggest that 
you post on the appropriate forum 

 and 
the Course Builder community will be able to help you.


On Monday, September 24, 2018 at 1:31:27 PM UTC-4, Desiree Andrews wrote:
>
> Thought this was simple...can't get coursebuilder to deploy. Don't even 
> know how this cloud thingy really work. Where can I get the basics?
> Thank you for ANY 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f610a6ec-9de9-48d3-9c3c-ebf2827e1139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] [Error: Server Error] GAE Nodejs8 Standard. Upgrade to Nuxtjs@2.0.0 and deployment fails (could be unrelated)

2018-09-27 Thread diogoalmeida via Google App Engine
As per this  document, 
Node.js version 8 is in beta release and you can find out more by checking 
this  tutorial.

As per the errors you noticed after the update and deploy, please note that 
Node.js runtime in the App Engine standard environment uses the latest 
release of Node.js version 8. That said, you need to make sure that Nuxtjs 
2.0 complies to the latest version 
 and 
also make sure you have the same Node.js version installed on your machine 
in order to avoid errors when setting up the environment 

.

In regards to error logging, the beta release of Node.js support writing 
application logs with the log levels INFO, ERROR, and DEBUG. Please check 
more details here 

.


On Thursday, September 27, 2018 at 1:39:30 PM UTC-4, David J. Davis wrote:
>
> I've decided to move to another hosting platform, there's clearly not 
> enough support especially with the absense of Error reporting for Nodejs 
> standard.
>
> On Thu, Sep 27, 2018 at 10:33 AM David Davis  
> wrote:
>
>> [image: Screen Shot 2018-09-26 at 3.35.02 PM.png]
>> I've been building and deploying on Nodejs8 standard and everything was 
>> ok untill today when I upgraded from Nuxtjs 1.4.x to 2.0. Everything works 
>> fine locally but upon deploying am getting this 500 error. According to 
>> these docs 
>> https://cloud.google.com/error-reporting/docs/setup/app-engine-standard-environment
>>  
>> the nodejs8 environement doesn't allow error reporting. I see this in the 
>> console. Honestly confused how Im supposed to debug and proceed without any 
>> sort of error reporting. Please advise if anyone knows what to do.
>>
>> Project ID
>> agency-215614
>> Project number
>> 885488244632
>>
>> -- 
>>
>>

-- 
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/0d08c0ba-179e-4ebc-8609-367f748639f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Profiling python on GAE flex

2018-09-28 Thread diogoalmeida via Google App Engine
Stackdriver profiling for Python 
 is currently 
not supported. However, as a workaround, you can use profiling outside 
Google Cloud Platform using the Profiler interface.

I filed this feature request 
 and the Stackdriver 
engineering team will evaluate it. There is no ETA at the moment, so I 
suggest that you add your email to the thread to follow up on their 
progress. 


On Thursday, September 27, 2018 at 1:33:56 PM UTC-4, Neil Ghosh wrote:
>
> Has anyone tried profiling a service in python GAE flex? The cloud 
> profiler is not available yet for python.
>
> pyflame needs ptracing to be enabled inside docker and cProfile does not 
> seem to be profiling across process. 
>

-- 
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/4e27eb76-6134-46d3-b5bf-88cf3d2cca51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Flexible DNS client settings

2018-10-30 Thread diogoalmeida via Google App Engine
A possible solution you can try is to update resolv.conf file. However, as 
in App Engine, the local filesystem that your application is deployed to is 
not writable, you would not be able to edit. 

You are more likely to get some results on that by using App Engine 
Flexible Environment with the custom runtime 
.
 
The custom runtime environment runs as a docker container and docker tries 
to make a binding link to a system resolv.conf 

 
file.

You can also try to override DNS server used as shown here [3] using 
dns.resolver 

.

Note that the suggestions here have not been tested on my end as it is a 
customization of your environment, so I recommend that you consider it 
first in a test environment.

On Tuesday, October 30, 2018 at 9:06:44 AM UTC-4, Mark Drummond wrote:
>
> Is it possible to change the DNS client settings for an App Engine 
> Flexible deployed (Python/Django in this case) app? I'd like the app in 
> question to reference our internal DNS servers, available to the app over a 
> Cloud VPN connection.
>

-- 
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/57173c2b-8f75-4979-b876-bc86a7dce9c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Not able to register for Google Cloud Platform Free Trial

2019-04-02 Thread diogoalmeida via Google App Engine


If you still have issues completing the registration, please contact the 
Billing team for further assistance [1 
][2 
].



On Monday, February 25, 2019 at 3:56:47 PM UTC-5, Akki Akki wrote:
>
> It doesnt work with Axis EMV card
>
> On Friday, 13 October 2017 18:33:40 UTC+5:30, RAJ KUMAR wrote:
>>
>> You can use EMV Debit card of following banks.
>>
>> ICICI bank, HDFC bank,AXIS bank.I would like to suggest you to visit my 
>> blog for detail answer.
>>
>> Not able to register for Google Cloud Platform Free Trial offer using 
>> Debit card/Credit card? 
>> 
>>
>> On Thursday, September 7, 2017 at 6:41:51 PM UTC+5:30, Developer Coder 
>> wrote:
>>>
>>> Hi
>>> I want to open account in Google Cloud Platform so i have read the 
>>> documentation. When i open this 
>>> https://console.cloud.google.com/freetrial?page=0 and add the basic 
>>> detail.
>>> After that when i add detail in Payment Method and click on *Start my 
>>> free trial* button then it said *Invalid card detail try with another 
>>> card* and account is not activate. I have tried with *VISA* card and 
>>> *Master 
>>> Card*. So kindly please do some help that how to solve this issue? 
>>> I just want to know that credit card is required to open account in 
>>> Google Cloud Platform Or we can use Bank account number also to open 
>>> account on it?
>>>
>>> On Friday, April 7, 2017 at 6:49:54 PM UTC+5:30, Sarmistha Guha Thakurta 
>>> wrote:

 I was trying to register for the Free Trial of Google Cloud Platform. 
 However, after I filled up my data and credit card details, though My VISA 
 credit card was debited with $1 but I was shown an error "Transaction was 
 declined due to an Invalid Payment". I tried with AMEX card as well but 
 still the same error?
 #GoogleCloudPlatform #FreeTrial #GCP

>>>

-- 
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/bc397770-5122-45ff-a70c-30abf18fdd94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to choose between App engine flex vs compute engine

2019-04-02 Thread diogoalmeida via Google App Engine
The App Engine on the Flexible environment 
 is based on Compute 
Engine, however, it automatically scales your app up and down while 
balancing the load. Check the comparison of both solutions here 

.

On Tuesday, March 12, 2019 at 7:37:05 PM UTC-4, Jay Zh wrote:
>
> I mean the reason to go with GAE flex is to have the flexiblity. 
> If it gets to the point of flexblity why not go with Compute Engine?
>
> 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/5fef8831-46b2-42f7-b6e6-d07e62c2179f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 502 Bad Gateway

2019-04-02 Thread diogoalmeida via Google App Engine
The “502 Bad Gateway” response error is not very descriptive in regards to 
what exactly might be the issues: it might be the Nginx response to an 
application exception. The following two threads go over some of the 
possible causes for the 502 response code and how to resolve the issue on 
an application deployed to App Engine.

[1] 
https://groups.google.com/d/msg/google-appengine/DEbdfwZN1lc/dxmns1_pBgAJ
[2] https://groups.google.com/forum/#!topic/google-appengine/6gvlur9tXW0


On Monday, March 11, 2019 at 4:03:16 PM UTC-4, Amit kumar wrote:
>
> Locally django app is working fine but on being deployed with docker on 
> GAE, it is giving 502 Bad Gateway error. 
>

-- 
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/7a4ffa2b-8cba-45bb-a10d-51cd7031a870%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine High Availbility

2019-04-03 Thread diogoalmeida via Google App Engine


Hello.

App Engine is regional [1] 
 and the app should be 
available across all zones within the region you choose. However, it is not 
possible to change the app region after you set it.

App Engine does not have the same high availability mechanism present in 
Cloud SQL, so, you would need to build your application with that in mind. 
That said, I recommend that you review the following topics which will help 
you decide the best approach to deploying an application on the Google 
Cloud Platform.

-- Take into account the App Engine SLA, especially the downtime period [2] 
. If the SLA is still not 
appropriate for your use case, it might be necessary to change the strategy 
and use Compute Engine instead. That would allow you to create cross-region 
load balancers and forward the traffic to instances in two different 
regions in case of a region downtime [3] 

[4] 
.

-- As per this document [5], instead of using microservices, where all 
services are deployed within the same application in one single region, you 
could deploy multiple services in different App Engine project. However, 
check the benefits and drawbacks of this strategy here [5] 

.

-- I also recommend to review how instances are managed on App Engine 
Standard [6] 

 
and Flexible environment [7] 

.




On Wednesday, March 13, 2019 at 4:19:01 PM UTC-4, Eduardo Moreira wrote:
>
>
> Hello Everyone
>
> I have a question about High Availability within Google App Engine. It is 
> possible with VM Instances to have High-Availability in case whatever 
> happens in the region where you have your instance, but this does not seem 
> to be the case with Google App Engine, do you guys know the infraestructure 
> behind GAE? How safe it is against eventual unexpected issues?
>
> I know it can be done in SQL which is the database for the app, but I am 
> interested on the actual GAE app itself.
>
> 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/67e30220-0b7e-4f93-b500-f5dcf6b07b32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Is it possible to setup HHVM PHP runtime on google app engine?

2019-04-03 Thread diogoalmeida via Google App Engine
HHVM is not supported on the native PHP runtime for App Engine, however, 
you can use custom runtimes 

 
on Managed VMs to install and run HHVM. This 
 
document goes over more details on how to use an alternate implementation 
of App Engine flexible environment.


On Friday, March 8, 2019 at 11:01:39 AM UTC-5, Suresh Kumar wrote:
>
> Is it possible to setup HHVM PHP runtime on google app engine? 
>

-- 
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/57dd763f-bb45-4694-ad81-8f0d88dd82b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to prevent sync bucket files from local cloud storage to server

2019-04-04 Thread diogoalmeida via Google App Engine
Hello.

Cloud Storage buckets can be accessed from almost anywhere 
, so when you run 
the application locally you can already upload files to the Cloud Storage 
buckets within the Cloud Platform by using the Cloud Storage API or when 
you hard code the bucket address (gs://[bucket_name]).

However, I am not sure if you meant Cloud Storage bucket. If you meant that 
you do not want to deploy to App Engine all the files within the 
application code base (or sync bucket), you might try using the Maven 
“” tag 

 
to ignore certain files in the deploy process.


On Thursday, March 7, 2019 at 2:55:42 PM UTC-5, Emmanuel Miramon wrote:
>
> Hi I have my google cloud sdk installed and I use the maven plugin 
> , and 
> I followed this guide 
> 
>  
> to save files to the local environment, but when I ran mvn appengine:deploy 
> all the files that I prove in my local environment it's started to upload 
> to the server, I would like to know how a can prevent this issue, regards.
>

-- 
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/d458d5ad-edad-4684-b7fb-1e2feafe5883%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: The Link To WebApp3 NonPublic Repository

2019-04-17 Thread diogoalmeida via Google App Engine
App Engine Python container image only supports the frameworks mentioned 
here [1]. A feature request [2] was filed with the App Engine engineering 
team. This will be evaluated and possibly implemented in the future with 
the update released in the public documents, however, there is no ETA at 
this moment. Check the webapp2 documents here [3].

[1] https://cloud.google.com/appengine/docs/standard/python3/quickstart
[2] https://issuetracker.google.com/130767411 
[3] https://webapp2.readthedocs.io/en/latest/

On Wednesday, April 17, 2019 at 10:03:49 AM UTC-4, Marcus Eagan wrote:
>
> Hello there, 
>
> I've recently looked into using webapp3 with a few wishes: that there is a 
> lightweight framework  for working with Google App Engine that evolved from 
> WebApp2, and that the next generation framework supports python 3. The 
> repository listed at this website does not appear to exist, perhaps because 
> it is private: https://webapp2.readthedocs.io/features.html
>
> This sort of information is critical for developers looking to adopt the 
> platform or increase our existing footprint.
>
> Furthermore, links to documentation for both WebApp2 and WebApp3 are down. 
> Please advise on what I can do about the repository and what's going on 
> with the documentation.
>
> Thanks,
>
> Marcus
>

-- 
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/dbc39263-7778-4d25-b95f-4960c313a830%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cloud Tasks alternative for Kubernetes

2019-04-19 Thread diogoalmeida via Google App Engine


Cloud Tasks  
depend on a GAE project running on a specific region. The app serves as the 
location for whatever queues are created.

On Kubernetes, you can run Jobs 
 or Cron jobs 
. However, 
there are differences between these options and App Engine Tasks Queue 
.

This 

 
and this  show that Knative offers 
eventing functionalities that Kubernetes does not have built in (it runs on 
top of Kubernetes). However, as per the Knative Event description 
documented here  and here 
, it does not seem to share many 
similarities even though it might be an alternative depending on your use 
case. In regards to other alternatives, I would suggest you check Cloud Run 
(currently in Beta)  and Cloud Scheduler 
 as they might also comply to 
your use case.


On Thursday, April 18, 2019 at 6:52:38 PM UTC-4, Reza Manbachi wrote:
>
> Hi,
>
> I am working on a project which uses task queues on App Engine. We use 
> both push and pull queues. We also use ETA and count down features of task 
> options.
> We are in the process of moving from App Engine to Kubernetes. Is Cloud 
> Tasks capable of working outside of App Engine?
> What do you recommend to use instead in Kubernetes?
> Is Knative eventing a viable alternative for Cloud Task?
>

-- 
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/08ed2ca0-2886-47ff-be3d-31edbc363e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2019-04-23 Thread diogoalmeida via Google App Engine
Hello Shaharia,

I understand the inconvenience, however, please note that the Google Cloud 
Platform free tier coverage does not provide quota increase requests. 
Please check here  more 
details about the free tier.


On Sunday, April 21, 2019 at 12:25:11 PM UTC-4, G. M. Shaharia Azam wrote:
>
> George,
> Thanks for your reply with instructions.
>
> But that's not the case. In my previous reply i wrote that to get file 
> limit increase i have to upgrade my support plan with money and then tell 
> someone from GCP support to increase. That's not convenient. That's what i 
> wanted to express.
>
> --
> Shaharia Azam
> Managing Director/ Preview Holdings Limited
> CEO/ Preview Technologies Limited
> Sr. Executive VP/ BluSheet LLC
>
> Phone: +8801717530114
> Tel: +880 9611 738 439 (Office)
>
> On Sun, Apr 21, 2019, 10:01 PM 'George (Cloud Platform Support)' via 
> Google App Engine  wrote:
>
>> Hello Shaharia, 
>>
>> You should have a look at the "Getting Support for Google Cloud Platform" 
>> documentation page 
>> , 
>> "Contacting Technical support" sub-chapter, and proceed in the accordance 
>> with the instructions provided there. 
>>
>> -- 
>> 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/uxLbmkWZPqM/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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/d7810f2b-55cb-41f4-8c50-5e1738a9d042%40googlegroups.com
>>  
>> 
>> .
>> 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4a9d09a4-3f21-4f11-84f9-db49ca7d7c05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine SSL Auto-Renewal

2019-04-24 Thread diogoalmeida via Google App Engine
Hello James.

Note that the Google Groups thread is not the best channel to post this 
type of issues [1]. For technical questions you can use StackOverflow. 
However, it looks like to resolve this issue you will need to file a case 
with the GCP support team [2] (Free trial [3]).

[1] https://cloud.google.com/support/docs/community
[2] https://cloud.google.com/support/
[3] https://support.google.com/cloud/contact/free_trial_support


On Wednesday, April 24, 2019 at 10:15:11 PM UTC-4, James Terry wrote:
>
> Hi all,
>
> I'm am trying to set up SSL Renewal on my domain name in Google App 
> Engine. In Settings > Custom Domains, I select my domain and then click on 
> Enable Managed Security. It prompts me with the following: 
>
> domain.com is currently using certificate '$(certificateName)'. This 
>> certificate will continue to be used until the Google-managed certificate 
>> is activated. Are you sure you want to proceed?
>
>
> I click ok and then get prompted with "Failed to activate certificate". 
> Naturally, I tried to remove the previous SSL certificate but even after 
> selecting it under the SSL certificates tab, the delete button is greyed 
> out. When I hover over it, it says that, "To delete a certificate, it must 
> not be in use by any domain across any project". I'm guessing that this 
> means I have to stop the domain before I uninstall the certificate. I then 
> disabled the domain and tried again and still, I got the same message. I've 
> tried searching how to remove a certificate from being used but I get no 
> good results.
>
> Not stopping there, I tried working with the cloud console. According to 
> https://cloud.google.com/appengine/docs/standard/python/securing-custom-domains-with-ssl,
>  
> I tried the following command, 
>
> gcloud app domain-mappings update DOMAIN --certificate-management='AUTOMATIC'
>
>
> This instead gave me an error saying the operation failed. This is the 
> error.
>
> ERROR: (gcloud.app.domain-mappings.update) Error Response: [7] Caller is 
> not authorized to administer the domain 'www.domain.com'. If you own '
> www.domain.com', you can ob
> tain authorization by verifying ownership of the domain, or any of its 
> parent domains, via the Webmaster Central portal: 
> https://www.google.com/webmasters/verification/verification?d
> omain=www.domain.com. We reccomend verifying ownership of the largest 
> scope you wish to use with subdomains (eg. verify 'example.com' if you 
> wish to map 'subdomain.example.com'
> ).
>
> Then, I click on the link provided which sent me to a page explaining 
> domain verification. At the top of the page however, it says I'm already 
> the verified owner of my domain. Now I'm confused as there doesn't seem to 
> be any other logical progression to solving this problem. Could anyone help 
> me out with this?
>

-- 
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/4df456f2-5066-4ee6-b512-4d633a455ac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: images.get_serving_url_async() raising transformation errors for valid files

2019-04-25 Thread diogoalmeida via Google App Engine
The error “TransformationError 
”
 
indicates that an error occurred during image manipulation. You could 
implement a retry mechanism in case you get this exception.

Note that this type of issue is better suited if posted on StackOverflow 
, where the community will 
be able to help you, like the suggestions in this post 

.

On Thursday, April 25, 2019 at 8:21:52 AM UTC-4, Rob Curtis wrote:
>
> And like magic, 2 hours later, the tasks stopped failing and then 
> completed.
> Is there anything I should be doing to make this code more robust against 
> this kind of issue?
>
>
> Thanks
> Rob
> On Thursday, April 25, 2019 at 1:18:13 PM UTC+2, Rob Curtis wrote:
>>
>> Hi,
>>
>> We have code in production that writes images to google cloud storage and 
>> gets a blob_key for each file that it writes, then calls 
>> images.get_serving_url_async() for each of the blob_keys
>> *This code has been working in production for years*, but today I 
>> started seeing many TransformationError being raised for files that are 
>> images. 
>> It's worth noting that it only seems to be a problem when I'm writing 25+ 
>> images to cloud storage.
>>
>> Code is like this:
>>
>> #data and filename specified earlier
>>
>> with gcs.open(filename, 'w') as f:
>> f.write(data)
>>
>>
>> blobstore_filename = u"/gs" + filename
>> blob_key= blobstore.BlobKey(blobstore.create_gs_key(blobstore_filename))
>>
>>
>> image_url_futures.append(images.get_serving_url_async(blob_key, 
>> secure_url=True))
>>
>>
>> #this is outside of function which created the image_url_futures
>>
>> image_blob_serving_urls = [future_url.get_result() for future_url in 
>> image_url_futures]
>>
>>
>> I looked at this question: 
>>
>>
>> https://stackoverflow.com/questions/47703942/transformationerror-reasons-get-serving-url-images-api
>>  
>>
>>- I can rule out that file isn't an image.
>>- I had assumed that "with gcs.open(...) would be synchronous, so I 
>>assume the file has been written. 
>>
>>
>> If I'm missing something or if you're experiencing the same issue, please 
>> let me know.
>> Thanks
>> Rob
>>
>

-- 
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/d2f6bf56-f2cf-4c1c-aa31-827893458eaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: images.get_serving_url_async() raising transformation errors for valid files

2019-04-26 Thread diogoalmeida via Google App Engine


As you have not done code changes, if you experience this issue again, 
please report the issue on the Issue Tracker 

 
or open a case on the Cloud Console Support Center page (or here for free 
tier ) so that 
the support team can take a look at your project.

On Friday, April 26, 2019 at 6:01:11 AM UTC-4, Rob Curtis wrote:
>
> Thanks. 
>
> My reason for posting here, and not on SO,  was I wanted to understand 
> whether others were seeing elevated error rates with "get_serving_url"... 
> Because there was 0 change to my code and then that stopped working for 2 
> hours when there were multiple consecutive calls.
> Thanks
>
> On Friday, April 26, 2019 at 4:35:06 AM UTC+2, diogoa...@google.com wrote:
>>
>> The error “TransformationError 
>> ”
>>  
>> indicates that an error occurred during image manipulation. You could 
>> implement a retry mechanism in case you get this exception.
>>
>> Note that this type of issue is better suited if posted on StackOverflow 
>> , where the community 
>> will be able to help you, like the suggestions in this post 
>> 
>> .
>>
>> On Thursday, April 25, 2019 at 8:21:52 AM UTC-4, Rob Curtis wrote:
>>>
>>> And like magic, 2 hours later, the tasks stopped failing and then 
>>> completed.
>>> Is there anything I should be doing to make this code more robust 
>>> against this kind of issue?
>>>
>>>
>>> Thanks
>>> Rob
>>> On Thursday, April 25, 2019 at 1:18:13 PM UTC+2, Rob Curtis wrote:

 Hi,

 We have code in production that writes images to google cloud storage 
 and gets a blob_key for each file that it writes, then calls 
 images.get_serving_url_async() for each of the blob_keys
 *This code has been working in production for years*, but today I 
 started seeing many TransformationError being raised for files that 
 are images. 
 It's worth noting that it only seems to be a problem when I'm writing 
 25+ images to cloud storage.

 Code is like this:

 #data and filename specified earlier

 with gcs.open(filename, 'w') as f:
 f.write(data)


 blobstore_filename = u"/gs" + filename
 blob_key= blobstore.BlobKey(blobstore.create_gs_key(blobstore_filename))


 image_url_futures.append(images.get_serving_url_async(blob_key, 
 secure_url=True))


 #this is outside of function which created the image_url_futures

 image_blob_serving_urls = [future_url.get_result() for future_url in 
 image_url_futures]


 I looked at this question: 


 https://stackoverflow.com/questions/47703942/transformationerror-reasons-get-serving-url-images-api
  

- I can rule out that file isn't an image.
- I had assumed that "with gcs.open(...) would be synchronous, so I 
assume the file has been written. 


 If I'm missing something or if you're experiencing the same issue, 
 please let me know.
 Thanks
 Rob

>>>

-- 
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/9a083f54-e196-45b3-8fda-261fd4d66045%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.