[google-appengine] Setting regions when creating a scheduled query in BQ

2022-01-30 Thread Paul Swanson
Hello,

I'm pretty new to using GCP and BigQuery, and I've run into an issue I was 
hoping someone might be able to help with.

I have several tables added in BigQuery that are coming from Google Sheets. 
I would like to create a scheduled query that pulls that data together, but 
when I try to create this I get a message stating: "Error creating 
scheduled query: Cannot create a transfer in JURISDICTION_US when 
destination dataset is located in REGION_ASIA_SOUTHEAST_1"

The GCP instance is set in REGION_ASIA_SOUTHEAST_1 because the school where 
I work is in Singapore and that seems likely to have the lowest latency, 
but I'm not sure how to set the Jurisdiction so that it matches. I have 
created a successful scheduled query before based on CSVs that I have 
uploaded, so my hunch is that the problem is the Google Sheet source for 
this data, but I'm not sure what to do about the issue.

Thanks in advance for your help!
Paul

-- 



DISCLAIMER NOTICE

Stamford American International School ("SAIS") is 
part of the Cognita group. The information contained in this e-mail and any 
attachments is confidential and may be the subject of legal, professional 
or other privilege. It is intended only for the named addressee (s) and may 
not be disclosed to anyone else without the consent of Cognita Ltd. If you 
are not the named addressee you must not use, disclose, distribute, copy, 
print or rely on the contents of the e-mail and should return it to sender 
immediately.

Cognita Ltd may monitor outgoing and incoming e-mails. By 
replying to this e-mail you give your consent to such monitoring.

Cognita 
Ltd do not accept any liability for any form of viruses introduced with 
this e-mail or its attachments.

Registered in England
Cognita Limited No. 
5280910
Registered Office: Seebeck House, One Seebeck Place, Knowlhill, 
Milton Keynes, MK5 8FR

-- 
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/85038b95-8fad-4b18-91e8-d83d94b76149n%40googlegroups.com.


[google-appengine] There's a new sherif in town! Hi, I'm PoLy, wanna play?...

2019-09-09 Thread Paul L. Diaz
On Monday, August 19, 2019 at 9:58:29 AM UTC-7, Haopei Yang wrote:
> Hello, I have posted this same question on stackoverlfow.
> 
> 
> 
> I am going through the Google Cloud Platform's Python Bookshelf App Tutorial 
> and I am at the step of starting up my virtualenv where I am stuck.
> Running virtualenv -p python3 env produces this error:
> 
> 
> 
> ⇒  virtualenv -p python3 env
> 
> 
> 
> Running virtualenv with interpreter 
> /Library/Frameworks/Python.framework/Versions/3.6/bin/python3
> 
> Using base prefix '/Library/Frameworks/Python.framework/Versions/3.6'
> 
> New python executable in 
> /Users/myUserName/Lab/gae-bookshelf-app-python-flexible-experiment/getting-started-python/2-structured-data/env/bin/python3
> 
> Also creating executable in 
> /Users/myUserName/Lab/gae-bookshelf-app-python-flexible-experiment/getting-started-python/2-structured-data/env/bin/python
> 
> Please make sure you remove any previous custom paths from your 
> /Users/myUserName/.pydistutils.cfg file.
> 
> Installing setuptools, pip, wheel...
> 
>   Complete output from command 
> /Users/myUserName/Lab/ga...data/env/bin/python3 - setuptools pip wheel:
> 
>   Collecting setuptools
> 
>   Using cached 
> https://files.pythonhosted.org/packages/75/b3/0a106dfaf7f48aef638da80b32608617cc8de4b24a22c8cd3759c32e5d30/setuptools-41.1.0-py2.py3-none-any.whl
> 
> Collecting pip
> 
>   Using cached 
> https://files.pythonhosted.org/packages/8d/07/f7d7ced2f97ca3098c16565efbe6b15fafcba53e8d9bdb431e09140514b0/pip-19.2.2-py2.py3-none-any.whl
> 
> Collecting wheel
> 
>   Using cached 
> https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
> 
> Installing collected packages: setuptools, pip, wheel
> 
> Exception:
> 
> Traceback (most recent call last):
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/basecommand.py",
>  line 209, in main
> 
>     status = self.run(options, args)
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/commands/install.py",
>  line 317, in run
> 
>     prefix=options.prefix_path,
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/req/req_set.py",
>  line 731, in install
> 
>     **kwargs
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/req/req_install.py",
>  line 841, in install
> 
>     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/req/req_install.py",
>  line 1040, in move_wheel_files
> 
>     isolated=self.isolated,
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/wheel.py",
>  line 343, in move_wheel_files
> 
>     clobber(source, lib_dir, True)
> 
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/wheel.py",
>  line 321, in clobber
> 
>     shutil.copyfile(srcfile, destfile)
> 
>   File 
> "/Users/myUserName/Lab/gae-bookshelf-app-python-flexible-experiment/getting-started-python/2-structured-data/env/lib/python3.6/shutil.py",
>  line 121, in copyfile
> 
>     with open(dst, 'wb') as fdst:
> 
> PermissionError: [Errno 13] Permission denied: 
> '/lib/python3.6/site-packages/easy_install.py'
> 
> 
> 
> ...Installing setuptools, pip, wheel...done.
> 
> Traceback (most recent call last):
> 
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 2327, in 
> 
> 
>     main()
> 
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 711, in main
> 
>     symlink=options.symlink)
> 
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 944, in 
> create_environment
> 
>     download=download,
> 
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 900, in 
> install_wheel
> 
>     call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
> 
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 795, in 
> call_subprocess
> 
>     % (cmd_desc, proc.returncode))
> 
> OSError: Command /Users/myUserName/Lab/ga...data/env/bin/python3 - setuptools 
> pip wheel failed with error code 2
> 
> 
> 
> 
> 
> 
> I had followed this guide to set up my python development environment. I 
> searched the internet for a solution but I haven't had luck getting pass this 
> step.
> What is causing the issue and how can I fix it?
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3d1a2ada-dc46-4310-89ee-c6da552eb6e2%40googlegroups.

[google-appengine] [flex] Is there a way to call the HTTPS URL in cron?

2018-11-14 Thread Paul Kim
Is there a way to call the HTTPS URL in cron?  Cron seems to call the HTTP 
URL and I have a redirect to force HTTPS on my app.  Is there a way to 
force cron to call to the HTTPS URL?

I am on flex php.

I can make an exception in my redirect code for the tasks that cron will 
run but the preferred solution would be to have all URLs secured by HTTPS.

-- 
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/9f311831-fff8-4a4b-8f4d-855a6d9f8206%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] 500 and 502 Erros

2018-09-10 Thread Paul Kim
I'm getting 500 and 502 errors on my PHP 7 app on GAE Flex.  Not on every 
request but on some random ones.  Refreshing the page usually works.  Also, 
the application feels sluggish overall.

The requests with errors do not show up in GAE logs but only in Cloud HTTP 
Load Balancer.

No changes have been made to the code since Thursday when everything was 
working correctly.  We have a very important demo coming up and these 
issues always seem to pop up right before or even during important demos.

Is there an issue with Cloud HTTP Load Balancer.

-- 
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/5db54a4a-18b9-452b-a0f3-893d5d6d906c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Setting memory for build instances for Flex Env

2018-08-16 Thread Paul Kim
Hi Maximiliano,

Thank you for the reply.  I know of those settings, they control the size 
of the app's GCE instances.  However, what I would like to change is the 
memory of cloud build instance.  This is where the build process for the 
container happens, which is then distributed to the application instances.

The resources directive doesn't appear to affect the size of those 
instances.  I'm not sure if that is currently possible.

On Thursday, August 16, 2018 at 12:36:06 PM UTC-7, Maximiliano Contartesi 
wrote:
>
> You need to set this in the app.yaml
>
> resources:
>   cpu: 1
>   memory_gb: 1
>   disk_size_gb: 10
>
>
> Maximiliano Contartesi | mcont...@tecnogo.com  | +54 
> 11 5680-3350 | www.tecnogo.com
>
>
>
> El jue., 16 de ago. de 2018 a la(s) 16:16, Paul Kim (kin...@gmail.com 
> ) escribió:
>
>> Hello,
>>
>> Is there a way to increase the memory available on the build instance for 
>> the PHP Flexible Environment?  I am running out of memory during the build 
>> process when deplying, specifically on a script in composer install.
>>
>> -- 
>> 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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/e3adc5b3-9814-4cf4-9ab2-808142407462%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/e3adc5b3-9814-4cf4-9ab2-808142407462%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2509bdd0-1a83-4f56-96f7-207bba4dda9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Setting memory for build instances for Flex Env

2018-08-16 Thread Paul Kim
Hello,

Is there a way to increase the memory available on the build instance for 
the PHP Flexible Environment?  I am running out of memory during the build 
process when deplying, specifically on a script in composer install.

-- 
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/e3adc5b3-9814-4cf4-9ab2-808142407462%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 502 Errors on every request to GAE Flex PHP Runtime

2018-05-28 Thread Paul Kim
Thank you for the update.  Is there a reason why this issue was not posted 
to the Google Cloud Platform Status dashboard?  We wasted a few hours 
yesterday trying to determine the cause of the issue.  Luckily, our 
production service was unaffected.

On Saturday, May 26, 2018 at 12:07:29 PM UTC-7, Kenworth (Google Cloud 
Platform) wrote:
>
> This was a known issue affecting some users. It could also manifest itself 
> in an elevated error rate with the Cloud Load Balancers. This issue has 
> since been resolved for all users as of 2018-05-25 20:20 US/Pacific. If 
> this is still a problem, please open a new issue via the channels detailed 
> here: https://cloud.google.com/support/docs/issue-trackers
>

-- 
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/8169dcf2-e66b-4855-a20f-eb7ae39335c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] 502 Errors on every request to GAE Flex PHP Runtime

2018-05-25 Thread Paul Kim
Hello,

Issue: 502 errors on every web request to newly deployed apps (as of this 
morning) on Google App Engine Flexible Environment with PHP runtime with a 
custom service specified in app.yaml.

I started encountering this error today.  Every request to the application 
results in a 502 error.  It was working fine this morning.  It appears to 
be occurring on any new deployments where a service is specified in the 
yaml config.  Previously deployed apps were not affected.

I have tried deploying the sample Hello World app here to make sure it's 
not an issue with my app or config:
https://cloud.google.com/appengine/docs/flexible/php/quickstart

   1. Ran the Hello World app locally and worked fine.
   2. Deployed to the GAE with a custom service specified and all requests 
   result in a 502 error.
   3. Works fine on GAE with the default service.
   
I also tried creating a new service but 502 errors appeared that as well.  
When looking at the App Engine logs, it doesn't appear that the requests 
ever made it to the GCE instances (there are no logs of the requests).

@type:  
"type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry"  
 
statusDetails:  "failed_to_connect_to_backend" 

-- 
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/207585a6-daaa-43c1-8af6-58250cebdad5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] SSL version

2017-12-19 Thread &#x27;Paul Fabbroni' via Google App Engine
Probably because that doesn't tell him anything

On Friday, June 10, 2011 at 1:06:25 AM UTC-4, Robert Kluin wrote:
>
> Why don't you just go to https://appspot.com and view the connection
> and certificate info?
>
>
> On Wed, Jun 8, 2011 at 22:38, Khang Nguyen  > wrote:
> > Hi,
> > Does anybody know what version of SSL is being supported by Appspot
> > (e.g SSL version 2.0, 3.0 or TLS version 1, ...) ?
> > I tried to google but I could not find out any information about it ?
> >
> > Any response will be greatly appreciated !
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "Google App Engine" group.
> > To post to this group, send email to google-a...@googlegroups.com 
> .
> > To unsubscribe from this group, send email to 
> google-appengi...@googlegroups.com .
> > For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> >
> >
>
>

-- 
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/7c75b0d9-70c8-410a-aa87-ce753cb28ba0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SSL error when uploading in Google App Engine

2017-09-11 Thread Paul Ceccato
those error messages are useless, especially when they imply it is a 
temporary problem with app engine, when most likely it is a problem with 
your certificate.

I have seen this same error message previously if you try to upload a 4096 
bit certificate -  App engine can only cope with 2048 max.

I had this same problem last week when I tried to reupload a certicate and 
private keys. I used an old file and the private keys  didn't match the 
certicate.

App engine gave me that same generic error message, it wasn't untill I 
checked the files I was trying to upload on this site, I realized it was a 
problem with my ceritficate and not app engine.

https://www.sslshopper.com/certificate-key-matcher.html

some parts of the appengine ecosystem are really half-baked...



On Monday, September 11, 2017 at 5:47:06 AM UTC+10, Michael Kasan wrote:
>
> Hi Everyone,
>
> When i try to upload a new certificate, I get a general error message (see 
> attached screenshot)
> Needless to say that when i try later, the issue isnt solved
>
> Any Ideas?
>
> Thanks
>
> Michael
>

-- 
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/0e6a3b44-495f-413a-89fa-eb3085badb98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Sydney Data Center and migration of app engine application

2017-09-07 Thread Paul Ceccato
no, the certificate seemed to remove itself when I remapped the custom domain. 
I tested the app was working at the time but the next morning it wasn’t serving 
as the app was set to secure: always

Then I had a problem uploading the new certificate, because I accidentally used 
the wrong private key file, however, the error message that is returned is very 
vague and not particularly useful.

Anyway, its all resolved now, thanks!

Paul


> On 8 Sep 2017, at 12:48 am, 'Yannick (Cloud Platform Support)' via Google App 
> Engine  wrote:
> 
> Hello Paul, I understand you're not able to remove the certificate from your 
> old application? If this is still a problem for you please create a new 
> private issue on the Issue Tracker using this link 
> <https://issuetracker.google.com/issues/new?component=187164&template=803901> 
> with all relevant details as well as the affected project IDs and a HAR 
> Capture <https://toolbox.googleapps.com/apps/har_analyzer/> of the 
> interactions leading to this error message.
> 
> On Wednesday, September 6, 2017 at 6:46:46 PM UTC-4, Paul Ceccato wrote:
> well, I managed to migrate my app to the australian zone... it's a very 
> manual process involving recreating the app in the new zone and restoring the 
> datastore from a backup. However, it didn't quite work 100%
> 
> When I remapped my custom domain to my new app, without warning somehow my 
> ssl certificate vanished from the appengine console.
> 
> Now, when I try to upload the same certificate to my new app it fails with an 
> extremely unhelpful error message (see below)
> 
> hopefully it will starting working eventually... I have been getting that 
> error for the last 12hours
> 
> in the meantime my application configuration has been changed to only allow 
> insecure connections...
> 
> 
> Error
> Sorry, there’s a problem. If you entered information, check it and try again. 
> Otherwise, the problem might clear up on its own, so check back later.
> 
> Tracking Number: 460337055749622297
> 
> 
> 
> On Tue, Sep 5, 2017 at 10:00 AM, Paul Ceccato  <mailto:pcecc...@gmail.com>> wrote:
> So it is. I managed to recreate my app in the sydney region and migrate the 
> data from a datastore backup.
> 
> I don't know if its my imagination, but the app seems snappier with the 
> reduced latency
> 
> Paul
> 
> On Monday, September 4, 2017 at 11:19:23 PM UTC+10, Yannick (Cloud Platform 
> Support) wrote:
> App Engine is currently available in Sydney. You can check product 
> availability for yourself using this chart 
> <https://cloud.google.com/about/locations/#products-available-by-region>.
> 
> On Monday, September 4, 2017 at 2:00:12 AM UTC-4, Paul Ceccato wrote:
> That article says that Google App Engine is not available in the Sydney 
> region and will come later...
> 
> On Tuesday, August 29, 2017 at 6:35:15 PM UTC+10, Mark Hetherington wrote:
> Hi,
> 
> With the commissioning of the Sydney data centre, there are no doubt many 
> Australia based customers wanting to migrate to the new data centre. I 
> imagine the same was true when other locations opened up worldwide.
> 
> We have existing app engine, cloud sql, cloud storage and data store assets 
> we would like to migrate. Has anyone undertaken this process? Our 
> understanding is that we can create a new application in the new zone, and do 
> a backup and restore. However there are a few hurdles. Some of the issues we 
> see are:
> The application name currently in use won't be available for use in the new 
> zone, thus requiring a rename of the application
> The process of cutting over between zones may require us to update a number 
> of DNS A records managed by third parties.
> The CNAME to ghs.googlehosted.com <http://ghs.googlehosted.com/> must cut 
> over to the new application at some point, but I'm not sure how this is 
> managed. Presumably when verifying the domain into the new application google 
> starts serving a new result when ghs.googlehosted.com 
> <http://ghs.googlehosted.com/> is queried?
> Are there any migration tools available? Does google offer any assistance in 
> this regard? According to a news article at 
> https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735 
> <https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735>,
>  "
> Google Cloud platform managing director APJ Rick Harshman told CRN that 
> customers wanting to migrate to local availability zones can contact one of 
> its partners, or Google's customer engineering team to help with the 
> migration.", but I'm not sure how to get in touch with the "customer 
>

Re: [google-appengine] Re: Sydney Data Center and migration of app engine application

2017-09-06 Thread Paul Ceccato
well, I managed to migrate my app to the australian zone... it's a very
manual process involving recreating the app in the new zone and restoring
the datastore from a backup. However, it didn't quite work 100%

When I remapped my custom domain to my new app, without warning somehow my
ssl certificate vanished from the appengine console.

Now, when I try to upload the same certificate to my new app it fails with
an extremely unhelpful error message (see below)

hopefully it will starting working eventually... I have been getting that
error for the last 12hours

in the meantime my application configuration has been changed to only allow
insecure connections...


Error

Sorry, there’s a problem. If you entered information, check it and try
again. Otherwise, the problem might clear up on its own, so check back
later.

Tracking Number: 460337055749622297


On Tue, Sep 5, 2017 at 10:00 AM, Paul Ceccato  wrote:

> So it is. I managed to recreate my app in the sydney region and migrate
> the data from a datastore backup.
>
> I don't know if its my imagination, but the app seems snappier with the
> reduced latency
>
> Paul
>
> On Monday, September 4, 2017 at 11:19:23 PM UTC+10, Yannick (Cloud
> Platform Support) wrote:
>>
>> App Engine is currently available in Sydney. You can check product
>> availability for yourself using this chart
>> <https://cloud.google.com/about/locations/#products-available-by-region>.
>>
>> On Monday, September 4, 2017 at 2:00:12 AM UTC-4, Paul Ceccato wrote:
>>>
>>> That article says that Google App Engine is not available in the Sydney
>>> region and will come later...
>>>
>>> On Tuesday, August 29, 2017 at 6:35:15 PM UTC+10, Mark Hetherington
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> With the commissioning of the Sydney data centre, there are no doubt
>>>> many Australia based customers wanting to migrate to the new data centre. I
>>>> imagine the same was true when other locations opened up worldwide.
>>>>
>>>> We have existing app engine, cloud sql, cloud storage and data store
>>>> assets we would like to migrate. Has anyone undertaken this process? Our
>>>> understanding is that we can create a new application in the new zone, and
>>>> do a backup and restore. However there are a few hurdles. Some of the
>>>> issues we see are:
>>>>
>>>>- The application name currently in use won't be available for use
>>>>in the new zone, thus requiring a rename of the application
>>>>- The process of cutting over between zones may require us to
>>>>update a number of DNS A records managed by third parties.
>>>>- The CNAME to ghs.googlehosted.com must cut over to the new
>>>>application at some point, but I'm not sure how this is managed. 
>>>> Presumably
>>>>when verifying the domain into the new application google starts 
>>>> serving a
>>>>new result when ghs.googlehosted.com is queried?
>>>>
>>>> Are there any migration tools available? Does google offer any
>>>> assistance in this regard? According to a news article at
>>>> https://www.crn.com.au/news/google-cloud-finally-comes-
>>>> to-sydney-today-465735, "
>>>> Google Cloud platform managing director APJ Rick Harshman told CRN that
>>>> customers wanting to migrate to local availability zones can contact one of
>>>> its partners, or Google's customer engineering team to help with the
>>>> migration.", but I'm not sure how to get in touch with the "customer
>>>> engineering team".
>>>>
>>>> Cheers,
>>>> Mark
>>>>
>>>>
>>>> --
> 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/mdsYsfNk50o/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/e4b6c960-15b1-46e3-8204-
> 15d18d2afe15%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/e4b6c960-15b1-46e3-8204-15d18d2afe15%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAGW%2BFWg%2Be%2BLXq-EfUE4--W_ERYa%3Da0TBJXVCLGUQ8knoT8_-7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Sydney Data Center and migration of app engine application

2017-09-04 Thread Paul Ceccato
So it is. I managed to recreate my app in the sydney region and migrate the 
data from a datastore backup.

I don't know if its my imagination, but the app seems snappier with the 
reduced latency

Paul

On Monday, September 4, 2017 at 11:19:23 PM UTC+10, Yannick (Cloud Platform 
Support) wrote:
>
> App Engine is currently available in Sydney. You can check product 
> availability for yourself using this chart 
> <https://cloud.google.com/about/locations/#products-available-by-region>.
>
> On Monday, September 4, 2017 at 2:00:12 AM UTC-4, Paul Ceccato wrote:
>>
>> That article says that Google App Engine is not available in the Sydney 
>> region and will come later...
>>
>> On Tuesday, August 29, 2017 at 6:35:15 PM UTC+10, Mark Hetherington wrote:
>>>
>>> Hi,
>>>
>>> With the commissioning of the Sydney data centre, there are no doubt 
>>> many Australia based customers wanting to migrate to the new data centre. I 
>>> imagine the same was true when other locations opened up worldwide.
>>>
>>> We have existing app engine, cloud sql, cloud storage and data store 
>>> assets we would like to migrate. Has anyone undertaken this process? Our 
>>> understanding is that we can create a new application in the new zone, and 
>>> do a backup and restore. However there are a few hurdles. Some of the 
>>> issues we see are:
>>>
>>>- The application name currently in use won't be available for use 
>>>in the new zone, thus requiring a rename of the application
>>>- The process of cutting over between zones may require us to update 
>>>a number of DNS A records managed by third parties. 
>>>- The CNAME to ghs.googlehosted.com must cut over to the new 
>>>application at some point, but I'm not sure how this is managed. 
>>> Presumably 
>>>when verifying the domain into the new application google starts serving 
>>> a 
>>>new result when ghs.googlehosted.com is queried?
>>>
>>> Are there any migration tools available? Does google offer any 
>>> assistance in this regard? According to a news article at 
>>> https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735,
>>>  
>>> "
>>> Google Cloud platform managing director APJ Rick Harshman told CRN that 
>>> customers wanting to migrate to local availability zones can contact one of 
>>> its partners, or Google's customer engineering team to help with the 
>>> migration.", but I'm not sure how to get in touch with the "customer 
>>> engineering team".
>>>
>>> Cheers,
>>> Mark
>>>
>>>
>>>

-- 
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/e4b6c960-15b1-46e3-8204-15d18d2afe15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Sydney Data Center and migration of app engine application

2017-09-03 Thread Paul Ceccato
That article says that Google App Engine is not available in the Sydney 
region and will come later...

On Tuesday, August 29, 2017 at 6:35:15 PM UTC+10, Mark Hetherington wrote:
>
> Hi,
>
> With the commissioning of the Sydney data centre, there are no doubt many 
> Australia based customers wanting to migrate to the new data centre. I 
> imagine the same was true when other locations opened up worldwide.
>
> We have existing app engine, cloud sql, cloud storage and data store 
> assets we would like to migrate. Has anyone undertaken this process? Our 
> understanding is that we can create a new application in the new zone, and 
> do a backup and restore. However there are a few hurdles. Some of the 
> issues we see are:
>
>- The application name currently in use won't be available for use in 
>the new zone, thus requiring a rename of the application
>- The process of cutting over between zones may require us to update a 
>number of DNS A records managed by third parties. 
>- The CNAME to ghs.googlehosted.com must cut over to the new 
>application at some point, but I'm not sure how this is managed. 
> Presumably 
>when verifying the domain into the new application google starts serving a 
>new result when ghs.googlehosted.com is queried?
>
> Are there any migration tools available? Does google offer any assistance 
> in this regard? According to a news article at 
> https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735,
>  
> "
> Google Cloud platform managing director APJ Rick Harshman told CRN that 
> customers wanting to migrate to local availability zones can contact one of 
> its partners, or Google's customer engineering team to help with the 
> migration.", but I'm not sure how to get in touch with the "customer 
> engineering team".
>
> Cheers,
> Mark
>
>
>

-- 
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/25039333-d6ad-4281-b5a2-a401891d79ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Issue deploying AppEngine Flexible Endpoints example app .Net

2017-07-06 Thread Paul Mazzuca
The IO.Swagger.xml file does not exist in that directory.

On Mon, Jul 3, 2017 at 11:34 AM, 'Yannick (Cloud Platform Support)' via
Google App Engine  wrote:

> Thanks for the details. I was able to reproduce your exact error message
> by deleting/renaming 
> "src\IO.Swagger\bin\Debug\netcoreapp1.0\publish\IO.Swagger.xml"
> prior to running "gcloud app deploy".
>
> Could you make sure that "src\IO.Swagger\bin\Debug\netcoreapp1.0\publish\"
> does contain the following files after "dotnet publish" was ran :
>
>- IO.Swagger.deps.json
>- IO.Swagger.dll
>- IO.Swagger.pdb
>- IO.Swagger.runtimeconfig.json
>- IO.Swagger.xml
>
> On Friday, June 30, 2017 at 5:27:18 PM UTC-4, Paul Mazzuca wrote:
>>
>> I started from scratch. Here are the steps that I took.
>>
>> 1. Clone Repo
>> 2. Open GettingStarted in Visual Studio for Mac
>> 3. Visual Studio tells me that I have to migrate the project to a newer
>> format.
>>   - dotnet from command line does not work unless I do this migration
>> 4.  I do the migration
>> 5.  Go to my terminal, and cd into the GettingStarted directory
>> 6.  dotnet restore && dotnet publish
>> 7.  go to src/IO.Swagger directory
>> 8.  gcloud beta app deploy ./bin/Debug/netcoreapp1.0/publish/app.yaml
>>
>> Same error received.  Nothing informative from debug flag.
>>
>> On Fri, Jun 30, 2017 at 11:13 AM, 'Yannick (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Ah and keep in mind that you can use the "--verbosity=debug" flag to get
>>> more insight on why your deployment is failing.
>>>
>>>
>>> On Friday, June 30, 2017 at 2:02:14 PM UTC-4, Yannick (Cloud Platform
>>> Support) wrote:
>>>>
>>>> Thanks for this precision Paul. I don't yet know why you're getting
>>>> this issue but with the added context of "Error Response: [9] Application
>>>> startup error:" we now know that the application fails to launch and
>>>> complete its deployment after it's been successfully uploaded.
>>>>
>>>> I have tested the tutorial's procedure and encountered no issues on a
>>>> Windows 10 VM. I do not know why the code would fail to run while deployed
>>>> from MacOS.. Could I ask you to make sure you're using the most up to date
>>>> version of the dotnet samples and try again?
>>>>
>>>> On Thursday, June 29, 2017 at 4:05:51 PM UTC-4, Paul Mazzuca wrote:
>>>>>
>>>>> As clarification, I can run the endpoint locally, but am unable to
>>>>> deploy it. I receive the error  after executing the deploy command.  The
>>>>> only other lines that I did not include in the previous post are below:
>>>>>
>>>>> Updating service [default]...failed.
>>>>>
>>>>> *ERROR:* (gcloud.beta.app.deploy) Error Response: [9]
>>>>>
>>>>> Application startup error:
>>>>>
>>>>>
>>>>> ... stacktrace from previous post
>>>>>
>>>>> On Thu, Jun 29, 2017 at 11:52 AM, 'Yannick (Cloud Platform Support)'
>>>>> via Google App Engine  wrote:
>>>>>
>>>>>> Hello Paul, could you please clarify if this error is the only output
>>>>>> you get from typing the command to deploy to App Engine? Do you really 
>>>>>> get
>>>>>> this error while deploying or while trying to use the endpoint? I ask
>>>>>> because I would not expect gcloud to give a Java exception related to
>>>>>> running the backend code itself.
>>>>>>
>>>>>>
>>>>>> On Wednesday, June 28, 2017 at 4:23:47 PM UTC-4, Paul Mazzuca wrote:
>>>>>>>
>>>>>>> In following the instructions for https://cloud.google.com/e
>>>>>>> ndpoints/docs/get-started-app-engine-dotnet,  when running the
>>>>>>> following commands, I receive the exception below:
>>>>>>>
>>>>>>> gcloud beta app deploy .\bin\Debug\netcoreapp1.0\publish\app.yaml
>>>>>>>
>>>>>>> Unhandled Exception: System.IO.FileNotFoundException: Could not
>>>>>>> find file '/app/IO.Swagger.xml'.
>>>>>>>
>>>>>>>at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String
>>&

Re: [google-appengine] Re: Issue deploying AppEngine Flexible Endpoints example app .Net

2017-06-30 Thread Paul Mazzuca
I started from scratch. Here are the steps that I took.

1. Clone Repo
2. Open GettingStarted in Visual Studio for Mac
3. Visual Studio tells me that I have to migrate the project to a newer
format.
  - dotnet from command line does not work unless I do this migration
4.  I do the migration
5.  Go to my terminal, and cd into the GettingStarted directory
6.  dotnet restore && dotnet publish
7.  go to src/IO.Swagger directory
8.  gcloud beta app deploy ./bin/Debug/netcoreapp1.0/publish/app.yaml

Same error received.  Nothing informative from debug flag.

On Fri, Jun 30, 2017 at 11:13 AM, 'Yannick (Cloud Platform Support)' via
Google App Engine  wrote:

> Ah and keep in mind that you can use the "--verbosity=debug" flag to get
> more insight on why your deployment is failing.
>
>
> On Friday, June 30, 2017 at 2:02:14 PM UTC-4, Yannick (Cloud Platform
> Support) wrote:
>>
>> Thanks for this precision Paul. I don't yet know why you're getting this
>> issue but with the added context of "Error Response: [9] Application
>> startup error:" we now know that the application fails to launch and
>> complete its deployment after it's been successfully uploaded.
>>
>> I have tested the tutorial's procedure and encountered no issues on a
>> Windows 10 VM. I do not know why the code would fail to run while deployed
>> from MacOS.. Could I ask you to make sure you're using the most up to date
>> version of the dotnet samples and try again?
>>
>> On Thursday, June 29, 2017 at 4:05:51 PM UTC-4, Paul Mazzuca wrote:
>>>
>>> As clarification, I can run the endpoint locally, but am unable to
>>> deploy it. I receive the error  after executing the deploy command.  The
>>> only other lines that I did not include in the previous post are below:
>>>
>>> Updating service [default]...failed.
>>>
>>> *ERROR:* (gcloud.beta.app.deploy) Error Response: [9]
>>>
>>> Application startup error:
>>>
>>>
>>> ... stacktrace from previous post
>>>
>>> On Thu, Jun 29, 2017 at 11:52 AM, 'Yannick (Cloud Platform Support)' via
>>> Google App Engine  wrote:
>>>
>>>> Hello Paul, could you please clarify if this error is the only output
>>>> you get from typing the command to deploy to App Engine? Do you really get
>>>> this error while deploying or while trying to use the endpoint? I ask
>>>> because I would not expect gcloud to give a Java exception related to
>>>> running the backend code itself.
>>>>
>>>>
>>>> On Wednesday, June 28, 2017 at 4:23:47 PM UTC-4, Paul Mazzuca wrote:
>>>>>
>>>>> In following the instructions for https://cloud.google.com/e
>>>>> ndpoints/docs/get-started-app-engine-dotnet,  when running the
>>>>> following commands, I receive the exception below:
>>>>>
>>>>> gcloud beta app deploy .\bin\Debug\netcoreapp1.0\publish\app.yaml
>>>>>
>>>>> Unhandled Exception: System.IO.FileNotFoundException: Could not find
>>>>> file '/app/IO.Swagger.xml'.
>>>>>
>>>>>at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String
>>>>> path, Boolean isDirectory, Func`2 errorRewriter)
>>>>>
>>>>>at Interop.CheckIo[TSafeHandle](TSafeHandle handle, String path,
>>>>> Boolean isDirectory, Func`2 errorRewriter)
>>>>>
>>>>>at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path,
>>>>> OpenFlags flags, Int32 mode)
>>>>>
>>>>>at System.IO.UnixFileStream..ctor(String path, FileMode mode,
>>>>> FileAccess access, FileShare share, Int32 bufferSize, FileOptions options,
>>>>> FileStream parent)
>>>>>
>>>>>at System.IO.UnixFileSystem.Open(String fullPath, FileMode mode,
>>>>> FileAccess access, FileShare share, Int32 bufferSize, FileOptions options,
>>>>> FileStream parent)
>>>>>
>>>>>at System.IO.FileStream.Init(String path, FileMode mode,
>>>>> FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
>>>>>
>>>>>at System.IO.FileStream..ctor(String path, FileMode mode,
>>>>> FileAccess access, FileShare share)
>>>>>
>>>>>at System.Xml.XmlSystemPathResolver.GetEntity(Uri uri, String
>>>>> role, Type typeOfObjectToReturn)
>>>>>
>>>>>  

Re: [google-appengine] Re: Issue deploying AppEngine Flexible Endpoints example app .Net

2017-06-29 Thread Paul Mazzuca
As clarification, I can run the endpoint locally, but am unable to deploy
it. I receive the error  after executing the deploy command.  The only
other lines that I did not include in the previous post are below:

Updating service [default]...failed.

*ERROR:* (gcloud.beta.app.deploy) Error Response: [9]

Application startup error:


... stacktrace from previous post

On Thu, Jun 29, 2017 at 11:52 AM, 'Yannick (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Paul, could you please clarify if this error is the only output you
> get from typing the command to deploy to App Engine? Do you really get this
> error while deploying or while trying to use the endpoint? I ask because I
> would not expect gcloud to give a Java exception related to running the
> backend code itself.
>
>
> On Wednesday, June 28, 2017 at 4:23:47 PM UTC-4, Paul Mazzuca wrote:
>>
>> In following the instructions for https://cloud.google.com/e
>> ndpoints/docs/get-started-app-engine-dotnet,  when running the following
>> commands, I receive the exception below:
>>
>> gcloud beta app deploy .\bin\Debug\netcoreapp1.0\publish\app.yaml
>>
>> Unhandled Exception: System.IO.FileNotFoundException: Could not find
>> file '/app/IO.Swagger.xml'.
>>
>>at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path,
>> Boolean isDirectory, Func`2 errorRewriter)
>>
>>at Interop.CheckIo[TSafeHandle](TSafeHandle handle, String path,
>> Boolean isDirectory, Func`2 errorRewriter)
>>
>>at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path,
>> OpenFlags flags, Int32 mode)
>>
>>at System.IO.UnixFileStream..ctor(String path, FileMode mode,
>> FileAccess access, FileShare share, Int32 bufferSize, FileOptions options,
>> FileStream parent)
>>
>>at System.IO.UnixFileSystem.Open(String fullPath, FileMode mode,
>> FileAccess access, FileShare share, Int32 bufferSize, FileOptions options,
>> FileStream parent)
>>
>>at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
>> access, FileShare share, Int32 bufferSize, FileOptions options)
>>
>>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
>> access, FileShare share)
>>
>>at System.Xml.XmlSystemPathResolver.GetEntity(Uri uri, String role,
>> Type typeOfObjectToReturn)
>>
>>at System.Xml.XmlTextReaderImpl.FinishInitUriString()
>>
>>at System.Xml.XmlTextReaderImpl..ctor(String uriStr,
>> XmlReaderSettings settings, XmlParserContext context, XmlResolver
>> uriResolver)
>>
>>at System.Xml.XmlReaderSettings.CreateReader(String inputUri,
>> XmlParserContext inputContext)
>>
>>at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
>> settings, XmlParserContext inputContext)
>>
>>at System.Xml.XmlReader.Create(String inputUri)
>>
>>at System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space)
>>
>>at System.Xml.XPath.XPathDocument..ctor(String uri)
>>
>>at IO.Swagger.Startup.b__5_1(SwaggerGenOptions
>> options)
>>
>>at Microsoft.Extensions.Options.OptionsCache`1.CreateOptions()
>>
>>at System.Threading.LazyInitializer.EnsureInitializedCore[T](T&
>> target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)
>>
>>at Microsoft.Extensions.DependencyInjection.SwaggerGenServiceCo
>> llectionExtensions.CreateSwaggerProvider(IServiceProvider
>> serviceProvider)
>>
>>at Microsoft.Extensions.DependencyInjection.ServiceProvider.Sco
>> pedCallSite.Invoke(ServiceProvider provider)
>>
>>at Microsoft.Extensions.Internal.ActivatorUtilities.Constructor
>> Matcher.CreateInstance(IServiceProvider provider)
>>
>>at 
>> Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider
>> provider, Type instanceType, Object[] parameters)
>>
>>at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__Di
>> splayClass3_0.b__0(RequestDelegate next)
>>
>>at Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()
>>
>>at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
>>
>>at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
>>
>>at IO.Swagger.Program.Main(String[] args)
>>
>> The endpoints are working through the swagger UI locally. Any ideas would
>> be helpful. Thanks.
>>
>> Also, using the following framework on MacOS.
>>
>> Microsoft .NET Core Shared Framework Host
>>
>>
>&g

[google-appengine] Issue deploying AppEngine Flexible Endpoints example app .Net

2017-06-28 Thread Paul Mazzuca
In following the instructions 
for https://cloud.google.com/endpoints/docs/get-started-app-engine-dotnet, 
 when running the following commands, I receive the exception below:

gcloud beta app deploy .\bin\Debug\netcoreapp1.0\publish\app.yaml

Unhandled Exception: System.IO.FileNotFoundException: Could not find file 
'/app/IO.Swagger.xml'.

   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, 
Boolean isDirectory, Func`2 errorRewriter)

   at Interop.CheckIo[TSafeHandle](TSafeHandle handle, String path, Boolean 
isDirectory, Func`2 errorRewriter)

   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, 
OpenFlags flags, Int32 mode)

   at System.IO.UnixFileStream..ctor(String path, FileMode mode, FileAccess 
access, FileShare share, Int32 bufferSize, FileOptions options, FileStream 
parent)

   at System.IO.UnixFileSystem.Open(String fullPath, FileMode mode, 
FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, 
FileStream parent)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess 
access, FileShare share, Int32 bufferSize, FileOptions options)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess 
access, FileShare share)

   at System.Xml.XmlSystemPathResolver.GetEntity(Uri uri, String role, Type 
typeOfObjectToReturn)

   at System.Xml.XmlTextReaderImpl.FinishInitUriString()

   at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings 
settings, XmlParserContext context, XmlResolver uriResolver)

   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, 
XmlParserContext inputContext)

   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings 
settings, XmlParserContext inputContext)

   at System.Xml.XmlReader.Create(String inputUri)

   at System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space)

   at System.Xml.XPath.XPathDocument..ctor(String uri)

   at IO.Swagger.Startup.b__5_1(SwaggerGenOptions 
options)

   at Microsoft.Extensions.Options.OptionsCache`1.CreateOptions()

   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, 
Boolean& initialized, Object& syncLock, Func`1 valueFactory)

   at 
Microsoft.Extensions.DependencyInjection.SwaggerGenServiceCollectionExtensions.CreateSwaggerProvider(IServiceProvider
 
serviceProvider)

   at 
Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider
 
provider)

   at 
Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider
 
provider)

   at 
Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider
 
provider, Type instanceType, Object[] parameters)

   at 
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass3_0.b__0(RequestDelegate
 
next)

   at Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()

   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()

   at IO.Swagger.Program.Main(String[] args)

The endpoints are working through the swagger UI locally. Any ideas would 
be helpful. Thanks.

Also, using the following framework on MacOS.

Microsoft .NET Core Shared Framework Host


  Version  : 1.1.0

  Build: 928f77c4bc3f49d892459992fb6e1d5542cb5e86

-- 
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/772ae554-368e-402d-89cb-e8b873ca0ccb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread Paul Mazzuca
That's unfortunate. Will it ever be supported, and if so when?

On Mon, Feb 27, 2017 at 11:58 AM, 'Les Vogel' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hi Paul,
>
> Quickly looking at the Github Repository
> <https://github.com/GoogleCloudPlatform/appengine-gcs-client> for the
> plugin suggests that it hasn't yet been updated to work with the Cloud
> SDK plugin
> <https://cloud.google.com/appengine/docs/standard/java/tools/using-maven>.
> I would suggest you continue to use the Java SDK plugin
> <https://cloud.google.com/appengine/docs/standard/java/tools/maven> for
> now.
>
> Regards,
>
> Les
>
> On Mon, Feb 27, 2017 at 9:57 AM, Paul Mazzuca 
> wrote:
>
>> Yes.
>>
>> On Mon, Feb 27, 2017 at 9:39 AM, 'Adam (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> The current appengine-maven-plugin version is 1.2.0
>>> <http://search.maven.org/#search%7Cga%7C1%7Cappengine-maven-plugin>,
>>> not 1.1.0-beta1. Do you still experience the same issue on that version?
>>>
>>> On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:
>>>>
>>>> After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId
>>>> com.google.cloud.tools, I am unable to get the GCS client to work in dev
>>>> mode.  I followed the short documentation @
>>>> https://cloud.google.com/appengine/docs/standard/java/goog
>>>> lecloudstorageclient/setting-up-cloud-storage, however have been
>>>> unsuccessful.  This previously worked in the older appengine-maven-plugin.
>>>>
>>>> The error I receive:
>>>>
>>>> [java.io.IOException: java.lang.NoSuchMethodException:
>>>> com.google.appengine.tools.development.devappserver2.DevAppS
>>>> erver2Delegate.getService(java.lang.String)]
>>>>
>>>>
>>>> This is also mentioned on GitHub https://github.com/G
>>>> oogleCloudPlatform/app-maven-plugin/issues/106.
>>>>
>>>>
>>>> Has anyone been able to get gcs to work using the new mvn appengine
>>>> plugin?
>>>>
>>>>
>>>> Is it true as the documentation suggests that "there is no local
>>>> emulation of gcs"?  I thought the previous plugin supported local emulation
>>>> (though I might not have realized it was reaching out to Internet)
>>>>
>>>>
>>>> --
>>> 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/to
>>> pic/google-appengine/-nUPSAL41Bs/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/ms
>>> gid/google-appengine/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40
>>> googlegroups.com
>>> <https://groups.google.com/d/msgid/google-appengine/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/google-appengine/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0
>> g1zmPxUkpdAA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-appengine/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0g1zmPxUkpdAA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
>
> *  •  **Les Vogel*
> *  •  *Cloud Developer Relations
> *  •  *l...@google.com
> *  •  *+1-4 <%2B1-650-338-7103>08-676-7023
>
>
> --
> You received this message because you are subscribed to a t

Re: [google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread Paul Mazzuca
Yes.

On Mon, Feb 27, 2017 at 9:39 AM, 'Adam (Cloud Platform Support)' via Google
App Engine  wrote:

> The current appengine-maven-plugin version is 1.2.0
> <http://search.maven.org/#search%7Cga%7C1%7Cappengine-maven-plugin>, not
> 1.1.0-beta1. Do you still experience the same issue on that version?
>
> On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:
>>
>> After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId
>> com.google.cloud.tools, I am unable to get the GCS client to work in dev
>> mode.  I followed the short documentation @ https://cloud.google.com/app
>> engine/docs/standard/java/googlecloudstorageclient/setting-
>> up-cloud-storage, however have been unsuccessful.  This previously
>> worked in the older appengine-maven-plugin.
>>
>> The error I receive:
>>
>> [java.io.IOException: java.lang.NoSuchMethodException:
>> com.google.appengine.tools.development.devappserver2.DevAppS
>> erver2Delegate.getService(java.lang.String)]
>>
>>
>> This is also mentioned on GitHub https://github.com/G
>> oogleCloudPlatform/app-maven-plugin/issues/106.
>>
>>
>> Has anyone been able to get gcs to work using the new mvn appengine
>> plugin?
>>
>>
>> Is it true as the documentation suggests that "there is no local
>> emulation of gcs"?  I thought the previous plugin supported local emulation
>> (though I might not have realized it was reaching out to Internet)
>>
>>
>> --
> 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/-nUPSAL41Bs/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/73a1c103-24b1-42ea-a9b4-
> 2c2da23055f9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0g1zmPxUkpdAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread Paul Mazzuca
After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId 
com.google.cloud.tools, I am unable to get the GCS client to work in dev 
mode.  I followed the short documentation 
@ 
https://cloud.google.com/appengine/docs/standard/java/googlecloudstorageclient/setting-up-cloud-storage,
 
however have been unsuccessful.  This previously worked in the older 
appengine-maven-plugin.

The error I receive:

[java.io.IOException: java.lang.NoSuchMethodException: 
com.google.appengine.tools.development.devappserver2.DevAppServer2Delegate.getService(java.lang.String)]


This is also mentioned 
on GitHub https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/106. 
 


Has anyone been able to get gcs to work using the new mvn appengine plugin?


Is it true as the documentation suggests that "there is no local emulation 
of gcs"?  I thought the previous plugin supported local emulation (though I 
might not have realized it was reaching out to Internet)


-- 
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/70a2063b-f3af-4fc2-ad7e-3956ccf50e65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Migrating from Endpoints v1 to v2 for AppEngine

2017-02-21 Thread Paul Mazzuca
://   
 















































On Monday, February 20, 2017 at 6:22:49 PM UTC-8, Paul Mazzuca wrote:
>
> In trying to migrate to Endpoints V2 for GAE, I have been unable to get 
> the example located at  
> java-docs-samples/appengine/endpoints-frameworks-v2/backend 
> (git clone https://github.com/GoogleCloudPlatform/java-docs-samples) to 
> work. Does anyone know where the documentation for localhost testing is? 
> Has anyone gotten this example to work locally?  The README does include 
> instructions as to how to deploy the project, but nothing on how to test 
> locally. 
>
> The process that I have used thus far is:
>
> 1.  mvn exec:java -DGetSwaggerDoc
> 2. mvn appengine:run
>
> Then to test:
>
>  curl \
>
>  -H "Content-Type: application/json" \
>
>  -X POST \
>
>  -d '{"message":"echo"}' \
>
>  http://localhost:8080/_ah/api/echo/v1/echo
>
>
> The response is a 404.
>
>
>
>

-- 
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/f73b41ab-7c9f-4b1a-9533-9671c767f104%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Migrating from Endpoints v1 to v2 for AppEngine

2017-02-20 Thread Paul Mazzuca
In trying to migrate to Endpoints V2 for GAE, I have been unable to get the 
example located at  java-docs-samples/appengine/endpoints-frameworks-v2/backend 
(git clone https://github.com/GoogleCloudPlatform/java-docs-samples) to 
work. Does anyone know where the documentation for localhost testing is? 
Has anyone gotten this example to work locally?  The README does include 
instructions as to how to deploy the project, but nothing on how to test 
locally. 

The process that I have used thus far is:

1.  mvn exec:java -DGetSwaggerDoc
2. mvn appengine:run

Then to test:

 curl \

 -H "Content-Type: application/json" \

 -X POST \

 -d '{"message":"echo"}' \

 http://localhost:8080/_ah/api/echo/v1/echo


The response is a 404.



-- 
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/8d633137-4ef5-4b51-8da9-95bb1a18ba02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google AppEngine blocked by MailChimp because of security issues

2017-02-17 Thread Paul Davies
Did you ever resolve this? I am running into this now

On Thursday, June 9, 2016 at 2:33:19 AM UTC+2, Richard Druce wrote:
>
> We noticed some of our posts to MailChimp from AppEngine were being 
> returned with 403 error messages and access denied. We followed up with 
> MailChimp who said the IP addresses were blocked permanently because they 
> had been detected running running head scans of their network. 
>
> What controls does Appengine Have in place to prevent this kind of thing 
> and is there anything we can do apart from migrate of Appengine to use 
> external services? Can Appengine stop re-using the offending IP addresses?  
>

-- 
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/a5d3bf46-2cea-48a2-9620-cb50ea3ebf26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help! Can't deploy my coursebuilder. "This application does not exist"

2017-02-01 Thread Paul Edison
Hey guys! I'm a bit lost here. I'm trying to deploy coursebuilder. I've 
created the project in my Google API dashboard. After running the 
deployment script, I was asked for authentication. It was successful. 
Logged into the right email address/account. But then, I got an error 
message. Closed the command window. Tried it again. Now this was the last 
error message I received: 

10:43 AM Application: crappyfirstdrafts (was: mycourse); version: 1
10:43 AM Host: appengine.google.com
10:43 AM Starting update of app: crappyfirstdrafts, version: 1
10:43 AM Getting current resource limits.
10:43 AM Scanning files on local disk.
10:43 AM Scanned 500 files.
10:43 AM Scanned 1000 files.
10:43 AM Scanned 1500 files.
10:43 AM Scanned 2000 files.
10:43 AM Scanned 2500 files.
10:43 AM Scanned 3000 files.
Could not guess mimetype for 
lib/_static/yui_2in3-2.9.0/2in3-master/dist/2.9.0/build/assets/skins/sam/sprite.psd.
  
Using application/octet-stream.
Could not guess mimetype for lib/_static/underscore-1.4.3/LICENSE.  Using 
application/octet-stream.
Could not guess mimetype for lib/_static/underscore-1.4.3/README.md.  Using 
application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/bower.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/webcomponentsjs/build.log.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/webcomponentsjs/package.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/web-component-tester/browser.js.map.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/web-animations-js/COPYING.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/web-animations-js/History.md.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/web-animations-js/web-animations-next-lite.min.js.map.
  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/web-animations-js/web-animations-next.min.js.map.  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/web-animations-js/web-animations.min.js.map.  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/test-fixture/package.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/test-fixture/wct.conf.json.  Using 
application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/sw-toolbox/LICENSE.  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/sw-toolbox/package.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/sw-toolbox/sw-toolbox.map.json.  Using 
application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/stacky/LICENSE.  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/sinon-chai/package.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/promise-polyfill/LICENSE.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/promise-polyfill/package.json.  Using 
application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/prism/CHANGELOG.md.  
Using application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/prism/LICENSE.  
Using application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/prism/package.json.  
Using application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/polymer/build.log.  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/platinum-elements/LICENSE.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/platinum-bluetooth/LICENSE.  Using 
application/octet-stream.
10:43 AM Scanned 3500 files.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/neon-animation/guides/neon-animation.md.  Using 
application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/mocha/CHANGELOG.md.  
Using application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/mocha/LICENSE.  
Using application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/marked/LICENSE.  
Using application/octet-stream.
Could not guess mimetype for lib/_static/polymer-1.2.0/marked/Makefile.  
Using application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/marked/component.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/marked/package.json.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/marked/man/marked.1.  Using 
application/octet-stream.
Could not guess mimetype for 
lib/_static/polymer-1.2.0/marked/doc/broken.md.  Using 
applicat

Re: [google-appengine] Re: GWT Client for AppEngine Endpoints

2017-01-10 Thread Paul Mazzuca
Hi all,

I actually have successfully been using GAE Endpoints with GWT 2.8.0 for 
some time now.  My setup includes Maven and RestyGWT which has worked 
extremely well.  I will try and post a archetype soon, but unfortunately 
have been extremely busy.  If you have specific GWT questions (i.e 
JSInterop related), I would switch to the GWT Users group for that 
discussion.  I can try and answer specific questions there. 

As far as GAE endpoints goes, once you set up an endpoint, there are a 
variety of ways for clients to access it, including via a GWT client App. 
 In other words, if you can ping your endpoint via Curl or Wget, then I 
would shift the focus to GWT users for client side specific questions.   
GWT, though powerful, has unfortunately been lacking in documentation 
lately.  I will try and help out the best I can on the GWT Users forum.


On Tuesday, January 10, 2017 at 5:49:01 AM UTC-8, Matthew Rubenstein wrote:
>
> Thanks for chiming in. I was hoping someone else in the list might do so, 
> one reason I documented so much of what I tried and failed. I've been 
> disappointed by how unusable the "Google Platform Support" responses have 
> been to achieve my specific goal: adding a GAE Endpoints client to a GWT 
> module in an Android Studio project.
>
> I'm not presently using JsInterop. I'm not actually writing Javascript 
> apps; that's one reason I'm interested in GWT: writing Java that's 
> converted into JS. I see in the main GWT site a tutorial that explains 
> building with JsInterop, but all their other tutorials have been defective 
> so far so I'm wary of sinking even more hours into yet another dead end. 
> But research into the previous JSNI approach did seem like another even 
> more inefficient development exercise.
>
> What I'm trying to achieve is to add an Endpoints client to a LibGDX 
> project. The LibGDX project setup application generates as an Android 
> Studio Gradle project, like this game demo:
> https://github.com/libgdx/libgdx-demo-superjumper
>
> including Android, desktop, GWT ("html" module) and even Ios modules (the 
> platform-nonspecific code is implemented in the "core" module). I've added 
> a simple HTTP XML client to a LigGDX GWT module. But it's not really an 
> Endpoints client; it doesn't share the API from the rest of the project as 
> an API, just as a component of a URL string. Do you think there's a direct 
> way to add an Endpoints client to that GWT module that can share the API? 
> If the only way is to tack on yet another programming environment, 
> JsInterop, in a Javascript phase after GWT just to add the Endpoints client 
> to what is otherwise a Java project, then that's my fate. Thanks for your 
> insights.
>
>
> On Tuesday, January 10, 2017 at 1:48:25 AM UTC-5, Jeff Schnitzer wrote:
>>
>> Hi. I don’t have an easy answer for you, but I’ve been watching this 
>> thread and can give you some advice. GWT and Cloud Endpoints have changed 
>> over the years and there are probably no tutorials currently relevant. That 
>> shouldn’t really matter. Cloud Endpoints will generate some javascript for 
>> you, so you just need to figure out how to get GWT to interact with the 
>> javascript just like any other javascript library. This is really just a 
>> straight-up GWT question.
>>
>> Are you using JsInterop? I used GWT heavily back in the days of JSNI and 
>> JSOs, which really sucked for JS interoperability. JsInterop looks pretty 
>> awesome… it looks like some people have even gotten it working with 
>> Angular. So get it working with a simple JS library, and from there it 
>> should be possible to get it working with the Endpoints-generated 
>> javascript.
>>
>> I’m actually pretty surprised by how much progress GWT has been making. 
>> I’m almost (but not quite) tempted to go back to it. Maybe in another year 
>> or two if/when 3.0 is out…
>>
>> Jeff
>>
>> On Mon, Jan 9, 2017 at 8:23 PM, Matthew Rubenstein <
>> matthew.r...@blue-green-group.com> wrote:
>>
>>> In my latest attempt to follow your guidance I followed the "Build a GWT 
>>> app" tutorial. Rather than spend many hours proceeding with yet another GWT 
>>> project that fails after hours of work despite following the instructions 
>>> exactly, I found that the tutorial offers starting with the completed code 
>>> that is then configured for deployment to App Engine:
>>> "Deploy to GAE / Set up a project (without Eclipse)":
>>> http://www.gwtproject.org/doc/latest/tutorial/appengine.html
>>>
>>> "Alternatively, If you would like to skip the Build a Sample GWT 
>>> Application tutorial, then download and unzip this file."
>>>
>>> http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-GettingStarted-2.1.zip
>>>
>>> Like all of the GWT instructional projects documentation so far, this 
>>> one's link is broken as its project has been archived. But the file is 
>>> still available from:
>>> https://code.google.com/archive/p/google-web-toolkit/downloads?page=3
>>>
>>> htt

Re: [google-appengine] Endpoints build issue GAE 1.9.44

2016-11-04 Thread Paul Mazzuca
Thanks Ludo. 

> On Nov 4, 2016, at 7:13 AM, 'ludovic Champenois' via Google App Engine 
>  wrote:
> 
> 1.9.46 is now out,
> 
> Ludo
> 
>> On 10/19/16 3:00 PM, Paul Mazzuca wrote:
>> Anyone else encounter the following issue when updating GAE?
>> 
>> Updated from 1.9.42 -> 1.9.44 today. Did not change anything except the 
>> version.  I received the following error:
>> 
>> [ERROR] Failed to execute goal 
>> com.google.appengine:appengine-maven-plugin:1.9.44:endpoints_get_discovery_doc
>>  (default) on project oasis-endpoints: Execution default of goal 
>> com.google.appengine:appengine-maven-plugin:1.9.44:endpoints_get_discovery_doc
>>  failed: An API incompatibility was encountered while executing 
>> com.google.appengine:appengine-maven-plugin:1.9.44:endpoints_get_discovery_doc:
>>  java.lang.NoSuchMethodError: 
>> com.google.common.reflect.TypeToken.isSupertypeOf(Ljava/lang/reflect/Type;)Z
>> 
>> -- 
>> 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/230f6d12-7fb7-46ec-91a9-6771cd2f1201%40googlegroups.com.
>> 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/QkH-Y8ZRV6M/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/4d7a8658-8a34-b12c-108a-cd05a30783d5%40google.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/76B16D70-AB98-4142-AA74-84D7188D8905%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Endpoints build issue GAE 1.9.44

2016-10-19 Thread Paul Mazzuca
Anyone else encounter the following issue when updating GAE?

Updated from 1.9.42 -> 1.9.44 today. Did not change anything except the 
version.  I received the following error:

[ERROR] Failed to execute goal 
com.google.appengine:appengine-maven-plugin:1.9.44:endpoints_get_discovery_doc 
(default) on project oasis-endpoints: Execution default of goal 
com.google.appengine:appengine-maven-plugin:1.9.44:endpoints_get_discovery_doc 
failed: An API incompatibility was encountered while executing 
com.google.appengine:appengine-maven-plugin:1.9.44:endpoints_get_discovery_doc: 
java.lang.NoSuchMethodError: 
com.google.common.reflect.TypeToken.isSupertypeOf(Ljava/lang/reflect/Type;)Z

-- 
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/230f6d12-7fb7-46ec-91a9-6771cd2f1201%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Advantages of Google Datastore Entity Groups

2016-10-06 Thread Paul Mazzuca
Agreed on all points.  Some additional thoughts that I have had...

The locality of Entity Group data provides "strong consistency" and
potentially some speedup on ancestor queries (pending benchmarks). The
"strong consistency" enables these Entity Groups to operate in
"transactions", though only to the point of about 1 write/sec.

So for me, if I am trying to figure out if two kinds of entities should
belong in the same group, it merely comes down to whether or not ALL these
statements are true:

1) I need to perform an ancestor query such that the data retrieved is
strongly consistent.  For example, give me all the account balances in the
bank at a point in time.
2) I need to perform a transaction that affects two or more entities.  For
example, transferring money from member A to member B.
3) My data write requirements do not exceed 1 write/sec in a transaction

I say ALL because if the first point is not needed, XG transactions would
still allow for transactions of the entities if they weren't put in the
same group (assuming you stay under the limit of 25 kinds of entities).



On Thu, Oct 6, 2016 at 10:49 AM, 'Alex Martelli' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> On Tue, Oct 4, 2016 at 5:23 PM, Paul Mazzuca 
> wrote:
>
>> Is there any reason to use an Entity Group in Google Datastore other than
>> for enabling transactions?
>>
>
> Strong consistency: ancestor queries are strongly consistent. That's a key
> semantic difference compared with the eventual consistency of most queries
> (though, of course, you do pay for it in othe ways).
>
> And yes, you MAY get some performance benefits due to locality under very
> specific circumstances -- see https://cloud.google.com/d
> atastore/docs/articles/balancing-strong-and-eventual-consist
> ency-with-google-cloud-datastore/#h.3loc7ynqbw6i for MUCH more.
>
>
>
>>
>> For example, does having entities in the same entity group speed up
>> queries?  The situation that I run into often is whether to have X be a
>> parent to Y or have X be a property of Y.   Both cases allow for Y to be
>> queried given X, but when transactions aren't needed perhaps the entity
>> group is not necessary.  I guess another way of stating the question is
>> whether or not ancestor queries provide speed up over property based
>> queries without ancestors?
>>
>
> Not in the general case, but, in specific ones (since, per the URL I
> quoted, "entities are sorted and stored by the lexicographical order of the
> keys"), it sure might help.
>
> Me, in this case like in many others, I'm partial to benchmarking -- make
> a toy app closely simulating your specific use case, implemented both ways,
> run a large number of equivalent queries in either way, get the precise
> delay numbers and ponder their histograms. I'll take real data over
> theoretical considerations any day of the week:-).
>
> Alex
>
>
>>
>> --
>> 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/ms
>> gid/google-appengine/846d1d10-af2c-4c9a-80eb-bf29708017da%40
>> googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/846d1d10-af2c-4c9a-80eb-bf29708017da%40googlegroups.com?utm_medium=email&utm_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/tTn_BS84zFE/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/CAE46Be-HGX-rSxOupZpgT2XCCF2u8eUGPk3Abs1ea
> 3WzAd2Bzw%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CAE46Be-HGX-rSxOupZpgT2XCCF2u8eUGPk3Abs1ea3WzAd2Bzw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
&

[google-appengine] Advantages of Google Datastore Entity Groups

2016-10-04 Thread Paul Mazzuca
Is there any reason to use an Entity Group in Google Datastore other than 
for enabling transactions?  

For example, does having entities in the same entity group speed up 
queries?  The situation that I run into often is whether to have X be a 
parent to Y or have X be a property of Y.   Both cases allow for Y to be 
queried given X, but when transactions aren't needed perhaps the entity 
group is not necessary.  I guess another way of stating the question is 
whether or not ancestor queries provide speed up over property based 
queries without ancestors?

-- 
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/846d1d10-af2c-4c9a-80eb-bf29708017da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Best practices for AppEngine Datastore RESTful APIs with long descendant path

2016-10-04 Thread Paul Mazzuca
Thanks for the thorough insight.  I  realize now that I have been thinking
about the problem more from a logical organization point of view than a
read/write point of view.  Just because a city is a part of a state
certainly should not mean that the city should be a child of the state in
the data model.  I think it does afford some benefits though when it comes
to querying if you can limit the query scope to the nearest ancestor,
rather than treating everything as a root.  Unfortunately, I can only guess
at this point what my write throughput requirements might become for my
model which is different than the geographic example.

Going back to the original question, the point I was making was that
assuming A->B->C was the best model, and the Id of C was on the client and
the client wanted to update C, the only way to do that would be to find A
and B first.  To avoid finding A and B, I was suggesting that A and B Ids
should always accompany C on the client.

On Fri, Sep 30, 2016 at 3:27 PM, Anastasios Hatzis  wrote:

> Paul,
>
> in our app we use a combination of both scenarios in most cases. First of
> all, I typically distinct between a service and an entity. The service
> object is used to store configurations across many entities and often also
> for access control. Each entity is linked to a service, where the service
> is either its parent or just a key property, depending on the frequent
> use-cases and requirements for the entity, i.e. consistent reads, 25 entity
> group limitation inside transactions, ancestor queries, not more than 1
> write op per second per entity-group.
>
> I don't know your frequent use-cases and requirements. Maybe it makes
> sense to put all states, counties and cities into one entity group (per
> country). It would make much sense, if you need consistent queries, want
> the UPDATE API to accept huge batches of cities of the same
> county/state/country, and if write ops are rare. I also don't know if
> restructures of counties or cities may appear in the U.S. (it happens
> rarely in my country, but it can happen), and how your app would deal with
> them, since it would effect the key of such city/county/state. I see
> advantages though, especially if your app needs to read all objects in the
> path each time.
>
> So, in the service - entity approach, the UPDATE API uses both, the ID of
> the service object, and the keys of the entities to update:
> - UPDATE API: service/{serviceId}/entities/{entityIdOrName}
>
> With this approach, the request handler can get the service object and the
> entity object with the same read-op from datastore.
>
> This also works fine with smaller batch update requests, where the
> entities are all in the same service. With all entities in the same
> entity-group, the batches could be much bigger than 25 entities per request:
> - UPDATE API: service/{serviceId}/entities_approval
>   Request body:
>   {"entities": [entityUrlSafeKey1, entityUrlSafeKey2, entityUrlSafeKey3]}
>
> Back to your two scenarios: If you think that putting everything into big
> entity-groups and there will be only one city update per put request and
> not more than 1 update per country per second, your original entity-group
> design should be fine. In that case, I think that scenario 1 is preferable.
>
> My thoughts: Your request handler only needs the city key and can easily
> decompose it, so it will be able to get the city, but also the county,
> state and country (if needed) with a single read op from Datastore. The
> same approach will also help your app when querying cities or in Search
> API, because it can always decompose the key and read the parent objects in
> less read-ops. I don't think the repetition of certain parts of the key
> path would be an issue, even if you would need to add the same keys as
> indexed key-properties, e.g. query for all cities in a state. However, if
> you have indexed key-properties for the higher levels, you could reduce
> some of the overhead (size of datastore entities and traffic). Example for
> shorter key paths:
>
> Country --> State
> Country --> County (with a state key-property)
> Country --> City (with a state key-property and a county key-property)
>
> Disadvantage: if your request handler needs to get anything else than the
> country and the city, it needs to perform two read ops. And I would prefer
> a slightly bigger data size and traffic, than more read-ops and latency.
>
> On the other hand, I don't see what your scenario 2 would add to the
> table. If your important use-case is to update a specific city, why should
> the client care about anything else than the city key? From the perspective
> of a (3rd party) client developer, it would make the API more complex and
> client imple

[google-appengine] Best practices for AppEngine Datastore RESTful APIs with long descendant path

2016-09-30 Thread Paul Mazzuca
Let's say I want to represent a city in the US in the datastore:  It might 
look like this

Country --> State --> County -->  City

In my REST API I want to be able to read all citys in a state, and then 
update a city.  How should the API look?  Clearly, to update a city, I 
would need the full ancestor path, which means somehow that information 
needs to make it to the client so the client knows enough about the city in 
order to make the update.  I see two solutions here:

Scenario 1:  Make sure the client has the datastore 
*key.   -  *UPDATE API:cities/{cityKey}   PUT
  - Clean API, but there will be repetition of ancestor key data for 
every descendant.  If I read all the cities for a state, all the county key 
info will be repeated in each city key. 



Scenario 2:  Make sure the client has the ancestor path as represented by 
each 
*id *-  UPDATE API:   
countries/{countryId}/states/{stateId}/counties/{countyId}/cities/{cityId}
 -  My main issue with this scenario is that the API is ugly and 
unconventional, but it is more efficient because it avoids the ancestor key 
data repetition


Which method is better? Or, is there another method to consider?

If there were a KeyFactory equivalent on the client that would allow for 
the generation of a *key *from an ancestor path, that seems like one 
compromise.  Thoughts?





-- 
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/3c99f141-ad44-47d6-97e8-19340b928e7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Dispatch routing to specific module

2016-09-15 Thread Paul Canning
Is there anyway to achieve this at all?

We are currently using a specific version, "dev", of our module, alongside 
the live version. Ideally we want to use a custom subdomain to point to the 
dev version, rather then using the horrible long URL.

However, as stated 
here, https://cloud.google.com/appengine/docs/php/config/dispatchref, it 
seems you can only target a module, not a version.

We have a subdomain setup for the module, but it obviously sends users to 
the live version, as that is set to 100% of the traffic.

We don't want to use traffic splitting to send users to the dev version, as 
it is for company use only, as it may be drastically different to the live 
environment and not suitable for our users.

-- 
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/43126731-77f5-481f-9307-a4ec60db021b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Appengine routing rules not working ...

2016-09-15 Thread Paul Canning
Some of the app engine console was updated.

Instead of setting a "default" version, it now uses traffic splitting. So 
your live version is the default, as it gets 100% of the traffic.

I also believe you cannot dispatch to specific module versions. 
Dispatch.yaml only allows routing to a module (the version is then 
determined by the traffic splitting)

NB - if you had two separate modules, you would need to use a dispatch.yaml 
to assign the custom domains, it is not done automatically.

On Thursday, September 15, 2016 at 2:26:26 AM UTC+1, Aaron Alpar wrote:
>
> We have an Appengine application that has long used the version routing 
> described in the "Routing via URL" section of 
> https://cloud.google.com/appengine/docs/go/how-requests-are-routed.
>
> We have two version of our application, "live" and "master".  "live" is 
> our production application, while "master" is used for testing.
>
> We have a custom domain, "taviti.com" assigned.
>
> Normally we use "https://live.taviti.com"; to access our live site and "
> https://master.taviti.com"; to access our testing site.  Using this 
> convention takes advantage of the default version routing described in the 
> "how-requests-are-routed" page to route traffic to our production or test 
> versions.
>
> The problem is that "https://master.taviti.com"; is routing to our *live* 
> site.  This condition persists despite:
>
> - We don't have any rules in our "dispatch.yaml" file that conflict with 
> the default routing described in the "how-requests-are-routed" document.
>
> - We do have Custom Domains, but the "master" versions, for test, all 
> appear to point at "master.taviti.com".
>
> - Curiously the Google Cloud Console, "Appengine", "Versions" tab shows 
> live receiving "100%" of the traffic, although we don't use traffic 
> splitting.
>
> We can access our test site through the "appspot.com" although its not 
> completely functional.
>
> My questions:
>
> Have there been any recent changes to how requests are routed?
>
> How can I discover is traffic splitting is turned on, and how do I turn it 
> off?
>
> What else can cause all the traffic to all custom domain names to be 
> routed to one version of our Appengine application?
>
> - Aaron
>

-- 
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/cf1513cc-a7ef-47de-b050-e0bdb81ce91c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Daily usage has shot up, eating through thousands of instance hours

2016-09-01 Thread Paul Canning
We have noticed that in the past month, instance hours (front end and Cloud 
SQL) have shot up, in some cases tripling what it used to be.

We have 3 main app engine modules running


   1. WordPress site
   2. CodeIgniter based PHP web app
   3. CodeIgntier based PHP custom API

We don't have a ton of traffic, but we do poll the API a lot (we have other 
web apps that poll the API to see if it can connect and run)

It is 10:40am here in the UK and already we have used 300+ instance hours 
for all of our app engine stuff.

What is going on?

We are not going over any of our quotas, it's just instance hours. So how 
do we keep that cost down?

-- 
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/0e363d98-1911-40c5-bf7c-ac6d7a4e095b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: DNS not resolving for custom domain

2016-08-13 Thread Paul Mazzuca
The default for 'www' is ghs.googlehosted.com, not ghs.google.com. Should I
change it?

The issue tracker as I understand it, is not private. I have already
submitted screen shots to support using the send feedback feature.  If
there is another way I can privately troubleshoot this, please let me know.


On Sat, Aug 13, 2016 at 4:23 PM, 'Adam (Cloud Platform Support)' via Google
App Engine  wrote:

> It looks like you'll need to share some details for troubleshooting. If
> you'd like to do this privately, you can post an issue to the 
> google-cloud-platform
> issue tracker
> <https://code.google.com/p/google-cloud-platform/issues/list>. At
> minimum, I'd like to see a screen capture of the DNS configuration so we
> can test and rule out any config issues.
>
> However, when you say you did not make any changes to the default DNS
> records, that may be the issue. At minimum, you need to set up a CNAME
> record for the subdomain you want to map (eg. 'www') that points to
> ghs.google.com, see https://cloud.google.com/
> appengine/docs/python/console/using-custom-domains-and-ssl.
>
> On Friday, August 12, 2016 at 5:56:12 PM UTC-4, Paul Mazzuca wrote:
>>
>> Does anyone know how long it usually takes for DNS to resolve for a
>> custom domain provided by Google and mapped to a GAE project?  After
>> mapping my custom domain, the prompt said that it would take 24 hours.
>> However, 96 hours later, DNS is still not resolving and unfortunately
>> Google does not have any free support for custom domains.
>>
>> My appspot domain works fine by itself.  I have been using dig to make
>> the DNS request.  I did not make any changes to the default DNS records
>> created by Google when doing the mapping.
>>
> --
> 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/SYpLHVg1Vxs/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/b3f04b54-f5fe-43e4-8664-
> f9ed072de4b9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/b3f04b54-f5fe-43e4-8664-f9ed072de4b9%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAJpXATSg5dBLJhcXKXtaRgH3C3g%2BjEJ55_XCDy%2BJfeDdcL_baw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] DNS not resolving for custom domain

2016-08-12 Thread Paul Mazzuca
Does anyone know how long it usually takes for DNS to resolve for a custom 
domain provided by Google and mapped to a GAE project?  After mapping my 
custom domain, the prompt said that it would take 24 hours. However, 96 
hours later, DNS is still not resolving and unfortunately Google does not 
have any free support for custom domains. 

My appspot domain works fine by itself.  I have been using dig to make the 
DNS request.  I did not make any changes to the default DNS records created 
by Google when doing the mapping.

-- 
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/971a61f0-7f81-40a1-be5a-e48835e21395%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Issue with appengine-gcs-client dependency

2016-07-22 Thread Paul Mazzuca


I just received this error for the first time without having made any 
changes to my code.  


Failed to collect dependencies at 
com.google.appengine.tools:appengine-gcs-client:jar:0.6 -> 
com.google.http-client:google-http-client:jar:[1.19.0,2.0): No versions 
available for com.google.http-client:google-http-client:jar:[1.19.0,2.0) 
within specified range -> [Help 1]


After looking in the Maven Repository, I found the following which seems to 
me to be within the specified range.  Could I be missing something here? 
Anyone else having the same problem? 



com.google.http-client
google-http-client
1.22.0


-- 
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/dc23a1f0-0982-4b4a-b33d-eb0c9d0cd898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: AppEngine Endpoints Issue?

2016-05-13 Thread Paul Mazzuca
Any updates on this issue?  Any guidance?

On Wednesday, May 11, 2016 at 8:25:03 AM UTC-7, Ludovic Champenois wrote:
>
> Investigating,
> Thanks for the detailled info,
> Ludo
>
> On 5/11/16 8:14 AM, Paul Mazzuca wrote:
>
> I think this is a bug in GAE. I also think that it can affect deployed 
> instances since GAE uses the latest version in production.  I would be 
> interested in knowing if there is a workaround or if we have to wait for 
> the next version?
>
> On Tuesday, May 10, 2016 at 9:24:50 PM UTC-7, Shian Wu wrote: 
>>
>>
>> I got same problem when using GAE java 1.9.37. 
>> It is work with GAE java 1.9.34 before.
>>
>> After compare source of 
>> com.google.appengine.repackaged.com.google.api.client.util.StringUtils , I 
>> found it is a little different.
>>
>> In 1.9.34
>>
>> package com.google.appengine.repackaged.com.google.api.client.util;
>> public class StringUtils {
>> public static final String LINE_SEPARATOR = 
>> System.getProperty("line.separator");
>>
>> public static byte[] getBytesUtf8(String string) {
>> return 
>> com.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);<
>> /span>
>> }
>>
>> public static String newStringUtf8(byte[] bytes) {
>> return 
>> com.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);<
>> /span>
>> }
>>
>> private StringUtils() {
>> }}
>>
>> In 1.9.37
>>
>> package com.google.appengine.repackaged.com.google.api.client.util;
>> public class StringUtils {
>> public static final String LINE_SEPARATOR = 
>> System.getProperty("line.separator");
>>
>> public static byte[] getBytesUtf8(String string) {
>> return 
>> com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);
>> }
>>
>> public static String newStringUtf8(byte[] bytes) {
>> return 
>> com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);
>> }
>>
>> private StringUtils() {
>> }}
>>
>> And I can not find 
>> com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils
>>  
>> in GAE java 1.9.37
>> I think this is why it can't work.
>> Is this a bug or something I miss when upgrade to GAE java 1.9.37 ? On 
>> Wednesday, May 11, 2016 at 12:53:09 AM UTC+8, Paul Mazzuca wrote:
>>>
>>> When running the following EndPoints example with GAE 1.9.37 as so,
>>>
>>> git clone 
>>> https://github.com/GoogleCloudPlatform/appengine-endpoints-helloworld-java-maven
>>>
>>> #change the version in the POM to 1.9.37
>>>
>>> mvn appengine:devserver
>>>
>>> I receive the following error:
>>>
>>> [ERROR] Failed to execute goal 
>>> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc
>>>  
>>> (default) on project helloworld: Execution default of goal 
>>> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc
>>>  
>>> failed: A required class was missing while executing 
>>> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc:
>>>  
>>> com/google/appengine/repackaged/com/google/api/client/repackaged/org/apache/commons/codec/binary/StringUtils
>>> Could an essential EndPoints class have been removed in the latest GAE 
>>> release, or am I missing something?
>>>
>> -- 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 https://groups.google.com/group/google-appengine. To view this 
> discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/5182da26-f473-49d8-a0bc-74042c8bf591%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/google-appengine/5182da26-f473-49d8-a0bc-74042c8bf591%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f5bf896e-7b67-44ec-ae59-8a71bd697578%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: AppEngine Endpoints Issue?

2016-05-11 Thread Paul Mazzuca
I think this is a bug in GAE. I also think that it can affect deployed 
instances since GAE uses the latest version in production.  I would be 
interested in knowing if there is a workaround or if we have to wait for 
the next version?

On Tuesday, May 10, 2016 at 9:24:50 PM UTC-7, Shian Wu wrote:
>
>
> I got same problem when using GAE java 1.9.37.
> It is work with GAE java 1.9.34 before.
>
> After compare source of 
> com.google.appengine.repackaged.com.google.api.client.util.StringUtils , I 
> found it is a little different.
>
> In 1.9.34
>
> package com.google.appengine.repackaged.com.google.api.client.util;
>
> public class StringUtils {
> public static final String LINE_SEPARATOR = 
> System.getProperty("line.separator");
>
> public static byte[] getBytesUtf8(String string) {
> return 
> com.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);
> }
>
> public static String newStringUtf8(byte[] bytes) {
> return 
> com.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);
> }
>
> private StringUtils() {
> }
> }
>
>
> In 1.9.37
>
> package com.google.appengine.repackaged.com.google.api.client.util;
>
> public class StringUtils {
> public static final String LINE_SEPARATOR = 
> System.getProperty("line.separator");
>
> public static byte[] getBytesUtf8(String string) {
> return 
> com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);
> }
>
> public static String newStringUtf8(byte[] bytes) {
> return 
> com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);
> }
>
> private StringUtils() {
> }
> }
>
>
> And I can not find 
> com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils
>  
> in GAE java 1.9.37
> I think this is why it can't work.
>
> Is this a bug or something I miss when upgrade to GAE java 1.9.37 ?
>
> On Wednesday, May 11, 2016 at 12:53:09 AM UTC+8, Paul Mazzuca wrote:
>>
>> When running the following EndPoints example with GAE 1.9.37 as so,
>>
>> git clone 
>> https://github.com/GoogleCloudPlatform/appengine-endpoints-helloworld-java-maven
>>
>> #change the version in the POM to 1.9.37
>>
>> mvn appengine:devserver
>>
>> I receive the following error:
>>
>> [ERROR] Failed to execute goal 
>> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc
>>  
>> (default) on project helloworld: Execution default of goal 
>> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc
>>  
>> failed: A required class was missing while executing 
>> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc:
>>  
>> com/google/appengine/repackaged/com/google/api/client/repackaged/org/apache/commons/codec/binary/StringUtils
>>
>>
>> Could an essential EndPoints class have been removed in the latest GAE 
>> release, or am I missing something?
>>
>>
>>
>>

-- 
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/5182da26-f473-49d8-a0bc-74042c8bf591%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] AppEngine Endpoints Issue?

2016-05-10 Thread Paul Mazzuca
When running the following EndPoints example with GAE 1.9.37 as so,

git clone 
https://github.com/GoogleCloudPlatform/appengine-endpoints-helloworld-java-maven

#change the version in the POM to 1.9.37

mvn appengine:devserver

I receive the following error:

[ERROR] Failed to execute goal 
com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc 
(default) on project helloworld: Execution default of goal 
com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc 
failed: A required class was missing while executing 
com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc: 
com/google/appengine/repackaged/com/google/api/client/repackaged/org/apache/commons/codec/binary/StringUtils


Could an essential EndPoints class have been removed in the latest GAE 
release, or am I missing something?



-- 
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/0ffc03ac-d0f8-47b6-8084-8b4aaf31e1d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Trying to create an App Inventor custom TinyWebDB - error You do not have permission to modify this app

2016-03-10 Thread Paul Brown
I have no idea how that fixed it (I already had the right permissions), but
for whatever reason that has indeed fixed it. Thank you soo much!!!

On Thu, Mar 10, 2016 at 1:54 PM, 'Zeehad (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Paul,
>
> I've tested the sample application provided at the link above and despite
> throwing a warning for deprecated Python 2.5 runtime, it deploys
> successfully. So the issue you're facing is indeed with project permission.
>
> At first make sure the user account you're deploying with has either
> 'Owner' or 'Editor' permission for the project by visiting the permissions
> page
> <https://console.developers.google.com/project/_/permissions/projectpermissions>.
> If you need to add a user account, make sure to accept the invitation by
> logging into the invited account.
>
> You can then open App Engine Launcher and select 'Control' -> 'Clear
> Deployment Credential' to delete any saved credentials. The next deployment
> attempt should prompt you for granting access to the launcher. Before you
> hit 'Allow', make sure you're logged in with the correct user account (top
> right corner).
>
> I hope that helps. Cheers!
>
> --
> 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/CQ4VNhUzr8s/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/bb91cbf5-8247-4e58-b035-b46a418687e2%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/bb91cbf5-8247-4e58-b035-b46a418687e2%40googlegroups.com?utm_medium=email&utm_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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALJymmr23zhz-rnZa8eJ-z6TiE4DAzFAWALrDvApt47YRfW0zQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Trying to create an App Inventor custom TinyWebDB - error You do not have permission to modify this app

2016-03-09 Thread Paul Brown

I'm trying to follow the instructions located 
here: http://beta.appinventor.mit.edu/learn/reference/other/tinywebdb.html

When I go to deploy the webDB app, after creating a new Project (the 
instructions say create an Application,  but all I can see is Create a new 
Project, so I'm hoping that's the same thing), I get the following 
messages: 
 
Starting update of app: npicswebdb, version: 1
12:49 PM Getting current resource limits.
2016-03-09 12:49:16,329 ERROR appcfg.py:2396 An error occurred processing 
file '': HTTP Error 403: Forbidden Unexpected HTTP status 403. Aborting. 
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u's~npicswebdb').
--- end server output ---
2016-03-09 12:49:16 (Process exited with code 1)

I am logged in to App Engine online. I haven't found anywhere in the App 
Engine Launcher on my desktop to login or somehow specify that I am 
authorized to access that app engine project from my desktop. There's no 
indication of having to do that in the instructions. Any ideas?

-- 
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/5753e7c7-bc0c-4fc7-85a5-3a88bd5bdfcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] TaskAlreadyExistsException does not provide getMessage()

2015-11-17 Thread Paul Canning
I am using named Tasks in my PHP GAE application (using the current time, 
to the minute, stops a ton of tasks being submitted) and noticed that 
when TaskAlreadyExistsException is hit, there is no getMesaage() for the 
exception.

Same goes for InvalidArgumentException.

-- 
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/e5497d4c-f3df-40cc-9496-84c58b51c513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to add a task to Push Queue from a different module?

2015-11-16 Thread Paul Canning
I just did some testing.

I didn't need to use the dispatch.yaml, I simply had a named queue that 
targets the main app module.

The code in the API then adds the Task to this named queue.

Didn't need to use a Host header in the Task options.

On Monday, November 16, 2015 at 1:51:55 PM UTC, Kurt Hartmann wrote:
>
> I'm doing this very thing in my Java app.  
>
>
>- In the main module, you need to add a dispatch.xml file to define a 
>mapping to your API module.  In my case, the other module is called tasks.
>
>
>- Below is a nnippet from my dispatch.xml showing the URL mapping to 
>   the other module called tasks
>- This file will be located in the same directory as appengine-web.xml
>   
>
> 
> 
> ...
> 
> */tasks/*
> tasks
> 
> 
>
>
>- Then, I set up a little helper class to add a task to a push queue.  
>Be sure to set the Host property in the header, otherwise it won't work.
>- I then dependency inject the PushTaskHelper, wherever I need it and 
>call the helper method
>
>
> public class PushTaskHelper {
> public static final String MODULE_WEB_TASKS_NAME = "tasks";
> public static final String MODULE_WEB_TASKS_VERSION = "v1";
>
> public void addTaskToQueue(String controllerPath) {
> String url = TASKS_MODULE_CONTEXT_ROOT + controllerPath;
> TaskOptions task = 
> TaskOptions.Builder.withUrl(url).method(TaskOptions.Method.GET)
> .header("Host", 
> ModulesServiceFactory.getModulesService().getVersionHostname(MODULE_WEB_TASKS_NAME,
>  
> MODULE_WEB_TASKS_VERSION));
> QueueFactory.getDefaultQueue().add(task);
> }
> ...
> }
>
>
>
> On Monday, November 16, 2015 at 6:16:18 AM UTC-6, Paul Canning wrote:
>>
>> I have two "modules", one being the main application and the other acting 
>> as an API.
>>
>> Both use the same Cloud SQL and Storage.
>>
>> How can I, in my code, add a task, from the API, to the Push Queue and 
>> have it run code that sits in the main application module?
>>
>> Is it simply a case of adding a task to a certain queue (by name) that 
>> targets the main app?
>>
>

-- 
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/48c359c7-322b-4b7f-ba4a-62836ca355ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to add a task to Push Queue from a different module?

2015-11-16 Thread Paul Canning
I have two "modules", one being the main application and the other acting 
as an API.

Both use the same Cloud SQL and Storage.

How can I, in my code, add a task, from the API, to the Push Queue and have 
it run code that sits in the main application module?

Is it simply a case of adding a task to a certain queue (by name) that 
targets the main app?

-- 
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/c947a608-1ad9-4630-809b-a094845be38c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can Push Queue tasks be executed in order?

2015-11-16 Thread Paul Canning
How can you check for an existing running Task (in PHP)?

Is there a way to "label" a task or do you have to check for its ID?

On Saturday, November 14, 2015 at 3:43:04 AM UTC, Adam wrote:
>
> Hi Paul,
>
> It's possible to launch a task from another task. This means each task 1-9 
> can check if the work from the other tasks has completed, and then launch 
> task #10 if it is. Task #10 should check to see if it's not already running 
> (singleton). Be careful to avoid having a task launch itself as this will 
> lead to a condition called a fork bomb 
> <https://cloud.google.com/appengine/docs/python/config/queue?hl=en#Python_Setting_the_storage_limit_for_all_queues>
> .
>
> Cheers,
> Adam
>
> On Friday, November 13, 2015 at 9:04:05 AM UTC-5, Paul Canning wrote:
>>
>> Say if I have 10 tasks I need to run, is there a way I can make sure 
>> tasks 1-9 are complete (in any order) before task 10 is launched?
>>
>

-- 
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/8afa66a7-2fc6-4767-ab61-1bab0e47944f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: where the release notes for app engine 1.9.29?

2015-11-13 Thread Paul Canning
Would be even nicer for them to tell cusomters when new versions are made 
live :/

On Friday, November 13, 2015 at 3:45:28 PM UTC, Rif Kiamil wrote:
>
> How can you put me on a runtime with no release notes?
>

-- 
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/ec0bad7b-9f4b-476d-a374-525545acecc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Google App Engine & Google Play Music... making apps that manage playlists on GAE

2015-11-13 Thread Paul Canning
If you want to use the API so badly, why not use a non GAE server setup?

On Friday, November 13, 2015 at 3:52:56 PM UTC, Cliff Hill wrote:
>
> I did, it won't work because Google is blocking the url s for Google Play 
> Music from being accessed by Google App Engine.
>
> People wanting "smart playlist" capabilities are not measured "in tens", 
> it is something a lot of people I have seen online ask for. This, to me, is 
> a way it can be accomplished. They already have the api built, just not 
> published or available in various languages (the interface is REST, and is 
> how the unofficial api accesses everything). Google just needs someone to 
> write a thin wrapper over it and make it available, or at the very least, 
> remove the blocking so the existing unofficial api can work.
>
> On Fri, Nov 13, 2015, 10:44 AM Paul Canning  > wrote:
>
>> The thing is, it IS asking a lot. It's not like it'll take one guy an 
>> afternoon of work.
>>
>> I highly doubt they'll make any form of API for Google Music, as you can 
>> create playlists etc on the website already. People wanting an API for 
>> their own personal projects are going to be numbered in the tens.
>>
>> If there is an unofficial Python API, have you looked into why it doesn't 
>> work on GAE? I think you'd be able to get that working much sooner then 
>> Google making a GM API (ie never)
>>
>>
>> On Friday, November 13, 2015 at 3:09:16 PM UTC, Cliff Hill wrote:
>>>
>>> Before I start, I want to make it very clear -- I am not talking about 
>>> having a google app engine app that controls streaming music in any way, 
>>> just having the ability to manage/manipulate playlists, as well as the 
>>> metadata for tracks/songs I have in google play music.  I want to propose 
>>> Google make an API available for their music service to accomplish this. 
>>> There already is an unofficial API in Python that allows this, but it is 
>>> unofficial, and it doesn't seem to work in google app engine.
>>>
>>> A little backstory:
>>>
>>> I have a scheme for automatically manipulating a playlist that changes 
>>> each day, cycling through my music library, which now exists on Google Play 
>>> Music. I had started from iTunes, which gave me the ability to construct 
>>> "smart playlists", which essentially allowed me to apply set theory 
>>> concepts to music -- setting up relationships between songs, and using that 
>>> to structure sets of playlists that all automatically update as my music 
>>> was being played -- all for free. I used it to automatically load my phone 
>>> with a bunch of songs each day, which then I could play, and when I 
>>> re-synchronized my iPhone with iTunes, it would remove my played songs, and 
>>> add new songs to my phone automatically.
>>>
>>> However, I'm not an avid Apple user... in fact, I generally prefer 
>>> avoiding it. I am a Linux user (and I had to make a VM instance to install 
>>> Windows just to get iTunes to work correctly back then). So, when my Gen 1 
>>> iPhone's 2-year contract was ended, I switched to another phone... and 
>>> stopped using iTunes. However, I found another way to continue my "smart 
>>> playlist", through the streaming server called Firefly, I just set up my 
>>> own server, installed, firefly, had all my music available on it, and could 
>>> get it to do what I did in iTunes, all without me needing my phone. 
>>> Eventually, I migrated to Squeezebox Server and did a similar trick on that 
>>> (because Firefly was... unstable). This worked (mostly) fine, until my 
>>> server died. As I went to rebuild my playlist, I gave up on squeezebox 
>>> server, because I didn't like managing it through SQL.  I then switched to 
>>> mpd (music player daemon), and figured out how to manage the playlists 
>>> through my own hand in Python, and got it functional again, only after a 
>>> few years having my new server die as well.
>>>
>>> Google offers the Play Music service, which allowed me to upload my 
>>> music library to it, this solves the problem of my personal server failing 
>>> on me. Google also offers Google App Engine for Python.  Essentially, these 
>>> two services would be a perfect fit for me -- I could build my playlist 
>>> generator in Google App Engine, and have it manage my playlist in Google 
>>> Play Music, and simply then use my playlist in Google Play Music, returning 
>>> back t

[google-appengine] Re: Google App Engine & Google Play Music... making apps that manage playlists on GAE

2015-11-13 Thread Paul Canning
The thing is, it IS asking a lot. It's not like it'll take one guy an 
afternoon of work.

I highly doubt they'll make any form of API for Google Music, as you can 
create playlists etc on the website already. People wanting an API for 
their own personal projects are going to be numbered in the tens.

If there is an unofficial Python API, have you looked into why it doesn't 
work on GAE? I think you'd be able to get that working much sooner then 
Google making a GM API (ie never)

On Friday, November 13, 2015 at 3:09:16 PM UTC, Cliff Hill wrote:
>
> Before I start, I want to make it very clear -- I am not talking about 
> having a google app engine app that controls streaming music in any way, 
> just having the ability to manage/manipulate playlists, as well as the 
> metadata for tracks/songs I have in google play music.  I want to propose 
> Google make an API available for their music service to accomplish this. 
> There already is an unofficial API in Python that allows this, but it is 
> unofficial, and it doesn't seem to work in google app engine.
>
> A little backstory:
>
> I have a scheme for automatically manipulating a playlist that changes 
> each day, cycling through my music library, which now exists on Google Play 
> Music. I had started from iTunes, which gave me the ability to construct 
> "smart playlists", which essentially allowed me to apply set theory 
> concepts to music -- setting up relationships between songs, and using that 
> to structure sets of playlists that all automatically update as my music 
> was being played -- all for free. I used it to automatically load my phone 
> with a bunch of songs each day, which then I could play, and when I 
> re-synchronized my iPhone with iTunes, it would remove my played songs, and 
> add new songs to my phone automatically.
>
> However, I'm not an avid Apple user... in fact, I generally prefer 
> avoiding it. I am a Linux user (and I had to make a VM instance to install 
> Windows just to get iTunes to work correctly back then). So, when my Gen 1 
> iPhone's 2-year contract was ended, I switched to another phone... and 
> stopped using iTunes. However, I found another way to continue my "smart 
> playlist", through the streaming server called Firefly, I just set up my 
> own server, installed, firefly, had all my music available on it, and could 
> get it to do what I did in iTunes, all without me needing my phone. 
> Eventually, I migrated to Squeezebox Server and did a similar trick on that 
> (because Firefly was... unstable). This worked (mostly) fine, until my 
> server died. As I went to rebuild my playlist, I gave up on squeezebox 
> server, because I didn't like managing it through SQL.  I then switched to 
> mpd (music player daemon), and figured out how to manage the playlists 
> through my own hand in Python, and got it functional again, only after a 
> few years having my new server die as well.
>
> Google offers the Play Music service, which allowed me to upload my music 
> library to it, this solves the problem of my personal server failing on me. 
> Google also offers Google App Engine for Python.  Essentially, these two 
> services would be a perfect fit for me -- I could build my playlist 
> generator in Google App Engine, and have it manage my playlist in Google 
> Play Music, and simply then use my playlist in Google Play Music, returning 
> back to being able to play my music from my (Google Nexus) phone.  Except: 
> There is no official Google Play Music API available to use in Google App 
> Engine, and using the unofficial Python API doesn't work because Google 
> blocks this access. I could write my code to make it work from my own 
> server without using Google App Engine, but I would rather a solution that 
> is cloud-based. Since it is Google talking to Google, I would think it 
> shouldn't be too hard to do.
>
> I don't have an All Access account, I just want to be able to play my own 
> music, streamed through Google Play Music, and have a way to manage my 
> playlist, preferably through Google App Engine. The API doesn't need to be 
> all that advanced: Just playlist management (CRUD) controls (listing 
> playlists, creating/deleting/updating a playlist), and the ability to see 
> all my music I have uploaded on Google Play Music. As I said before, the 
> unofficial Python API allows for this, but it is unofficial, and unusable 
> on GAE.
>
> I don't think this is asking too much of Google to allow for this kind of 
> access between two of their products. As I said at the beginning -- I am 
> not looking for a way to stream the music outside of the approved Google 
> Play Music system. I am simply wanting to be able to implement a way to 
> manipulate my playlists on Google Play Music to dynamically change them 
> based on my own sets of rules. I'd prefer this to be doable on Google App 
> Engine (where I could have a lot of control over it), but I could also be 
> persuaded to do this through a "smart playli

[google-appengine] Can Push Queue tasks be executed in order?

2015-11-13 Thread Paul Canning
Say if I have 10 tasks I need to run, is there a way I can make sure tasks 
1-9 are complete (in any order) before task 10 is launched?

-- 
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/efcde631-439b-4aba-b376-f4ce94fb661a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: CodeIgniter - PHP Push Tasks giving different outcomes

2015-11-13 Thread Paul Canning
Yea, I may also implement checking the request headers that the push tasks 
queue sets.

Cheers!

On Friday, November 13, 2015 at 1:45:01 PM UTC, Joshua Johnston wrote:
>
> login: admin is the way we do them as well.
>
> On Friday, November 13, 2015 at 5:00:25 AM UTC-5, Paul Canning wrote:
>>
>> Nevermind, I think I got it sussed.
>>
>> My controller was locked down so only logged in admins could trigger the 
>> task, and so was the end point. Obviously the Task Queue could not be 
>> logged in, so it failed.
>>
>> I'm guessing the best way to secure a task end point is to set a handler 
>> and use login: admin?
>>
>> On Thursday, November 12, 2015 at 7:22:28 PM UTC, Joshua Johnston wrote:
>>>
>>> Can you show us what the handlers section of your yaml looks like for 
>>> the non-working module?
>>>
>>> On Thursday, November 12, 2015 at 12:42:42 PM UTC-5, Paul Canning wrote:
>>>>
>>>> I have a CI app and I am trying to get Push Tasks to work.
>>>>
>>>> I have a controller, controller_a, with a method, method_a, which tells 
>>>> GAE to add a task to the queue, to hit controller_a/method_b, with a basic 
>>>> payload. Method_b simply writes a file to GCS (using verified working 
>>>> code).
>>>>
>>>> Now, my tasks appear, but always return as a 302 response. Method_a is 
>>>> fully accessible, checking the logs shows a 200 response.
>>>>
>>>> I can even actually go to controller_a/method_b and see a 200 response 
>>>> in the logs (obv. the POST data is missing).
>>>>
>>>> Now, this is where it gets weird. I made a full fresh install of CI and 
>>>> made a basic task example, as above.
>>>>
>>>> It works. 100%. I put in on a new module, and even made a new, 
>>>> non-default version to check. And it always works.
>>>>
>>>> Below are the responses I got from the working and non-working tasks.
>>>>
>>>> I simply cannot figure out for the life of me whats wrong.
>>>>
>>>> Both CI installs are the same version, 2.2.6.
>>>>
>>>> The non-working one *does* have additional CI routes and URL handlers 
>>>> in the app.yaml, but none that go near the task methods.
>>>>
>>>> *Working:*
>>>>
>>>> 0.1.0.2 - - [12/Nov/2015:08:44:22 -0800] "POST /tasks/test HTTP/1.1" 
>>>> 200 25 https://ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+
>>>> http://code.google.com/appengine)" "ci-test.myapp.appspot.com" ms=623 
>>>> cpu_ms=111 cpm_usd=2.7928e-06 
>>>> instance=00c61b117c97eae25cc3ab600a819360a37cb04b 
>>>> app_engine_release=1.9.29 
>>>> trace_id=-
>>>>
>>>> 0.1.0.2 - - [12/Nov/2015:09:09:19 -0800] "POST /tasks/test HTTP/1.1" 
>>>> 200 25 https://1-1-dot-ci-test-dot-myapp.appspot.com/ 
>>>> "AppEngine-Google; (+http://code.google.com/appengine)" "
>>>> 1-1.ci-test.myapp.appspot.com" ms=645 cpu_ms=107 
>>>> cpm_usd=2.7928e-06 
>>>> instance=00c61b117c91285c5c7991b03cfef45e55459cf8 
>>>> app_engine_release=1.9.29 
>>>> trace_id=-
>>>>
>>>> *Non- Working:*
>>>>
>>>> 0.1.0.2 - - [12/Nov/2015:09:00:48 -0800] "POST /cleanup/task HTTP/1.1" 
>>>> 302 563 http://1-4-dot-ci-app-dot-myapp.appspot.com/ 
>>>> "AppEngine-Google; (+http://code.google.com/appengine)" "
>>>> 1-4.ci-app.v.appspot.com" ms=31 cpu_ms=35 cpm_usd=6.292e-05 
>>>> instance=00c61b117ce404978751535a24ad4d36a6c8c4 app_engine_release=1.9.29 
>>>> trace_id=5641c0ed69cda78c99e147d41f7aae05
>>>>
>>>

-- 
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/d626c464-8505-4df3-8300-1598b3e893de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: CodeIgniter - PHP Push Tasks giving different outcomes

2015-11-13 Thread Paul Canning
Nevermind, I think I got it sussed.

My controller was locked down so only logged in admins could trigger the 
task, and so was the end point. Obviously the Task Queue could not be 
logged in, so it failed.

I'm guessing the best way to secure a task end point is to set a handler 
and use login: admin?

On Thursday, November 12, 2015 at 7:22:28 PM UTC, Joshua Johnston wrote:
>
> Can you show us what the handlers section of your yaml looks like for the 
> non-working module?
>
> On Thursday, November 12, 2015 at 12:42:42 PM UTC-5, Paul Canning wrote:
>>
>> I have a CI app and I am trying to get Push Tasks to work.
>>
>> I have a controller, controller_a, with a method, method_a, which tells 
>> GAE to add a task to the queue, to hit controller_a/method_b, with a basic 
>> payload. Method_b simply writes a file to GCS (using verified working code).
>>
>> Now, my tasks appear, but always return as a 302 response. Method_a is 
>> fully accessible, checking the logs shows a 200 response.
>>
>> I can even actually go to controller_a/method_b and see a 200 response in 
>> the logs (obv. the POST data is missing).
>>
>> Now, this is where it gets weird. I made a full fresh install of CI and 
>> made a basic task example, as above.
>>
>> It works. 100%. I put in on a new module, and even made a new, 
>> non-default version to check. And it always works.
>>
>> Below are the responses I got from the working and non-working tasks.
>>
>> I simply cannot figure out for the life of me whats wrong.
>>
>> Both CI installs are the same version, 2.2.6.
>>
>> The non-working one *does* have additional CI routes and URL handlers in 
>> the app.yaml, but none that go near the task methods.
>>
>> *Working:*
>>
>> 0.1.0.2 - - [12/Nov/2015:08:44:22 -0800] "POST /tasks/test HTTP/1.1" 200 
>> 25 https://ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+
>> http://code.google.com/appengine)" "ci-test.myapp.appspot.com" ms=623 
>> cpu_ms=111 cpm_usd=2.7928e-06 
>> instance=00c61b117c97eae25cc3ab600a819360a37cb04b app_engine_release=1.9.29 
>> trace_id=-
>>
>> 0.1.0.2 - - [12/Nov/2015:09:09:19 -0800] "POST /tasks/test HTTP/1.1" 200 
>> 25 https://1-1-dot-ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+
>> http://code.google.com/appengine)" "1-1.ci-test.myapp.appspot.com" 
>> ms=645 cpu_ms=107 cpm_usd=2.7928e-06 
>> instance=00c61b117c91285c5c7991b03cfef45e55459cf8 app_engine_release=1.9.29 
>> trace_id=-
>>
>> *Non- Working:*
>>
>> 0.1.0.2 - - [12/Nov/2015:09:00:48 -0800] "POST /cleanup/task HTTP/1.1" 
>> 302 563 http://1-4-dot-ci-app-dot-myapp.appspot.com/ "AppEngine-Google; 
>> (+http://code.google.com/appengine)" "1-4.ci-app.v.appspot.com" ms=31 
>> cpu_ms=35 cpm_usd=6.292e-05 instance=00c61b117ce404978751535a24ad4d36a6c8c4 
>> app_engine_release=1.9.29 trace_id=5641c0ed69cda78c99e147d41f7aae05
>>
>

-- 
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/eae87b72-94a0-4fb6-8669-6b4fc37ba3f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] CodeIgniter - PHP Push Tasks giving different outcomes

2015-11-12 Thread Paul Canning
I have a CI app and I am trying to get Push Tasks to work.

I have a controller, controller_a, with a method, method_a, which tells GAE 
to add a task to the queue, to hit controller_a/method_b, with a basic 
payload. Method_b simply writes a file to GCS (using verified working code).

Now, my tasks appear, but always return as a 302 response. Method_a is 
fully accessible, checking the logs shows a 200 response.

I can even actually go to controller_a/method_b and see a 200 response in 
the logs (obv. the POST data is missing).

Now, this is where it gets weird. I made a full fresh install of CI and 
made a basic task example, as above.

It works. 100%. I put in on a new module, and even made a new, non-default 
version to check. And it always works.

Below are the responses I got from the working and non-working tasks.

I simply cannot figure out for the life of me whats wrong.

Both CI installs are the same version, 2.2.6.

The non-working one *does* have additional CI routes and URL handlers in 
the app.yaml, but none that go near the task methods.

*Working:*

0.1.0.2 - - [12/Nov/2015:08:44:22 -0800] "POST /tasks/test HTTP/1.1" 200 25 
https://ci-test-dot-myapp.appspot.com/ "AppEngine-Google; 
(+http://code.google.com/appengine)" "ci-test.myapp.appspot.com" ms=623 
cpu_ms=111 cpm_usd=2.7928e-06 
instance=00c61b117c97eae25cc3ab600a819360a37cb04b app_engine_release=1.9.29 
trace_id=-

0.1.0.2 - - [12/Nov/2015:09:09:19 -0800] "POST /tasks/test HTTP/1.1" 200 25 
https://1-1-dot-ci-test-dot-myapp.appspot.com/ "AppEngine-Google; 
(+http://code.google.com/appengine)" "1-1.ci-test.myapp.appspot.com" ms=645 
cpu_ms=107 cpm_usd=2.7928e-06 
instance=00c61b117c91285c5c7991b03cfef45e55459cf8 app_engine_release=1.9.29 
trace_id=-

*Non- Working:*

0.1.0.2 - - [12/Nov/2015:09:00:48 -0800] "POST /cleanup/task HTTP/1.1" 302 
563 http://1-4-dot-ci-app-dot-myapp.appspot.com/ "AppEngine-Google; 
(+http://code.google.com/appengine)" "1-4.ci-app.v.appspot.com" ms=31 
cpu_ms=35 cpm_usd=6.292e-05 instance=00c61b117ce404978751535a24ad4d36a6c8c4 
app_engine_release=1.9.29 trace_id=5641c0ed69cda78c99e147d41f7aae05

-- 
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/bc43017f-3244-4779-b596-c4287950359e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: PHP - No HTTP_X_REQUESTED_WITH/X-Requested-With header given for ajax requests

2015-10-21 Thread Paul Canning
Yes, I checked all headers, using Chrome Inspector, POSTMan and using my 
PHP app to spit them out in JSON format.

On Tuesday, October 20, 2015 at 8:09:42 PM UTC+1, Kaan Soral wrote:
>
> Are you checking all the headers by the way?
>
> Usually the naming of headers change, but with Python, looking at all the 
> headers is a good way to spot a wanted header
>
> I don't know what kind of a framework PHP has, but as far as I remember, 
> the Python one (webapp) used to strip some headers during handling, they 
> could be reached through a deeper access, but my recollection is hazy
>

-- 
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/c125e3e3-f99e-4a3e-bf7e-a5fa277aaf32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] PHP - No HTTP_X_REQUESTED_WITH/X-Requested-With header given for ajax requests

2015-10-20 Thread Paul Canning
I am making various AJAX requests from a HTML5 web-app to my PHP 
application (CodeIgniter) on GAE (PHP), and I am not seeing 
the HTTP_X_REQUESTED_WITH/X-Requested-With header in the headers.

In a slightly related issue, I am also not getting the Content-Length 
headers from GAE (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/2b8d52b8-c7e9-4480-97a7-2e4b2dd56f71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Cloud Storage getImageServingUrl questions

2015-09-23 Thread Paul Canning
I'm guessing then there is no way to do this without cropping?

On 23 September 2015 at 15:21, Ryan (Cloud Platform Support) <
rbruy...@google.com> wrote:

> Salutations Paul,
>
> Have you looked at the crop flag
> <https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl>
> ?
>
>
> Original[image: OriginalImage]
> Cropped[image: Image]
> Not Cropped[image: Image]
>
>
> On Wednesday, September 23, 2015 at 9:58:28 AM UTC-4, Paul Canning wrote:
>>
>> I have a page that loads in a lot of different sized images via AJAX,
>> some "landscape" (1280x720) and some "portrait" (720x1280).
>>
>> I'd like to display them in Bootstrap 3, using the responsive image class.
>>
>> Ideally it'd be good to show all images using a max height limit, say
>> 200px.
>>
>> Using getImageServingUrl's size option doesn't really do what I want, as
>> this only serves a version where the dimension with the highest value is
>> used.
>>
>> E.g a 1280x720 image sized to say 320, would have a width of 320 and a
>> height of 180
>>
>> But a 720x1280 image has its height changed, to 320, with the wdith being
>> 180.
>>
>> So I have two images, with heights of 180 and 320, which doesn't look
>> right.
>>
>> Add in loads more images and the grid starts to look ugly.
>>
>> So is there a way to achieve a uniform grid where portrait and landscape
>> images are resized to fit the grid better?
>>
> --
> 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/zOsPCICZQqo/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/ffc41374-38a7-4377-a56e-7c394043bed3%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/ffc41374-38a7-4377-a56e-7c394043bed3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-
Paul Canning
[ software artist ]
-
[draw&code]
digital creative studio

+44 (0)151 329 0900
Website <http://www.drawandcode.com/> / Twitter
<https://twitter.com/DrawAndCode> / Facebook
<https://www.facebook.com/drawandcode> / Vimeo
<https://vimeo.com/drawandcode>
-

-- 
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/CAH%2B40aPaDHUsUxbj1r%2BHhUh-ZLmd-S9T_ubUt0mrSdUSrXcfFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cloud Storage getImageServingUrl questions

2015-09-23 Thread Paul Canning
I have a page that loads in a lot of different sized images via AJAX, some 
"landscape" (1280x720) and some "portrait" (720x1280).

I'd like to display them in Bootstrap 3, using the responsive image class.

Ideally it'd be good to show all images using a max height limit, say 200px.

Using getImageServingUrl's size option doesn't really do what I want, as 
this only serves a version where the dimension with the highest value is 
used.

E.g a 1280x720 image sized to say 320, would have a width of 320 and a 
height of 180

But a 720x1280 image has its height changed, to 320, with the wdith being 
180.

So I have two images, with heights of 180 and 320, which doesn't look right.

Add in loads more images and the grid starts to look ugly.

So is there a way to achieve a uniform grid where portrait and landscape 
images are resized to fit the grid better?

-- 
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/e4ad0634-d886-4bea-860a-babb1f1895b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Download specific Module code?

2015-08-04 Thread Paul Canning
Also, for "download_app" the -A option does not work (for me) unless I put 
the PROJECT name. I tried app (modules) names but it says the application 
doesnt exist. I have full permissions.

Do you have to "login" to "appcfg.py download_app" in any way to show you 
are authorized?

I tried "appcfg.py download_py -A default ." (default is the "app name" of 
Website A) and it failed.

-- 
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/9f5a0752-2fe7-4b18-9d76-bafb6f257655%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Download specific Module code?

2015-08-04 Thread Paul Canning
What's the difference between App Engine Modules and "Company" modules?

My modules are uploaded separately, so Website A uses app.yaml and Website
B uses app-b.yaml

They exist on app engine as separate modules, each with their own versions.

The appcfg command cannot grab anything other then Website A. And when it
downloaded Website A, it only download the active (default) version.
On 4 Aug 2015 17:39, "Ryan (Cloud Platform Support)" 
wrote:

> The error you are seeing means you do not have access to the code
> <https://cloud.google.com/appengine/docs/python/tools/uploadinganapp?hl=en#Python_Downloading_source_code>
> .
>
> For sanity sake I tested this:
>
> Created a fresh app
> Create 2 modules (modulea, moduleb)
> Uploaded using appcfg.py update app.yaml modulea moduleb
> Confirmed all pages worked
> Downloaded using: appcfg.py download_app -A app-id-here .
> All files for ALL modules are present.
>
> What I think is happening with you is you are confusing App Engine modules
> <https://cloud.google.com/appengine/docs/python/modules/> and company
> decided modules. Do they have different app ids?
>
> On Tuesday, August 4, 2015 at 6:32:00 AM UTC-4, Paul Canning wrote:
>>
>> I know you can download your default module code using "appcfg.py
>> download_app" and even a specific version of the default module.
>>
>> Nut is it possible to download the code of a MODULE?
>>
>> E.G I have the the default app, Website A. I thne have a module, which is
>> an entirely different site, Website B.
>>
>> The appcfg.py command will only let me download versions of Website A.
>>
>> Here is the usage:
>>
>> "Usage: appcfg.py [options] download_app -A app_id [ -V version ]
>> "
>>
>> See, no options for module.
>>
>> So, how can I download specific module code?
>>
> --
> 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/YOSxlbn-SbY/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/55cb7ed9-538d-4324-b389-f70a9790dafe%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/55cb7ed9-538d-4324-b389-f70a9790dafe%40googlegroups.com?utm_medium=email&utm_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/CAH%2B40aPxxFhsGDddBWNScJnbLyUTsNTeP2Rkgin9F0HJS6vpnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Download specific Module code?

2015-08-04 Thread Paul Canning
To add to this, here is the output is I try to target a Module name instead
of a project name (appcfg.py download_app -A "

04:05 PM Host: appengine.google.com
04:05 PM Fetching file list...
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u'').
--- end server output ---

On Tue, Aug 4, 2015 at 4:05 PM, Paul Canning  wrote:

> I think you have misunderstood. The download_app command ONLY downloads
> the default app engine module for a project.
>
> Example:
>
>
>- Project - top level, google Cloud Platform project
>- App Engine Apps
>  - Default "Module" - Website A (worpdress site)
> - Version 1
> - Version 2
> - etc
>  - 2nd "Module" - Website B (bespoke PHP site)
> - Version 1
> - Version 2
> - etc
>
> Now, if I did "appcfg.py download_app -A adgen-web-2015" This will ONLY
> download Website A. I can specify a version of Website A, but it will only
> ever be Website A.
>
> You CANNOT specify anyway to download Website B, left alone a version of
> it.
>
>
> On Tue, Aug 4, 2015 at 3:59 PM, Ryan (Cloud Platform Support) <
> rbruy...@google.com> wrote:
>
>> Salutations Paul,
>>
>> When you download code for a version it downloads all the modules in that
>> version. There is no need to specify a module.
>>
>> On Tuesday, August 4, 2015 at 6:32:00 AM UTC-4, Paul Canning wrote:
>>>
>>> I know you can download your default module code using "appcfg.py
>>> download_app" and even a specific version of the default module.
>>>
>>> Nut is it possible to download the code of a MODULE?
>>>
>>> E.G I have the the default app, Website A. I thne have a module, which
>>> is an entirely different site, Website B.
>>>
>>> The appcfg.py command will only let me download versions of Website A.
>>>
>>> Here is the usage:
>>>
>>> "Usage: appcfg.py [options] download_app -A app_id [ -V version ]
>>> "
>>>
>>> See, no options for module.
>>>
>>> So, how can I download specific module code?
>>>
>> --
>> 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/YOSxlbn-SbY/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/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> -
> Paul Canning
> [ software artist ]
> -
> [draw&code]
> digital creative studio
>
> +44 (0)151 329 0900
> Website <http://www.drawandcode.com/> / Twitter
> <https://twitter.com/DrawAndCode> / Facebook
> <https://www.facebook.com/drawandcode> / Vimeo
> <https://vimeo.com/drawandcode>
> -
>



-- 
-
Paul Canning
[ software artist ]
-
[draw&code]
digital creative studio

+44 (0)151 329 0900
Website <http://www.drawandcode.com/> / Twitter
<https://twitter.com/DrawAndCode> / Facebook
<https://www.facebook.com/drawandcode> / Vimeo
<https://vimeo.com/drawandcode>
-

-- 
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/CAH%2B40aM3%2BMrgx51Tq1AefPcLxWbs-MyHs-XNVwtCzG223sWS8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Download specific Module code?

2015-08-04 Thread Paul Canning
I think you have misunderstood. The download_app command ONLY downloads the
default app engine module for a project.

Example:


   - Project - top level, google Cloud Platform project
   - App Engine Apps
 - Default "Module" - Website A (worpdress site)
- Version 1
- Version 2
- etc
 - 2nd "Module" - Website B (bespoke PHP site)
- Version 1
- Version 2
- etc

Now, if I did "appcfg.py download_app -A adgen-web-2015" This will ONLY
download Website A. I can specify a version of Website A, but it will only
ever be Website A.

You CANNOT specify anyway to download Website B, left alone a version of it.


On Tue, Aug 4, 2015 at 3:59 PM, Ryan (Cloud Platform Support) <
rbruy...@google.com> wrote:

> Salutations Paul,
>
> When you download code for a version it downloads all the modules in that
> version. There is no need to specify a module.
>
> On Tuesday, August 4, 2015 at 6:32:00 AM UTC-4, Paul Canning wrote:
>>
>> I know you can download your default module code using "appcfg.py
>> download_app" and even a specific version of the default module.
>>
>> Nut is it possible to download the code of a MODULE?
>>
>> E.G I have the the default app, Website A. I thne have a module, which is
>> an entirely different site, Website B.
>>
>> The appcfg.py command will only let me download versions of Website A.
>>
>> Here is the usage:
>>
>> "Usage: appcfg.py [options] download_app -A app_id [ -V version ]
>> "
>>
>> See, no options for module.
>>
>> So, how can I download specific module code?
>>
> --
> 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/YOSxlbn-SbY/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/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-
Paul Canning
[ software artist ]
-
[draw&code]
digital creative studio

+44 (0)151 329 0900
Website <http://www.drawandcode.com/> / Twitter
<https://twitter.com/DrawAndCode> / Facebook
<https://www.facebook.com/drawandcode> / Vimeo
<https://vimeo.com/drawandcode>
-

-- 
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/CAH%2B40aNrt4X2oaZtR8my1tCacurC-xya7trywi0c-K4-s%3DC2qQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Download specific Module code?

2015-08-04 Thread Paul Canning
I know you can download your default module code using "appcfg.py 
download_app" and even a specific version of the default module.

Nut is it possible to download the code of a MODULE?

E.G I have the the default app, Website A. I thne have a module, which is 
an entirely different site, Website B.

The appcfg.py command will only let me download versions of Website A.

Here is the usage:

"Usage: appcfg.py [options] download_app -A app_id [ -V version ] "

See, no options for module.

So, how can I download specific module code?

-- 
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/a8eb8e77-2eaa-4dc1-aecc-18995c1271d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Billing issue

2015-08-03 Thread Paul Canning
Hi,

I have an outstanding bill to pay (due to a card being cloned and therefore 
cancelled) but I'd like to know if there is a way to pay the bill by 
assigning it to a new billing account, transferring the balance if you will.

I understand I can just pay the bill with a new card (I think!) but I'd 
like to assign it to the newly set up billing account (someone else is in 
charge of payments now, so a whole new billing account was made, rather 
then just change the card on the current account).

So, is this possible?

Or am I just going to have to pay the bill one off with the new billable 
accounts card?

-- 
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/18945943-0169-407a-9060-189e87e72d66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-29 Thread Paul Canning
I got it to work using the PHP executable path flag, but yea, would be nice
for it to work as it did previously!
On 29 Jul 2015 22:31, "Mars Lan"  wrote:

> I believe this is a known issue of gcloud. Please use the App Engine SDK
> for now: https://cloud.google.com/appengine/downloads
>
> On Tue, Jul 28, 2015 at 2:03 AM, Paul Canning 
> wrote:
>
>> Google Cloud SDK 0.9.70
>>
>> app 2015.07.16
>> app-engine-java 1.9.23
>> app-engine-python 1.9.23
>> app-engine-python-extras 1.9.21
>> bq 2.0.18
>> bq-win 2.0.18
>> core 2015.07.16
>> core-win 2015.06.02
>> gcloud 2015.07.16
>> gsutil 4.13
>> gsutil-win 4.12
>> preview 2015.07.16
>> windows-ssh-tools 2015.06.02
>>
>> On Tue, Jul 28, 2015 at 12:31 AM, Mars Lan  wrote:
>>
>>> What version of SDK are you using?
>>>
>>> On Mon, Jul 27, 2015 at 4:25 PM, Paul Canning 
>>> wrote:
>>>
>>>> I'll give it a go, but like I said, I've never used those flags before
>>>> and it's worked fine. Why all of a sudden do I need to use them?
>>>> On 28 Jul 2015 00:16, "Mars Lan"  wrote:
>>>>
>>>>> The documentation is a bit behind, but the corresponding flags are
>>>>> --php_executable_path & --php_gae_extension_path. They are automatically
>>>>> specified when running from the launcher, and you can see the exact 
>>>>> command
>>>>> from the log window.
>>>>>
>>>>> On Mon, Jul 27, 2015 at 4:11 PM, Paul Canning 
>>>>> wrote:
>>>>>
>>>>>> Can you link to any documentation?
>>>>>>
>>>>>> I've never had to do that before. I've always just ran
>>>>>> "dev_appserver.py app.yaml" and it worked.
>>>>>> On 28 Jul 2015 00:07, "Mars Lan"  wrote:
>>>>>>
>>>>>>> In the command line you'll need to point to the bundled PHP
>>>>>>> interpreter and GAE extension in order for things to work correctly.
>>>>>>>
>>>>>>> On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Sorry my reply was to the message above yours.
>>>>>>>>
>>>>>>>> I'll do a full break down tomorrow.
>>>>>>>>
>>>>>>>> Despite posting in the wrong place, has anyone got any insight on
>>>>>>>> this issue?
>>>>>>>> On 27 Jul 2015 22:21, "Nick (Cloud Platform Support)" <
>>>>>>>> pay...@google.com> wrote:
>>>>>>>>
>>>>>>>>> Hey Paul,
>>>>>>>>>
>>>>>>>>> It's great to provide that info. As I mentioned in my reply, I
>>>>>>>>> think this should move to stackoverflow, where you'll find a lot more
>>>>>>>>> people who can help. Be sure to include the full error message and 
>>>>>>>>> code
>>>>>>>>> context when you do so.
>>>>>>>>>
>>>>>>>>> Best wishes,
>>>>>>>>>
>>>>>>>>> Nick
>>>>>>>>>
>>>>>>>>> On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote:
>>>>>>>>>>
>>>>>>>>>> Windows 7, 64bit. Via terminal.
>>>>>>>>>>
>>>>>>>>>> This worked in the same dev environment just a week or so ago.
>>>>>>>>>>
>>>>>>>>>> And as mentioned, works flawlessly on my deployment module. Same
>>>>>>>>>> code, same PHP version.
>>>>>>>>>> On 27 Jul 2015 22:03, "Mars Lan"  wrote:
>>>>>>>>>>
>>>>>>>>>>> What OS are you running dev_appserver on? Are you using terminal
>>>>>>>>>>> or launcher?
>>>>>>>>>>>
>>>>>>>>>>> On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> The dev app server has started giving me the error:
>>>>>>>>>>>>
>>>>>>>>>>>> "Call to undefined function move_uploaded_file()"
>>>>>>>>>>>>
>>>>>>>>>>>> I am using this same function on a live module and it has
>>>>>>>>>>>> worked perfectly in the past on the dev server.
>>>>>>>>>>>>
>>>>>>>>>>>> I am using PHP 5.5, defined in the config yaml file.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>
>>>>>
>>>
>>
>>
>> --
>> -
>> Paul Canning
>> [ software artist ]
>> -
>> [draw&code]
>> digital creative studio
>>
>> +44 (0)151 329 0900
>> Website <http://www.drawandcode.com/> / Twitter
>> <https://twitter.com/DrawAndCode> / Facebook
>> <https://www.facebook.com/drawandcode> / Vimeo
>> <https://vimeo.com/drawandcode>
>> -
>>
>
>

-- 
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/CAH%2B40aOFzzOu0RPm9%3DuC2-%3DbwPOqdG2wnnzVL%3DXyLXa9jaR%2B%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-28 Thread Paul Canning
Google Cloud SDK 0.9.70

app 2015.07.16
app-engine-java 1.9.23
app-engine-python 1.9.23
app-engine-python-extras 1.9.21
bq 2.0.18
bq-win 2.0.18
core 2015.07.16
core-win 2015.06.02
gcloud 2015.07.16
gsutil 4.13
gsutil-win 4.12
preview 2015.07.16
windows-ssh-tools 2015.06.02

On Tue, Jul 28, 2015 at 12:31 AM, Mars Lan  wrote:

> What version of SDK are you using?
>
> On Mon, Jul 27, 2015 at 4:25 PM, Paul Canning 
> wrote:
>
>> I'll give it a go, but like I said, I've never used those flags before
>> and it's worked fine. Why all of a sudden do I need to use them?
>> On 28 Jul 2015 00:16, "Mars Lan"  wrote:
>>
>>> The documentation is a bit behind, but the corresponding flags are
>>> --php_executable_path & --php_gae_extension_path. They are automatically
>>> specified when running from the launcher, and you can see the exact command
>>> from the log window.
>>>
>>> On Mon, Jul 27, 2015 at 4:11 PM, Paul Canning 
>>> wrote:
>>>
>>>> Can you link to any documentation?
>>>>
>>>> I've never had to do that before. I've always just ran
>>>> "dev_appserver.py app.yaml" and it worked.
>>>> On 28 Jul 2015 00:07, "Mars Lan"  wrote:
>>>>
>>>>> In the command line you'll need to point to the bundled PHP
>>>>> interpreter and GAE extension in order for things to work correctly.
>>>>>
>>>>> On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning 
>>>>> wrote:
>>>>>
>>>>>> Sorry my reply was to the message above yours.
>>>>>>
>>>>>> I'll do a full break down tomorrow.
>>>>>>
>>>>>> Despite posting in the wrong place, has anyone got any insight on
>>>>>> this issue?
>>>>>> On 27 Jul 2015 22:21, "Nick (Cloud Platform Support)" <
>>>>>> pay...@google.com> wrote:
>>>>>>
>>>>>>> Hey Paul,
>>>>>>>
>>>>>>> It's great to provide that info. As I mentioned in my reply, I think
>>>>>>> this should move to stackoverflow, where you'll find a lot more people 
>>>>>>> who
>>>>>>> can help. Be sure to include the full error message and code context 
>>>>>>> when
>>>>>>> you do so.
>>>>>>>
>>>>>>> Best wishes,
>>>>>>>
>>>>>>> Nick
>>>>>>>
>>>>>>> On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote:
>>>>>>>>
>>>>>>>> Windows 7, 64bit. Via terminal.
>>>>>>>>
>>>>>>>> This worked in the same dev environment just a week or so ago.
>>>>>>>>
>>>>>>>> And as mentioned, works flawlessly on my deployment module. Same
>>>>>>>> code, same PHP version.
>>>>>>>> On 27 Jul 2015 22:03, "Mars Lan"  wrote:
>>>>>>>>
>>>>>>>>> What OS are you running dev_appserver on? Are you using terminal
>>>>>>>>> or launcher?
>>>>>>>>>
>>>>>>>>> On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote:
>>>>>>>>>>
>>>>>>>>>> The dev app server has started giving me the error:
>>>>>>>>>>
>>>>>>>>>> "Call to undefined function move_uploaded_file()"
>>>>>>>>>>
>>>>>>>>>> I am using this same function on a live module and it has worked
>>>>>>>>>> perfectly in the past on the dev server.
>>>>>>>>>>
>>>>>>>>>> I am using PHP 5.5, defined in the config yaml file.
>>>>>>>>>>
>>>>>>>>>
>>>>>
>>>
>


-- 
-
Paul Canning
[ software artist ]
-
[draw&code]
digital creative studio

+44 (0)151 329 0900
Website <http://www.drawandcode.com/> / Twitter
<https://twitter.com/DrawAndCode> / Facebook
<https://www.facebook.com/drawandcode> / Vimeo
<https://vimeo.com/drawandcode>
-

-- 
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/CAH%2B40aOh2Uwy6yH1fBxU2h%2BJKYabBujBuTKbj0njnw8E3PW7eQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-27 Thread Paul Canning
I'll give it a go, but like I said, I've never used those flags before and
it's worked fine. Why all of a sudden do I need to use them?
On 28 Jul 2015 00:16, "Mars Lan"  wrote:

> The documentation is a bit behind, but the corresponding flags are
> --php_executable_path & --php_gae_extension_path. They are automatically
> specified when running from the launcher, and you can see the exact command
> from the log window.
>
> On Mon, Jul 27, 2015 at 4:11 PM, Paul Canning 
> wrote:
>
>> Can you link to any documentation?
>>
>> I've never had to do that before. I've always just ran "dev_appserver.py
>> app.yaml" and it worked.
>> On 28 Jul 2015 00:07, "Mars Lan"  wrote:
>>
>>> In the command line you'll need to point to the bundled PHP interpreter
>>> and GAE extension in order for things to work correctly.
>>>
>>> On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning 
>>> wrote:
>>>
>>>> Sorry my reply was to the message above yours.
>>>>
>>>> I'll do a full break down tomorrow.
>>>>
>>>> Despite posting in the wrong place, has anyone got any insight on this
>>>> issue?
>>>> On 27 Jul 2015 22:21, "Nick (Cloud Platform Support)" <
>>>> pay...@google.com> wrote:
>>>>
>>>>> Hey Paul,
>>>>>
>>>>> It's great to provide that info. As I mentioned in my reply, I think
>>>>> this should move to stackoverflow, where you'll find a lot more people who
>>>>> can help. Be sure to include the full error message and code context when
>>>>> you do so.
>>>>>
>>>>> Best wishes,
>>>>>
>>>>> Nick
>>>>>
>>>>> On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote:
>>>>>>
>>>>>> Windows 7, 64bit. Via terminal.
>>>>>>
>>>>>> This worked in the same dev environment just a week or so ago.
>>>>>>
>>>>>> And as mentioned, works flawlessly on my deployment module. Same
>>>>>> code, same PHP version.
>>>>>> On 27 Jul 2015 22:03, "Mars Lan"  wrote:
>>>>>>
>>>>>>> What OS are you running dev_appserver on? Are you using terminal or
>>>>>>> launcher?
>>>>>>>
>>>>>>> On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote:
>>>>>>>>
>>>>>>>> The dev app server has started giving me the error:
>>>>>>>>
>>>>>>>> "Call to undefined function move_uploaded_file()"
>>>>>>>>
>>>>>>>> I am using this same function on a live module and it has worked
>>>>>>>> perfectly in the past on the dev server.
>>>>>>>>
>>>>>>>> I am using PHP 5.5, defined in the config yaml file.
>>>>>>>>
>>>>>>>
>>>
>

-- 
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/CAH%2B40aMQOyO7xxHcPKkfy-Vizvv1Kz1bH%3DqQyMz7o1Pnj28GBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-27 Thread Paul Canning
Can you link to any documentation?

I've never had to do that before. I've always just ran "dev_appserver.py
app.yaml" and it worked.
On 28 Jul 2015 00:07, "Mars Lan"  wrote:

> In the command line you'll need to point to the bundled PHP interpreter
> and GAE extension in order for things to work correctly.
>
> On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning 
> wrote:
>
>> Sorry my reply was to the message above yours.
>>
>> I'll do a full break down tomorrow.
>>
>> Despite posting in the wrong place, has anyone got any insight on this
>> issue?
>> On 27 Jul 2015 22:21, "Nick (Cloud Platform Support)" 
>> wrote:
>>
>>> Hey Paul,
>>>
>>> It's great to provide that info. As I mentioned in my reply, I think
>>> this should move to stackoverflow, where you'll find a lot more people who
>>> can help. Be sure to include the full error message and code context when
>>> you do so.
>>>
>>> Best wishes,
>>>
>>> Nick
>>>
>>> On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote:
>>>>
>>>> Windows 7, 64bit. Via terminal.
>>>>
>>>> This worked in the same dev environment just a week or so ago.
>>>>
>>>> And as mentioned, works flawlessly on my deployment module. Same code,
>>>> same PHP version.
>>>> On 27 Jul 2015 22:03, "Mars Lan"  wrote:
>>>>
>>>>> What OS are you running dev_appserver on? Are you using terminal or
>>>>> launcher?
>>>>>
>>>>> On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote:
>>>>>>
>>>>>> The dev app server has started giving me the error:
>>>>>>
>>>>>> "Call to undefined function move_uploaded_file()"
>>>>>>
>>>>>> I am using this same function on a live module and it has worked
>>>>>> perfectly in the past on the dev server.
>>>>>>
>>>>>> I am using PHP 5.5, defined in the config yaml file.
>>>>>>
>>>>>
>

-- 
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/CAH%2B40aOy_naAu2%3D1Bqi7yg0N%3DihzbmTtYZ1QU8814QTcKqF9sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-27 Thread Paul Canning
Sorry my reply was to the message above yours.

I'll do a full break down tomorrow.

Despite posting in the wrong place, has anyone got any insight on this
issue?
On 27 Jul 2015 22:21, "Nick (Cloud Platform Support)" 
wrote:

> Hey Paul,
>
> It's great to provide that info. As I mentioned in my reply, I think this
> should move to stackoverflow, where you'll find a lot more people who can
> help. Be sure to include the full error message and code context when you
> do so.
>
> Best wishes,
>
> Nick
>
> On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote:
>>
>> Windows 7, 64bit. Via terminal.
>>
>> This worked in the same dev environment just a week or so ago.
>>
>> And as mentioned, works flawlessly on my deployment module. Same code,
>> same PHP version.
>> On 27 Jul 2015 22:03, "Mars Lan"  wrote:
>>
>>> What OS are you running dev_appserver on? Are you using terminal or
>>> launcher?
>>>
>>> On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote:
>>>>
>>>> The dev app server has started giving me the error:
>>>>
>>>> "Call to undefined function move_uploaded_file()"
>>>>
>>>> I am using this same function on a live module and it has worked
>>>> perfectly in the past on the dev server.
>>>>
>>>> I am using PHP 5.5, defined in the config yaml file.
>>>>
>>>

-- 
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/CAH%2B40aMoMugspHFv1PrjTNcxZVjPvkqkeEGkfwiYQy4mh%2BhSmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-27 Thread Paul Canning
Windows 7, 64bit. Via terminal.

This worked in the same dev environment just a week or so ago.

And as mentioned, works flawlessly on my deployment module. Same code, same
PHP version.
On 27 Jul 2015 22:03, "Mars Lan"  wrote:

> What OS are you running dev_appserver on? Are you using terminal or
> launcher?
>
> On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote:
>>
>> The dev app server has started giving me the error:
>>
>> "Call to undefined function move_uploaded_file()"
>>
>> I am using this same function on a live module and it has worked
>> perfectly in the past on the dev server.
>>
>> I am using PHP 5.5, defined in the config yaml file.
>>
>

-- 
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/CAH%2B40aNchBO6uQKWSYdptTW9uyCrdbVQWSYh5AW2-5XzDcY07Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Dev App server giving error "Call to undefined function move_uploaded_file()"

2015-07-27 Thread Paul Canning
The dev app server has started giving me the error:

"Call to undefined function move_uploaded_file()"

I am using this same function on a live module and it has worked perfectly 
in the past on the dev server.

I am using PHP 5.5, defined in the config yaml file.

-- 
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/9ace9601-59aa-4c65-b764-8279aa5a8f86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Have you had success with Traffic Splitting? How do you use it to roll out new versions?

2015-07-24 Thread Paul Canning
Any word on when we can use it with non-default modules?

On Tuesday, July 21, 2015 at 6:53:17 PM UTC+1, David Hardwick wrote:
>
> Hello,
>
> We haven't used Traffic Splitting yet but it has been an available feature 
> for a while and rumor has it that traffic splitting for non-default modules 
> could be coming in as soon as a month.  
>
> Any who, if you have experience use it, then I would like to hear how you 
> are using it to roll out new features or versions.  I've heard the term 
> 'canary' testing where you roll out a new version to 10% of folks...you 
> measure the results and then either rollback and fully roll it out.  So if 
> anyone is doing 'canary' testing and deployments as I've described it, then 
> I've like to hear from you.
>
> Thanks in advance,
>   Hardwick
>

-- 
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/7910bd97-7694-4363-a52a-f58227160605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron - targeting a particular version of a particular module

2015-07-24 Thread Paul Canning
to add, my above answer only works for cron.yaml

On Wednesday, July 22, 2015 at 3:59:48 PM UTC+1, Paul Canning wrote:
>
> Wait, I got it. You can target the versions using the format:
>
> version-dot-module
>
> e.g. 1-5-dot-main-module
>
> On Wednesday, July 22, 2015 at 3:53:36 PM UTC+1, Paul Canning wrote:
>>
>> I am facing a similar issue.
>>
>> Firstly, how do you target a specific version of a module in the 
>> dispatch.yaml? The docs only talk about modules.
>>
>> Secondly, is there anyway to use more then 10 dispatch rules? I have 
>> already had to use 5 for routing subdomains (unless there is another way to 
>> achieve this?)
>>
>> On Tuesday, April 7, 2015 at 6:55:29 PM UTC+1, Shobhit wrote:
>>>
>>> Hi Dawid.
>>>
>>> First thing in cron.yaml, you are supposed to use version or module in 
>>> the target parameter. If you wish to target the cron job for a particular 
>>> version and module you can use the dispatch.yaml as described by Vinny in 
>>> the previous messages.
>>>
>>> On Thursday, February 20, 2014 at 12:29:04 PM UTC-5, Dawid wrote:
>>>>
>>>> Hi all,
>>>>
>>>> How can have a cron job target a particular version of a particular 
>>>> module? I've tried:
>>>> *target: version.module*
>>>>
>>>> Unfortunately, appcfg.py won't accept it:
>>>> *Unable to assign value 'debug.reports' to attribute 'target':*
>>>> *Value 'debug.reports' for target does not match expression 
>>>> '^(?:^(?:(?:((?!-)[a-z\d\-]{1,63}):)?)((?!-)[a-z\d\-]{1,100})$)$'*
>>>> *  in "./cron.yaml", line 34, column 11*
>>>>
>>>> Many thanks,
>>>> Dawid
>>>>
>>>

-- 
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/c4428102-c19b-4551-ab70-a873e33377b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Idle Dynamic Instance

2015-07-24 Thread Paul Spychala
version: 2runtime: python27 api_version: 1threadsafe: true handlers: - url: 
.. lots of handlers- url: /.* script: main_controller.app 
libraries:- name: webapp2 version: 2.5.2 - name: jinja2 version: 2.6
There really isn't anything here worth mentioning, its all default



On Thursday, July 23, 2015 at 6:50:07 PM UTC-4, Patrice (Cloud Platform 
Support) wrote:
>
> Hi Paul,
>
> Do you mind including your yaml? The scaling you're using (you say 
> "default Module settings", but I'd like to make 100% sure about them). It's 
> possible, with an average of 55,5 ms latency, that the system decided to 
> spin up a new instance because it didn't want that number to go higher.
>
> Automatic scaling does have a tendency to aggressively scale and spin up 
> instances preventively. You have to understand that it assumes your app to 
> grow in requests, so if it sees that all of a sudden, an instance receives 
> 100 requests, the system will assume that your instance will continue to 
> get MORE (so 100 in a minute means that, in 5 minutes, you'll be receiving 
> 500 requests a minute), and spins up more instances to accommodate the load.
>
> You can read more about this here 
> <https://cloud.google.com/appengine/docs/python/modules/#Python_Instance_scaling_and_class>,
>  
> and with your yaml, I may be able to give you more information as to what 
> exactly happened, but if you're using the automatic scaling, chances are 
> this is the culprit here.
>
> Cheers!
>
> On Thursday, July 23, 2015 at 11:59:12 AM UTC-4, Paul Spychala wrote:
>>
>> App Engine ReleaseTotal number of instancesAverage QPS*Average 
>> Latency*Average 
>> Memory1.9.242 total9.01055.5 ms64.0 MBytes*Instances *[image: help] 
>> <https://developers.google.com/appengine/docs/adminconsole/instances>QPS*
>> Latency*RequestsErrorsAgeMemoryApp Engine ReleaseLogsAvailabilityShutdown
>> 0..0 ms2802:52:0156.8 MBytes1.9.24View Logs 
>> <https://appengine.google.com/logs?app_id=s~scienceslides-hrd&version_id=2.385878376140368174&severity_level_override=1&severity_level=3&filter=instance%3D00c61b117cfc3834f150e0dcaa4720ecc4ce6f11&filter_type=regex&date_type=now&limit=20&view=Search>[image:
>>  
>> Dynamic Icon]Dynamic17.71355.5 ms5394314:56:0571.1 MBytes1.9.24View Logs 
>> <https://appengine.google.com/logs?app_id=s~scienceslides-hrd&version_id=2.385878376140368174&severity_level_override=1&severity_level=3&filter=instance%3D00c61b117c2dd49f502fb8ddf440d37a902d1a7e&filter_type=regex&date_type=now&limit=20&view=Search>[image:
>>  
>> Dynamic Icon]Dynamic
>>
>> * QPS and latency values are an average over the last minute.
>>
>> I get many days where there seems to be a idle Dynamic instance thats 
>> hardly doing any work thats eatting into my instance-hours. I use the 
>> default Module settings and don't have anything else customized, so is 
>> there a good way to check why this happens? I'm fine if an instance starts 
>> up when traffic spikes however ~28 requests doesn't feel like a traffic 
>> spike to me.
>>
>

-- 
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/c21c20ac-ba65-4352-a86e-9cf7cc72130f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Idle Dynamic Instance

2015-07-23 Thread Paul Spychala
App Engine ReleaseTotal number of instancesAverage QPS*Average Latency*Average 
Memory1.9.242 total9.01055.5 ms64.0 MBytes*Instances *[image: help] 
QPS*
Latency*RequestsErrorsAgeMemoryApp Engine ReleaseLogsAvailabilityShutdown
0..0 ms2802:52:0156.8 MBytes1.9.24View Logs 
[image:
 
Dynamic Icon]Dynamic17.71355.5 ms5394314:56:0571.1 MBytes1.9.24View Logs 
[image:
 
Dynamic Icon]Dynamic

* QPS and latency values are an average over the last minute.

I get many days where there seems to be a idle Dynamic instance thats 
hardly doing any work thats eatting into my instance-hours. I use the 
default Module settings and don't have anything else customized, so is 
there a good way to check why this happens? I'm fine if an instance starts 
up when traffic spikes however ~28 requests doesn't feel like a traffic 
spike to me.

-- 
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/39b17055-4faf-4d05-9934-86ac0a5dca8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron - targeting a particular version of a particular module

2015-07-22 Thread Paul Canning
Wait, I got it. You can target the versions using the format:

version-dot-module

e.g. 1-5-dot-main-module

On Wednesday, July 22, 2015 at 3:53:36 PM UTC+1, Paul Canning wrote:
>
> I am facing a similar issue.
>
> Firstly, how do you target a specific version of a module in the 
> dispatch.yaml? The docs only talk about modules.
>
> Secondly, is there anyway to use more then 10 dispatch rules? I have 
> already had to use 5 for routing subdomains (unless there is another way to 
> achieve this?)
>
> On Tuesday, April 7, 2015 at 6:55:29 PM UTC+1, Shobhit wrote:
>>
>> Hi Dawid.
>>
>> First thing in cron.yaml, you are supposed to use version or module in 
>> the target parameter. If you wish to target the cron job for a particular 
>> version and module you can use the dispatch.yaml as described by Vinny in 
>> the previous messages.
>>
>> On Thursday, February 20, 2014 at 12:29:04 PM UTC-5, Dawid wrote:
>>>
>>> Hi all,
>>>
>>> How can have a cron job target a particular version of a particular 
>>> module? I've tried:
>>> *target: version.module*
>>>
>>> Unfortunately, appcfg.py won't accept it:
>>> *Unable to assign value 'debug.reports' to attribute 'target':*
>>> *Value 'debug.reports' for target does not match expression 
>>> '^(?:^(?:(?:((?!-)[a-z\d\-]{1,63}):)?)((?!-)[a-z\d\-]{1,100})$)$'*
>>> *  in "./cron.yaml", line 34, column 11*
>>>
>>> Many thanks,
>>> Dawid
>>>
>>

-- 
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/f6077981-8696-43e3-9262-db8eccbf7d8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron - targeting a particular version of a particular module

2015-07-22 Thread Paul Canning
I am facing a similar issue.

Firstly, how do you target a specific version of a module in the 
dispatch.yaml? The docs only talk about modules.

Secondly, is there anyway to use more then 10 dispatch rules? I have 
already had to use 5 for routing subdomains (unless there is another way to 
achieve this?)

On Tuesday, April 7, 2015 at 6:55:29 PM UTC+1, Shobhit wrote:
>
> Hi Dawid.
>
> First thing in cron.yaml, you are supposed to use version or module in the 
> target parameter. If you wish to target the cron job for a particular 
> version and module you can use the dispatch.yaml as described by Vinny in 
> the previous messages.
>
> On Thursday, February 20, 2014 at 12:29:04 PM UTC-5, Dawid wrote:
>>
>> Hi all,
>>
>> How can have a cron job target a particular version of a particular 
>> module? I've tried:
>> *target: version.module*
>>
>> Unfortunately, appcfg.py won't accept it:
>> *Unable to assign value 'debug.reports' to attribute 'target':*
>> *Value 'debug.reports' for target does not match expression 
>> '^(?:^(?:(?:((?!-)[a-z\d\-]{1,63}):)?)((?!-)[a-z\d\-]{1,100})$)$'*
>> *  in "./cron.yaml", line 34, column 11*
>>
>> Many thanks,
>> Dawid
>>
>

-- 
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/744146ed-8d8f-45ae-b97f-59142a21fc8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot use appcfg.py

2015-07-18 Thread Shantanu Paul
I am using the latest Google App Engine SDK for Python.
I believe the issue is exactly the same as it is resolved with using full 
paths to both python binary as well as appcfg.py as posted in a comment in 
one of the questions.

I'll try with the gcloud SDK and post the results.

On Wednesday, July 15, 2015 at 12:44:34 AM UTC+5:30, Patrice (Cloud 
Platform Support) wrote:
>
> Hi
>
> Just to point it out, I think that the two stack overflow posts you link 
> are not exactly relevant to your issue, as they are 2 and 4 year old 
> respectively. I don't believe the appcfg.py tool has been broken for that 
> long.
>
> Did you update to gcloud or are you staying on the php standalone SDK on 
> purpose? Because earlier this week we deprecated the standalone SDKs to 
> move to gcloud. 
>
> I'd test with a fresh python install and the newest gcloud version, making 
> sure there's NOTHING "polluting" your PATH, so to speak.
>
> Cheers
>
> On Tuesday, July 14, 2015 at 3:06:25 AM UTC-4, Shantanu Paul wrote:
>>
>> Some other users facing the same issue: 
>> http://stackoverflow.com/questions/5603193/google-app-engine-appcfg-py-shows-the-help-message-for-every-command
>>
>> http://stackoverflow.com/questions/17649402/appcfg-py-outputs-help-on-any-action
>>
>

-- 
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/4a60ad3e-5a99-46ae-9ccb-1cd05d24b2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot use appcfg.py

2015-07-14 Thread Shantanu Paul
Some other users facing the same 
issue: 
http://stackoverflow.com/questions/5603193/google-app-engine-appcfg-py-shows-the-help-message-for-every-command
http://stackoverflow.com/questions/17649402/appcfg-py-outputs-help-on-any-action

-- 
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/37bd94df-2cd4-4369-80e6-0d76d413cb32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cannot use appcfg.py

2015-07-14 Thread Shantanu Paul
Running appcfg.py in CMD with any options and actions causes the standard 
help commands to be displayed and the action is not performed.

I am trying to rollback update as it got stuck during deployment. So 
running "appcfg.py rollback" gives:

Usage: appcfg.py [options] 




I am using Python 2.7.9 and latest version of Appengine SDK for 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/9063efff-273d-446b-ac98-79521c783323%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Naked domain has stopped working

2015-04-21 Thread Paul Canning
It was not a Google error page, just a simple browser error page.

However, a few hours later, it seems to have come back.

I'm guessing it may have been due to an update in progress at the time?

Seems OK for now.

On Tuesday, April 21, 2015 at 5:19:07 AM UTC+1, Vinny P wrote:
>
> On Mon, Apr 20, 2015 at 11:12 AM, Paul Canning  > wrote:
>
>> I have just checked today and it seems like the naked domain for my app 
>> is no longer working.
>> Has anything changed in the past few days about naked domains?
>>
>
>
> Can you screenshot the error page? Is it a standard Google-branded error 
> page, or does it come from somewhere else? Can you look up the response 
> headers and see what they say?
>  
>  
> -
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.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/64863f1b-81c7-4672-acdc-828701591bc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Naked domain has stopped working

2015-04-20 Thread Paul Canning
I have just checked today and it seems like the naked domain for my app is 
no longer working.

Previously, I could go to http://mydomain.com and it would load up 
http://www.mydomain.com (this isn't my actual domain!)

BUT, now, going to http://mydomain.com simply shows "This web page is not 
available"

Has anything changed in the past few days about naked domains?

-- 
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/d252a7fe-0929-4c55-8aa1-b171e44f6d5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Modules and GAE Launcher (PHP)

2015-04-17 Thread Paul Canning
Not really the solution I was after, but ho-hum.

On Thursday, April 16, 2015 at 11:48:53 PM UTC+1, Mars Lan wrote:
>
> If you really want precise control over the loading order, please run 
> dev_appserver directly from command line.
>
> On Thursday, April 16, 2015 at 1:55:50 AM UTC-7, Paul Canning wrote:
>>
>> Why assume I'm on Mac?
>>
>> I'm on Windows 7.
>>
>> I got it to work by typing in the full file path, but it likes to load 
>> the secondary module first, which I feel is wrong. 
>>
>> Settings defined as extra flags should be loaded after the default module.
>>
>> If I try and put the default module in the flags, before the second 
>> module, it fails.
>> On 15 Apr 2015 21:37, "Mars Lan"  wrote:
>>
>>> I assume you're on Mac? Is so, you should be able to set the "Extra 
>>> Flags" to /absolute/path/to/your/module.yaml and expect it to work. 
>>>
>>> On Wednesday, April 15, 2015 at 7:19:49 AM UTC-7, Paul Canning wrote:
>>>>
>>>> Any help with this?
>>>>
>>>> Still can't get it to work
>>>>
>>>> On Thursday, April 9, 2015 at 11:58:36 AM UTC+1, Paul Canning wrote:
>>>>>
>>>>> I tried the following in the Launch Settings:
>>>>>
>>>>> module_dir/module_config.yaml
>>>>> module_dir
>>>>> /module_dir
>>>>> /module_dir/module_config.yaml
>>>>>
>>>>> Nothing works.
>>>>>
>>>>  -- 
>>> 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/7B4UnbkBvPg/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com?utm_medium=email&utm_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/9925ae96-0e64-4f48-99f0-0d65acc9806d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to dispatch to a specific version of a module?

2015-04-17 Thread Paul Canning
Is there a way to route URLs, Tasks or CRON jobs to specific module 
versions?

E.g in dispatch.yaml

- url: "*/mobile/*"
  module: mobile

Say I have two versio n of the mobile module, alpha and beta.

Can I specify to send the request to alpha mobile module?

Or will it always send it to the default version (set in the dashboard)?

-- 
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/c0c8cd7d-d626-4b66-869e-d133efe0dbdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Modules and GAE Launcher (PHP)

2015-04-16 Thread Paul Canning
Why assume I'm on Mac?

I'm on Windows 7.

I got it to work by typing in the full file path, but it likes to load the
secondary module first, which I feel is wrong.

Settings defined as extra flags should be loaded after the default module.

If I try and put the default module in the flags, before the second module,
it fails.
On 15 Apr 2015 21:37, "Mars Lan"  wrote:

> I assume you're on Mac? Is so, you should be able to set the "Extra Flags"
> to /absolute/path/to/your/module.yaml and expect it to work.
>
> On Wednesday, April 15, 2015 at 7:19:49 AM UTC-7, Paul Canning wrote:
>>
>> Any help with this?
>>
>> Still can't get it to work
>>
>> On Thursday, April 9, 2015 at 11:58:36 AM UTC+1, Paul Canning wrote:
>>>
>>> I tried the following in the Launch Settings:
>>>
>>> module_dir/module_config.yaml
>>> module_dir
>>> /module_dir
>>> /module_dir/module_config.yaml
>>>
>>> Nothing works.
>>>
>>  --
> 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/7B4UnbkBvPg/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/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com?utm_medium=email&utm_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/CAH%2B40aPQzn2-wK6kXQG-5rSiXk7jgU%2BfMa5WVbK8pgnfYVMqhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Modules and GAE Launcher (PHP)

2015-04-15 Thread Paul Canning
Any help with this?

Still can't get it to work

On Thursday, April 9, 2015 at 11:58:36 AM UTC+1, Paul Canning wrote:
>
> I tried the following in the Launch Settings:
>
> module_dir/module_config.yaml
> module_dir
> /module_dir
> /module_dir/module_config.yaml
>
> Nothing works.
>

-- 
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/a911a0a6-a11a-4841-ba4d-96d026e0a454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Modules and GAE Launcher (PHP)

2015-04-09 Thread Paul Canning
I tried the following in the Launch Settings:

module_dir/module_config.yaml
module_dir
/module_dir
/module_dir/module_config.yaml

Nothing works.

-- 
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/4d0e3e4e-6337-41c6-87e2-237f8471933f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Modules and GAE Launcher (PHP)

2015-04-09 Thread Paul Canning
What exactly do I need to type into the extra settings box?

Would be nice to have this documented somewhere

On Wednesday, April 8, 2015 at 8:59:09 PM UTC+1, Mars Lan wrote:
>
> From https://cloud.google.com/appengine/docs/php/modules/#devserver
>
> Likewise, if you use the GoogleAppEngineLauncher application, open the 
> Application Settings window and add the list of modules to the Launch 
> Settings Extra Flags field.
>
> On Wednesday, April 8, 2015 at 3:35:38 AM UTC-7, Paul Canning wrote:
>>
>> I am unable to figure out how you use modules with the GAE launcher (PHP 
>> version).
>>
>> Is it even possible?
>>
>> I can use local modules by using the dev_appserver.py command line tool, 
>> but I'd like to control it with the launcher.
>>
>> I have added my main app, which is the default module, and then tried to 
>> add another application, but it says there is no app.yaml file (because it 
>> is a module, so its named differently). I can't see any options for 
>> modules...
>>
>

-- 
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/ffd00870-556e-416e-8aae-453de26298ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Managing your App Engine solution from your mobile device

2015-04-08 Thread Paul Canning
Will there be apps for the Play Store Console and Cast Console?

On Tuesday, April 7, 2015 at 8:20:32 PM UTC+1, Michael Thomsen (Google 
Inc.) wrote:
>
> We recently announced the beta of Cloud Console for Android, and I wanted 
> to make sure everyone here was aware of that. Details here:
>
> http://googlecloudplatform.blogspot.com/2015/03/manage-Google-Cloud-Platform-on-the-go-with-Cloud-Console-for-Android.html
>
> If you have feedback please send a quick note to android-cl...@google.com 
> 
>
> Regards, Michael Thomsen
>

-- 
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/d6e49db1-18bf-4e9e-b565-4dbee92cb25d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Modules and GAE Launcher (PHP)

2015-04-08 Thread Paul Canning
I am unable to figure out how you use modules with the GAE launcher (PHP 
version).

Is it even possible?

I can use local modules by using the dev_appserver.py command line tool, 
but I'd like to control it with the launcher.

I have added my main app, which is the default module, and then tried to 
add another application, but it says there is no app.yaml file (because it 
is a module, so its named differently). I can't see any options for 
modules...

-- 
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/b63e8cf6-684e-4d00-af88-29aa7e153372%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: More Quota issues

2015-04-02 Thread Paul Canning
>From what I understood, under the free trial, anything above the free daily
quota would be taken from the $300 credit. (with budget set to 0, which was
the default. Again, in the trial, I assumed this value didn't matter at
all)

Under the free trial, we went over a quota (instance hours I think) but the
quota details page never showed anything on the new dashboard BUT there was
a message on the old dashboard!

I've never had a quota issue since turning to full billing, as if we hit
the quota, with the budget set, that's OK. But I'm sure the quota details
page doesn't really give you any proper feedback, with it saying "okay"
despite being over or close to the quota limit.
On 2 Apr 2015 20:13, "Patrice"  wrote:

> Even with billing enabled, if your daily budget is at 0, you will have the
> same problem. Can you confirm if the daily budget is setup to a number and
> not fully filled?
>
> The dashboard won't show errors if the problem is billing-related
>
> --
> 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/uDAFdgFy_lg/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/614e889f-88aa-40eb-a179-e92711c59d4c%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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAH%2B40aOpuCsSPDLLynr90N%2Be5_LwEjZnLcFUJPcUsGd9dwFXtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: More Quota issues

2015-04-01 Thread Paul Canning
We hit issues using the free trial, and had plenty of credit. Also, all
quotas in the dashboard said OK.

We have now turned on full billing.
On 1 Apr 2015 18:07, "Patrice"  wrote:

> Hey Paul.
>
> From the way you speak, it seems like it might be a daily budget that's
> not sufficient. Once you hit that limit, all quotas return errors.
> Could you try increasing it and then letting us know?
>
> Thanks
>
> On Monday, March 23, 2015 at 10:12:54 AM UTC-4, Paul Canning wrote:
>>
>> Yet again I am getting the 503 Over Quota message, despite all my quota
>> report being OK.
>>
>> Currently, my mail quota has gone over, due to testing some CRON jobs,
>> but now, with mail disabled, I am unable to access any of my application.
>>
>> I have attached 2 screen shots to show that all but my mail quotas are OK
>>
>> So what's the deal? Once any one quota is over, I can't use anything?!
>>
>  --
> 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/uDAFdgFy_lg/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/1a5f556f-6548-483e-8413-ed19313b9cac%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/1a5f556f-6548-483e-8413-ed19313b9cac%40googlegroups.com?utm_medium=email&utm_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/CAH%2B40aMuuZKp8G1zEu2KqVBTPm%3DsJU28qf0QxDUX3SHThyTNNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Urgent caching issues

2015-03-27 Thread Paul Canning
I am getting serious caching issues with GAE PHP that I need to resolve.

I have set headers in the PHP script to:

$this->output->set_header("Cache-Control: no-store, no-cache, 
must-revalidate, max-age=0");
$this->output->set_header("Pragma: no-cache");
$this->output->set_header("Access-Control-Allow-Origin: *");
 (in CodeIgniter)

And I have deployed the app, but I am getting an erroneous cached output 
when I hit the URL.

My file changes simply are not being updated.

How do I disable the cache for a module, or simply wipe the app engine 
cache?

I really need my file changes to be reflected!

-- 
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/8ad5ef26-1996-4201-94ef-0fe045b5e379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to redirect a URL (static directory file) to an object in GCS?

2015-03-25 Thread Paul Canning
I have a static file in my app that ideally needs to sit in a bucket in GCS.

Unfortunately, there are old references to the direct URL, so I am unable 
to use the GCS public URL.

How can I redirect (think htaccess 301) the static file URL to the GCS 
object URL?

Example:

http://www.domain.com/folder/file.zip > 
http://storage.googleapis.com/bucket-name/file.zip

-- 
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/94e5b22d-6214-4b6b-872a-8d3705cf1592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Dashboard show old/renamed modules

2015-03-24 Thread Paul Canning
I have some modules that I renamed to better names for organisation 
purposes.

In the dashboard, the old name are still showing in the drop down. How can 
I remove them?

-- 
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/eddff3b9-ef9c-4705-9331-fd0877507bc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom Domain DNS setup changed, probably

2015-03-24 Thread Paul Canning
I was under the impression naked domain don't work now. 

I recently setup app engine and added a custom domain. The naked domain doesn't 
work alone, and I had to add the "www" sub domain. 

-- 
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/583a9f77-3af3-40a2-b5da-575f7a10caf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Cloud Storage caching files despite disabling cache

2015-03-23 Thread Paul Canning
"enable_cache has nothing to do with the Cache-Control headers"

I get this. I fully understand they are two different things.

Again, I tried setting both, first one, then the other, then both. In all 
cases my objects were being cached.

On Sunday, March 22, 2015 at 2:42:15 AM UTC, Stuart Langley wrote:
>
> As Mars mentioned, enable_cache has nothing to do with the Cache-Control 
> headers that are used when serving objects from Google Cloud Storage.
>
> If controls the read-through cache that is used internally inside of app 
> engine.
>
> On Saturday, 21 March 2015 14:41:57 UTC-7, Paul Canning wrote:
>>
>> Again I understand, but it was still caching with it set to false
>
>

-- 
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/d937b6d0-7ea0-49e2-b511-0ce63d793a5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Unable to use gsutil despite doing authentication steps

2015-03-23 Thread Paul Canning
Turns out it was due to a current bug where you can't run it from any
driver other then C:
On 23 Mar 2015 06:40, "Vinny P"  wrote:

> Hi Paul,
>
> After you authenticate, can you look in gsutil's config file and see if
> any changes were made? If you move the configuration file setting, does it
> start to work? Here's how to locate the config file:
> https://cloud.google.com/storage/docs/gsutil/commands/config#configuration-file-selection-procedure
>
>
>
> -
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>
>
> On Fri, Mar 20, 2015 at 7:08 AM, Paul Canning 
> wrote:
>
>> As per the title, I am unable to use gsutil CLI despite running "gcloud
>> auth login" and trying "gsutil config"
>>
>> It seems to let me authenticate, but when I try to run a command such as
>> "gsutil ls" I get:
>>
>> You are attempting to access protected data with no configured
>>> credentials. Please visit https://cloud.google.com/console#/project
>>> and sign up for an account, and then run the "gcloud auth login"
>>> command to configure gsutil to use these credentials.
>>
>>
>> But these steps I've already done.
>>
>
>
>
>
> --
> 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/0a_opNjZ5ZY/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/CALSvALDkG_OA511gA6WJgUo9qM3T_%2BPiUvEiYLHFerxyzj4qzA%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CALSvALDkG_OA511gA6WJgUo9qM3T_%2BPiUvEiYLHFerxyzj4qzA%40mail.gmail.com?utm_medium=email&utm_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/CAH%2B40aNV5mqa9R_bbTGh3r3FLSydiNpJ7%3D-sFcENV0fGKs%3D_Xg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Cloud Storage caching files despite disabling cache

2015-03-21 Thread Paul Canning
Again I understand, but it was still caching with it set to false

-- 
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/6470ca8c-42b1-4269-9ed9-2a66f1511e42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Error 302 with Tasks in CodeIgniter

2015-03-21 Thread Paul Canning
I am trying to get some Tasks working with Codegniter, but they simply fail 
after being added to the queue, with Error 302.

You can read here for more info:

http://stackoverflow.com/questions/29077055/gae-task-queues-and-error-302-app-error

I am thinking its due to how CI uses routes and controllers, but I have no 
clue how to fix the issue.

-- 
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/38741f43-d159-41cc-b047-1e02c754798f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   >