Re: [google-appengine] How to manage app-engine app development and testing

2015-04-15 Thread Naresh Pokuri
Sure, will try the approach stated in SO. Thanks

On Thursday, 16 April 2015 03:44:23 UTC+5:30, Vinny P wrote:
>
> On Wed, Apr 15, 2015 at 9:31 AM, Naresh Pokuri  > wrote:
>
>> Now we are planing develop migrate to app-engine using datastore. With 
>> this each team member will have his own datastore in local. How a team can 
>> share the same datastore to continue with the development. Is there a way?
>>
>
>
> There are many different ways to set this up. For instance, you could 
> prefix *kind* names with team member names - an entity with a *kind* of 
> *guestbook* could become *joesmith_guestbook* as one example.
>
> Probably the easiest way would be to set up namespaces: 
> https://cloud.google.com/appengine/docs/java/multitenancy/ . A namespace 
> partitions data so that it is available in particular contexts that you can 
> define. This SO answer provides more information about namespaces if you're 
> interested: http://stackoverflow.com/a/17187656
>
>  
> -
> -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/fbe14670-0404-433e-8dc2-642b1b0999b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Can appengine-maven-plugin detect endpoints from jar file?

2015-04-15 Thread Naresh Pokuri
I am just doing mvn clean install, which will 
trigger appengine-maven-plugin goal 'endpoints_get_discovery_doc'. This is 
working if I place endpoint in same project instead of a jar.

On Thursday, 16 April 2015 03:38:17 UTC+5:30, Vinny P wrote:
>
> On Wed, Apr 15, 2015 at 9:28 AM, Naresh Pokuri  > wrote:
>
>>
>> [INFO] Google App Engine Java SDK - get endpoints discovery doc...[INFO] No 
>> Endpoints classes detected.
>>
>> though there is a endpoint. How could I tell appengine-maven-plugin to 
>> look into jar files for endpoints.
>>
>
>
> What command are you using to launch maven to build?
>  
>  
> -
> -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/d71170f6-3056-4bcd-9dac-378eefbe70c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 1.9.19 raised string property limit from 500 to 1500 chars

2015-04-15 Thread David Gay


On Wednesday, April 15, 2015 at 8:09:02 AM UTC-7, Ryan Barrett wrote:
>
> looks like yesterday's 1.9.19 release raised the limit on string 
> properties in the datastore from 500 to 1500 chars. awesome!
>

1500 UTF-8 bytes actually (not to be confused with other ways of measuring 
string length).
 

>
> from google/appengine/api/datastore_types.py:
>
> _MAX_STRING_LENGTH = 1500
>
> tested in https://shell-27.appspot.com/ :
>
> >>> from google.appengine.ext import db
> >>> class Foo(db.Expando):
>   pass
> >>> key = Foo(long='x'*1490).put()
> >>> foo = Foo.get(key)
> >>> len(foo.long)
> 1490
>
> app engine team, might be worth adding this to the release notes and docs?
>
> https://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
> https://cloud.google.com/appengine/docs/python/ndb/properties#types
>
>

-- 
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/9e9b7d13-8dac-4cee-895d-fcc32aff8cb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google App Engine SDK version 1.9.19 is now available

2015-04-15 Thread Sarah Murphy


Greetings! The latest version of the Google App Engine SDK is now available 
and available for download here. 


New features and bugfixes:

*All*

   - appcfg now outputs a warning if OAuth2 is not used for authentication 
   when deploying or managing an application. OAuth2 will become the default 
   in the 1.9.20 release.
   - Many Admin Console pages now redirect to the Developer Console. Users 
   may still choose to return to the Admin Console.
   - App creation feature is now disabled on the Admin Console. Users will 
   need to create Cloud Projects in the Developer Console.
   - Removed Memcache top keys report by ops rate. Users still have access 
   to Memcache top keys report by MCU (Memcache unit)
   - Increased indexed string and blob length limits to 1500 bytes.

*Managed VMs*

   - Added ability to specify the GCE network in which to create managed 
   VMs. If unspecified, the 'default' network is used.

*Python*

   - Fixed a bug in Dev App server that prevented Google Cloud Endpoints 
   APIs from accepting gzipped responses in local testing.
  - https://code.google.com/p/googleappengine/issues/detail?id=9140
   - Updated Openssl to v1.0.1l

*PHP*

   - Updated Openssl to v1.0.1l
   - The following headers can be set when writing objects to Google Cloud 
   Storage: 'Cache-Control', 'Content-Disposition', 'Content-Encoding', 
   'Content-Language', and 'Content-Type'
  - https://code.google.com/p/googleappengine/issues/detail?id=11651
   - Fixed misleading filesystem errors due to the read-only production 
   filesystem
   - Enabled stat cache for Google Cloud Storage
   - Removed the glob:// stream wrapper

-- 
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/1cccae7d-48da-4b94-8e3e-2a5b81ac2ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: how to use paho.mqtt library in google app engine to publish as well as subscribe for messages

2015-04-15 Thread Vinny P
On Wed, Apr 15, 2015 at 1:45 AM, krishna g  wrote:

> As you are saying that listener socket is not supported in google app
> engine environment can you provide me any other alternative other than what
> you provided.
>


 You can see it noted in the documentation as well: go to
https://cloud.google.com/appengine/docs/python/sockets/#limitations_and_restrictions
and look at the part about listen sockets.

As for alternatives, using a Managed VM or a Compute Engine machine are
probably the best alternatives you're going to get. If you're looking for a
free hosted tier, it looks like CloudMQTT ( http://www.cloudmqtt.com/ ) has
a free trial available on their site.


-
-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/CALSvALBGNobG3VzdV-AJDTMo92SjbUvzwo-e3T_T%2BY%3DxJVAqPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] How to manage app-engine app development and testing

2015-04-15 Thread Vinny P
On Wed, Apr 15, 2015 at 9:31 AM, Naresh Pokuri  wrote:

> Now we are planing develop migrate to app-engine using datastore. With
> this each team member will have his own datastore in local. How a team can
> share the same datastore to continue with the development. Is there a way?
>


There are many different ways to set this up. For instance, you could
prefix *kind* names with team member names - an entity with a *kind* of
*guestbook* could become *joesmith_guestbook* as one example.

Probably the easiest way would be to set up namespaces:
https://cloud.google.com/appengine/docs/java/multitenancy/ . A namespace
partitions data so that it is available in particular contexts that you can
define. This SO answer provides more information about namespaces if you're
interested: http://stackoverflow.com/a/17187656


-
-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/CALSvALAkk-xB5JVL-i6wFWS0LU1%3D%3DzHAOSGAMZK5ARCwOwfAAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] is it possible to deploy google app engine launcher ?

2015-04-15 Thread Vinny P
On Wed, Apr 15, 2015 at 7:49 AM, orijinal swq  wrote:

> I want to create an app that asks user's gmail email and password and
> uploads a specific project. it is like cloning the project. is this
> possible with python gae?
>


It's certainly possible; a similar flow is used by the C9 IDE when they
deploy an App Engine application:
https://c9.io/site/blog/2013/07/deploy-to-google-app-engine-with-cloud9-and-git/

However, C9 deploys using Git Push To Deploy - to replicate their method,
you would need to run a git client in your application and that means
you'll have to find a pure-Python implementation of git. You can try using
this library: https://github.com/jelmer/dulwich which should work.
Otherwise you can run any git library  within
a Managed VM and use it to push to GAE's Push To Deploy repo.



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


Re: [google-appengine] Can appengine-maven-plugin detect endpoints from jar file?

2015-04-15 Thread Vinny P
On Wed, Apr 15, 2015 at 9:28 AM, Naresh Pokuri  wrote:

>
> [INFO] Google App Engine Java SDK - get endpoints discovery doc...[INFO] No 
> Endpoints classes detected.
>
> though there is a endpoint. How could I tell appengine-maven-plugin to
> look into jar files for endpoints.
>


What command are you using to launch maven to build?


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


Re: [google-appengine] Re: Task Queue Management Call Count over quota? no docs?

2015-04-15 Thread adam sah
very helpful!!!  If I'd known about this limit and this workaround, I'd
have used the API!

On Wed, Apr 15, 2015 at 2:05 PM, Patrice  wrote:

> Hi again Adam,
>
> so there is currently a doc request for this quota to be explained
> properly in our documentation.
>
> In the meantime, here is what this quota is about : Whenever you view or
> perform actions on the task queue pages from one of our console, this quota
> will get hit. It is always recommended to use API calls to make such
> requests to your queues.
>
> Thank you!
>
>
> On Wednesday, April 15, 2015 at 1:42:52 PM UTC-4, Patrice wrote:
>>
>> Hey Adam, sorry for the delay first.
>>
>> I checked and you can actually access this quota from
>> appengine.google.com (the old console). I will go and check exactly what
>> counts as "management call count", and try to provide an answer to your
>> question.
>>
>> At the same time I will throw in a doc request to have this added :).
>>
>> Thank you
>>
>> On Thursday, April 2, 2015 at 1:55:50 PM UTC-4, Adam Sah wrote:
>>>
>>> Does anybody know about this limit?  I'm unable to open the Task Queues
>>> admin console, delete tasks, etc.
>>>
>>> Other Quotas With Warnings
>>>
>>> These quotas are only shown when they have warnings
>>> Task Queue Management Call Count
>>> [image: 100%]
>>> 100%10,000 of 10,000
>>> *Limited*there's no docs available for it, and it's causing
>>>
>>> thanks!
>>> adam
>>>
>>>  --
> 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/QpY3F27u48o/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/37d711c3-255f-4c21-bad6-f5c43ac18cbc%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/CALWCfdKnHjVyePw6vsF2bcqU_b3baF0BHXPnsPCXRVDXbzgqeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Task Queue Management Call Count over quota? no docs?

2015-04-15 Thread Patrice
Hi again Adam, 

so there is currently a doc request for this quota to be explained properly 
in our documentation.

In the meantime, here is what this quota is about : Whenever you view or 
perform actions on the task queue pages from one of our console, this quota 
will get hit. It is always recommended to use API calls to make such 
requests to your queues.

Thank you!

On Wednesday, April 15, 2015 at 1:42:52 PM UTC-4, Patrice wrote:
>
> Hey Adam, sorry for the delay first.
>
> I checked and you can actually access this quota from appengine.google.com 
> (the old console). I will go and check exactly what counts as "management 
> call count", and try to provide an answer to your question.
>
> At the same time I will throw in a doc request to have this added :).
>
> Thank you
>
> On Thursday, April 2, 2015 at 1:55:50 PM UTC-4, Adam Sah wrote:
>>
>> Does anybody know about this limit?  I'm unable to open the Task Queues 
>> admin console, delete tasks, etc.
>>
>> Other Quotas With Warnings
>>
>> These quotas are only shown when they have warnings
>> Task Queue Management Call Count
>> [image: 100%]
>> 100%10,000 of 10,000
>> *Limited*there's no docs available for it, and it's causing
>>
>> thanks!
>> adam
>>
>>

-- 
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/37d711c3-255f-4c21-bad6-f5c43ac18cbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-04-15 Thread Mars Lan
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 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/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Google Cloud Platform wants to hear from you

2015-04-15 Thread Karl MacMillan
  
  Katie,


Thanks for asking the question.


I’ve been using GCP for about 6 months now. I found the tutorial material and 
reference documentation to range from pretty good to good enough - there are a 
few rough points, but nothing that really bothered me. So I didn’t get stuck 
much in the early days.


Some things that could be smoother (this is all python):


1. Default way to handle 3rd party dependencies in an app - there are options 
and they work ok, but this is so common it would be nice to have an officially 
supported method. Especially since the common ones break on managed VMs because 
you don’t support appengine_config.py there.


2. Webapp2 - it’s OK, but definitely not great. From the outside there doesn’t 
seem to be a strong reason to be using something that has not gained broader 
traction when supporting something like Flask shouldn’t be hard. That would 
gain a much broader ecosystem rather than the very narrow, App Engine focused 
ecosystem around webapp2.


3. Cloud Storage - I could not find a quick and nice way to securely expose 
native links from cloud storage to clients via a REST API without having to 
have the clients reauth to cloud storage. So I’m just pulling from cloud 
storage on the backend, doing my own authorization, and serving them via my own 
REST API. A hack that I’ll get rid of eventually, but I didn’t want to fiddle 
anymore. This seems like a common use case to me, but who knows.


4. Cloud Endpoints - the biggest problem I had in early days was cloud 
endpoints. I have what I feel is a really common use case - I just need to do 
some CRUD operations on datastore entities using a REST API. I looked at 
enpoints and it looked like exactly what I needed. But then I saw I needed to 
largely duplicate my data model in NDB and Cloud Endpoints. Except there is 
this open source library that claims to connect them together 
(http://endpoints-proto-datastore.appspot.com), but it’s quirky, has quirky 
docs, and is kinda, sorta supported by Google. And then what’s with the 
assumption that these APIs will accept and return the same data types 
(seriously - who does that by default)? And then there was the tooling to 
generate client libraries that’s - honestly - just not great. Eventually the 
CORBA flashbacks got bad enough that I just completely abandoned cloud 
endpoints in favor of rolling it myself. For me, cloud endpoints definitely 
created _way_ more problems than it solved.



5. User service - when evaluating options things like the User services popped 
out to me. I thought, great, I’ll use a PaaS and things like user auth will be 
sanely handled. Except that it is so limited as to not be viable at all for a 
public product.


Beyond the beginner issues, I think there is a real problem once you move 
towards creating real apps. There is a need for more in-depth documentation of 
designing apps effectively to use the platform. Things like best practices 
around data modeling in the datastore (e.g., when to de-normalize and how to 
handle data updates once you do). There is some of this (e.g., 
https://cloud.google.com/appengine/articles/modeling), but it is typically 
out-of-date and there is not really enough of it. For better or worse, there is 
not a big network of bloggers handling these topics like there are for open 
source tools like rails, postgresq, etc.


The biggest beginner problem I see right now is the architectural options 
around App Engine, Managed VMs, and GCE. On paper you guys have a nice blend of 
offerings that can allow developers to choose the right amount of control that 
they want / need. The reality, though, is that there are some hard choices to 
be made because of inconsistencies around what services are available on the 
different options and how to effectively wire together the components. A 
concrete example for me: I need to use numpy and some other non-pure python 
code in some background processing, so I needed to move off of App Engine for 
that work. I wasted quite a bit of time figuring out how / whether I could use 
the Datastore (via ndb) and task queues on the different options (including 
auth, network architecture, and scaling). None of it is rocket science, but I 
felt like I was inventing things when I knew that others had already come up 
with effective strategies. For me - the ideal situation would be if you just 
supported the same services through the same APIs everywhere, so I hope that is 
where you were headed.


Other random thoughts / complaints:


1. GCP Roadmap - it would be nice to have some nice, clear roadmap on where 
things are headed. Right now, I restrict myself to only what is available and 
supported right now because I have no idea where you guys are headed.


2. Community - there is not a supportive / coherent community around GCP. 
Coming from a largely open source background this gives me a lot of culture 
shock. It would be great if there was at least a set of your engineers out 
engaging 

[google-appengine] Re: Gcloud preview app run returns a timeout error

2015-04-15 Thread Shobhit


The gcloud command enable the ah_host process and also created the docker 
image of your app and passes it to the Docker daemon, in your case it seems 
that your docker daemon is not responding to the request. So to make 
sure,perform "sudo docker -d" to check if the Docker daemon is running on 
your machine or not. Also check that, the path of the certificate you set 
correctly and value of the TLS_VERIFY is TRUE.

Go through the documentation [1] for the installation of Docker on MacOS

[1] https://docs.docker.com/installation/mac/

On Wednesday, April 15, 2015 at 5:40:54 AM UTC-4, John Wesonga wrote:
>
> I seem to be having a problem with my test managed VM. Every time I run 
> *glcoud 
> preview app run  *I get the following error:
>
> INFO 2015-04-15 09:29:31,525 devappserver2.py:726] Skipping SDK 
> update check.
>
>
>
> INFO 2015-04-15 09:29:32,173 api_server.py:172] Starting API server at
> : http://localhost:51143
>
> INFO 2015-04-15 09:30:32,186 api_server.py:588] Applying all pending 
> transactions and saving the datastore
>
> INFO 2015-04-15 09:30:32,187 api_server.py:591] Saving search indexes
>
> Traceback (most recent call last):
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py"
> , line 83, in 
>
> _run_file(__file__, globals())
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py"
> , line 79, in _run_file
>
> execfile(_PATHS.script_file(script_name), globals_)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py"
> , line 985, in 
>
> main()
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py"
> , line 978, in main
>
> dev_server.start(options)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py"
> , line 774, in start
>
> self._dispatcher.start(options.api_host, apis.port, request_data)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py"
> , line 182, in start
>
> _module, port = self._create_module(module_configuration, port)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py"
> , line 262, in _create_module
>
> threadsafe_override=threadsafe_override)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py"
> , line 1463, in __init__
>
> super(ManualScalingModule, self).__init__(**kwargs)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py"
> , line 514, in __init__
>
> self._module_configuration)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py"
> , line 237, in _create_instance_factory
>
> module_configuration=module_configuration)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/vm_runtime_factory.py"
> , line 78, in __init__
>
> timeout=self.DOCKER_D_REQUEST_TIMEOUT_SECS)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/docker/containers.py"
> , line 740, in NewDockerClient
>
> client.ping()
>
>   File "/Users/jwesonga/google-cloud-sdk/./lib/docker/docker/client.py", 
> line 711, in ping
>
> return self._result(self._get(self._url('/_ping')))
>
>   File "/Users/jwesonga/google-cloud-sdk/./lib/docker/docker/client.py", 
> line 76, in _get
>
> return self.get(url, **self._set_request_timeout(kwargs))
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py"
> , line 468, in get
>
> return self.request('GET', url, **kwargs)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py"
> , line 456, in request
>
> resp = self.send(prep, **send_kwargs)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py"
> , line 559, in send
>
> r = adapter.send(request, **kwargs)
>
>   File 
> "/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/adapters.py"
> , line 384, in send
>
> raise Timeout(e, request=request)
>
>  
>
> requests.exceptions.Timeout: ( VerifiedHTTPSConnection object at 0x10dba17d0>, 'Connection to 
> 192.168.59.104 timed out. (connect timeout=60)')
>
>
> I've confirmed that boot2docker is up and running, BTW this was working 
> just fine when I did the initial set up. Any idea how I can fix this? I 
> posted similar question on stackoverflow with no luck 
> http://stackoverflow.com/questions/29576087/golang-preview-of-managed-vm-app-returns-error
>

-- 
Y

[google-appengine] Re: 1.9.19 raised string property limit from 500 to 1500 chars

2015-04-15 Thread pdknsk
The agnostic docs haven't been updated.

https://cloud.google.com/datastore/docs/concepts/entities

-- 
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/bbb190e8-af26-489a-8109-62b7b83bdf8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 1.9.19 raised string property limit from 500 to 1500 chars

2015-04-15 Thread pdknsk
https://cloud.google.com/appengine/docs/python/datastore/typesandpropertyclasses

-- 
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/c307c23a-2580-4ee4-8c2d-62c27b5e09fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Task Queue Management Call Count over quota? no docs?

2015-04-15 Thread Patrice
Hey Adam, sorry for the delay first.

I checked and you can actually access this quota from appengine.google.com 
(the old console). I will go and check exactly what counts as "management 
call count", and try to provide an answer to your question.

At the same time I will throw in a doc request to have this added :).

Thank you

On Thursday, April 2, 2015 at 1:55:50 PM UTC-4, Adam Sah wrote:
>
> Does anybody know about this limit?  I'm unable to open the Task Queues 
> admin console, delete tasks, etc.
>
> Other Quotas With Warnings
>
> These quotas are only shown when they have warnings
> Task Queue Management Call Count
> [image: 100%]
> 100%10,000 of 10,000
> *Limited*there's no docs available for it, and it's causing
>
> thanks!
> adam
>
>

-- 
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/7f2f7dab-fd86-475f-811e-fbe43a6ed3a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google Cloud Platform wants to hear from you

2015-04-15 Thread Katie Ball (Google Cloud Support)


Hi,

My name is Katie, and I am on the Google Cloud Platform technical support 
 team.

This message is to Google Cloud Platform community members, especially if 
you are newer to GCP. I would like to know what our team can do to help you 
have a better and more enjoyable experience during the first days on GCP.

Did you need technical support?  If so, I’d like to hear all about it.

I’d also like to know:

   - 
   
   What did you find most difficult about the first-time user experience?
   - 
   
   Where did you get stuck?
   

Please reply to the group with your answers or any ideas you have on how 
the technical support team can help new customers get familiar with GCP. 

And as a thank you for the great ideas, we will be giving away support 
coupons worth $450 (equivalent to 3 months of silver support) to 5 lucky 
community members who post a response. Please make sure to reply before 
April 22nd. 

Thanks for your insights, and cloud on!

Katie

-- 
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/4f59c819-731f-422c-b33d-a68ea4d525fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] 1.9.19 raised string property limit from 500 to 1500 chars

2015-04-15 Thread Ryan Barrett
looks like yesterday's 1.9.19 release raised the limit on string properties 
in the datastore from 500 to 1500 chars. awesome!

from google/appengine/api/datastore_types.py:

_MAX_STRING_LENGTH = 1500

tested in https://shell-27.appspot.com/ :

>>> from google.appengine.ext import db
>>> class Foo(db.Expando):
  pass
>>> key = Foo(long='x'*1490).put()
>>> foo = Foo.get(key)
>>> len(foo.long)
1490

app engine team, might be worth adding this to the release notes and docs?

https://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
https://cloud.google.com/appengine/docs/python/ndb/properties#types

-- 
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/846b9ec2-2621-450b-806a-d7d8c9175d96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to manage app-engine app development and testing

2015-04-15 Thread Naresh Pokuri


I am working on a product which is using Spring REST and MangoDB. Out team 
in general connect to MongoDB server exist in remote system and implement 
the features. So, we all share same DB between the team. With this we no 
need to create huge data as it get populated automatically by team daily 
activity. So, same time we can look at performance as well.

Now we are planing develop migrate to app-engine using datastore. With this 
each team member will have his own datastore in local. How a team can share 
the same datastore to continue with the development. Is there a way?

-- 
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/3e9987c4-8de3-4c72-919e-0742a40594dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Can appengine-maven-plugin detect endpoints from jar file?

2015-04-15 Thread Naresh Pokuri


My app having two modules... one with REST services only and another one 
with web static resources...and web static resource module has dependency 
on REST services module. So, while building war out of the web module I see 
logs in the console

[INFO] Google App Engine Java SDK - get endpoints discovery doc...[INFO] No 
Endpoints classes detected.

though there is a endpoint. How could I tell appengine-maven-plugin to look 
into jar files for endpoints.

-- 
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/028bfd0b-c457-4fa3-80ae-1166167c9958%40googlegroups.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] is it possible to deploy google app engine launcher ?

2015-04-15 Thread orijinal swq
I want to create an app that asks user's gmail email and password and 
uploads a specific project. it is like cloning the project. is this 
possible with python gae?

-- 
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/b397b560-452a-424a-939a-73015b47ded8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Gcloud preview app run returns a timeout error

2015-04-15 Thread John Wesonga
I seem to be having a problem with my test managed VM. Every time I run *glcoud 
preview app run  *I get the following error:

INFO 2015-04-15 09:29:31,525 devappserver2.py:726] Skipping SDK update 
check.



INFO 2015-04-15 09:29:32,173 api_server.py:172] Starting API server at: 
http://localhost:51143

INFO 2015-04-15 09:30:32,186 api_server.py:588] Applying all pending 
transactions and saving the datastore

INFO 2015-04-15 09:30:32,187 api_server.py:591] Saving search indexes

Traceback (most recent call last):

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py"
, line 83, in 

_run_file(__file__, globals())

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/dev_appserver.py"
, line 79, in _run_file

execfile(_PATHS.script_file(script_name), globals_)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py"
, line 985, in 

main()

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py"
, line 978, in main

dev_server.start(options)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py"
, line 774, in start

self._dispatcher.start(options.api_host, apis.port, request_data)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py"
, line 182, in start

_module, port = self._create_module(module_configuration, port)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py"
, line 262, in _create_module

threadsafe_override=threadsafe_override)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py"
, line 1463, in __init__

super(ManualScalingModule, self).__init__(**kwargs)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py"
, line 514, in __init__

self._module_configuration)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py"
, line 237, in _create_instance_factory

module_configuration=module_configuration)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/vm_runtime_factory.py"
, line 78, in __init__

timeout=self.DOCKER_D_REQUEST_TIMEOUT_SECS)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/google/appengine/tools/docker/containers.py"
, line 740, in NewDockerClient

client.ping()

  File "/Users/jwesonga/google-cloud-sdk/./lib/docker/docker/client.py", 
line 711, in ping

return self._result(self._get(self._url('/_ping')))

  File "/Users/jwesonga/google-cloud-sdk/./lib/docker/docker/client.py", 
line 76, in _get

return self.get(url, **self._set_request_timeout(kwargs))

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py"
, line 468, in get

return self.request('GET', url, **kwargs)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py"
, line 456, in request

resp = self.send(prep, **send_kwargs)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/sessions.py"
, line 559, in send

r = adapter.send(request, **kwargs)

  File 
"/Users/jwesonga/google-cloud-sdk/platform/google_appengine/lib/requests/requests/adapters.py"
, line 384, in send

raise Timeout(e, request=request)

 

requests.exceptions.Timeout: (, 'Connection to 
192.168.59.104 timed out. (connect timeout=60)')


I've confirmed that boot2docker is up and running, BTW this was working 
just fine when I did the initial set up. Any idea how I can fix this? I 
posted similar question on stackoverflow with no 
luck 
http://stackoverflow.com/questions/29576087/golang-preview-of-managed-vm-app-returns-error

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/86a20084-357d-4206-9c1e-aef92911ded0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.