[google-appengine] Help

2021-05-10 Thread Deninho
Portuguese

Eu preciso muito de ajuda, eu fiz um pagamento de 40 reais e não sei pra 
que serve esse site

English

I really need help, I make a payment of 40 reais and I don't know what this 
site is for

I want to request a refund




-- 
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/ca4a8cbe-70ef-43ca-a560-1c5f46112037n%40googlegroups.com.


[google-appengine] Help with installation on mac please

2020-10-21 Thread Jennifer Gupta
Hi all!  I'm trying to install on my macbook pro - running catalina 10.15.  
I have followed all the instructions and when I try to deploy from my 
command line (yes, I am in my coursebuilder folder) with bash 
./scripts/deploy.sh  (yes, i am changing that too my id and 
dropping the <>)...  I receive the following error after Installing PyCrypto

error:  must supply either home or prefix/exec-prefix -- not both

and then I get the command line again, my website doesn't deploy and I get 
no-where..  Any ideas? 

Many thanks in advance,

-Jen

-- 
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/2d3d1306-8a18-4329-b89c-807d3167aca3n%40googlegroups.com.


[google-appengine] Help configure app.yaml

2020-06-19 Thread Googgle 360
I have a couple of website files in php I wish to to upload on app engine 
but i am a noob with configuring app.yaml files so i have never gotten it 
right with making my websites work on app engine. anybody willing to help 
should please send me an email to fastcreatet...@gmail.com. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8bddebb9-45eb-46df-b47e-7a0490264ef8o%40googlegroups.com.


[google-appengine] Help with identifying the authentication error in

2020-01-02 Thread Shankar P S
I am trying to invoke the Blogger AP from a Google Cloud Function. I am 
referring to the docs here - 
https://cloud.google.com/docs/authentication/production#obtaining_credentials_on_compute_engine_kubernetes_engine_app_engine_flexible_environment_and_cloud_functions

The doc says that the default credentials are available in the Cloud 
Function. I am able to run the given example to get the list of buckets.

But when I call a sample code from the Blogger API with the same 
credentials it fails with "Encountered 403 Forbidden with reason 
"insufficientPermissions" error. 

Please help me identify why the first part of this code works and the 
second part fails.


def explicit_compute_engine():from google.auth import compute_engine
import googleapiclient.discovery
#PART I
credentials = compute_engine.Credentials()
storage_client = googleapiclient.discovery.build(
'storage', 'v1', credentials=credentials)
print('before buckets')
buckets = storage_client.buckets().list(project='').
execute()
print(buckets)

#PART II (fails)
credentials = compute_engine.Credentials()
blogger = googleapiclient.discovery.build(
'blogger', 'v3', credentials=credentials)
print(blogger)
blogs = blogger.blogs()
blog = blogs.get(blogId='', maxPosts=2).execute()
#Error "Encountered 403 Forbidden with reason "insufficientPermissions" 
here
print(str(blog))


-- 
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/9702d0fb-14c7-4802-8338-853afdfd4c8f%40googlegroups.com.


Re: [google-appengine] Help with Server Error 500 for node js app. But works fine locally?!

2018-11-11 Thread 'Olivier Yiptong' via Google App Engine
Did you try:

{
...
“scripts”: {
  “start”: “node app.js”
  }
}

?

Sent from my phone

> On Nov 9, 2018, at 7:36 AM, Mike C  wrote:
> 
> 
> I got the following error:
> 
> Error: Cannot find module '/srv/server.js'
> at Function.Module._resolveFilename (module.js:548:15)
> at Function.Module._load (module.js:475:25)
> at Function.Module.runMain (module.js:694:10)
> at startup (bootstrap_node.js:204:16)
> at bootstrap_node.js:625:3
> 
> =
> my package.json has  "main": "app.js",...
> It ran no problem locally. It is using 'runtime: nodejs8' in app.yaml
> 
> What did I do wrong ?!
> -- 
> 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/db3a1f8a-662e-4446-a2f8-6f6b60b1fd4f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/225076C9-7D7F-4B94-83A3-3CF6428E8B7B%40google.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help with Server Error 500 for node js app. But works fine locally?!

2018-11-10 Thread Mike C

I got the following error:

Error: Cannot find module '/srv/server.js'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3

=
my package.json has  "main": "app.js",...
It ran no problem locally. It is using 'runtime: nodejs8' in app.yaml

*What did I do wrong ?!*

-- 
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/db3a1f8a-662e-4446-a2f8-6f6b60b1fd4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] HELP

2018-10-07 Thread Stephanie Kline
I am trying to get google course builder to run on my computer to build a 
course for the county 4-H.  I have tried everything that I know what to do 
and am at a complete loss.  I have created my project ID and am to the 
point of running the "codes" or scripts to get the URL.  I'm working 
through the SSH step and am stuck.  Can anyone help me?  I'm willing to go 
back to the beginning and start fresh if need be!

-- 
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/5b194ef5-2359-4768-867c-0ba952dddef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help! Recurring Error: /usr/bin/bash: Exit 60

2018-10-01 Thread Pam Parker
Trying to get Course Builder going but I'm a complete newb.  Can't get 
beyond installing App Engine Developer Toolkit; keeps coming back with the 
message /usr/bin/bash: Exit 60.

Any help would be appreciated (need this to work for assignment due Friday)

:-) Pam.

-- 
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/a6985a87-c14e-43b8-8298-4662304b154b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help with Security in Cloud Functions

2018-09-20 Thread Miguel Pagan Murphy
Hi,

I'm a newbie to cloud functions. I'm using them for a web app, and was 
surprised to see that when deployed they are completely public.

Is there no way to secure them without doing it in the function in itself? 
Maybe by means of a service account or something similar. If you can't, 
what would be the correct way to protect a REST cloud function endpoint? 

The most relevant article i've found is this one, and it doesn't give me 
very much hope:

https://stackoverflow.com/questions/46358013/secure-google-cloud-functions-http-trigger-with-auth

Thanks,

Miguel Pagán Murphy

-- 
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/b71efbcd-3a4f-499a-95b9-e2845b762d29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help me!

2018-09-13 Thread Minka Comunidad

a few days ago my hosting page but no longer shows my instances says that 
there is no created but in the activity does not show me the elimination of 
any

-- 
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/f2946084-677f-4cbc-8f63-3d07f9a32851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help with finding something that was in my virgin mobile phone cloud . m

2018-07-30 Thread Adam Weaver
my phone broke and i desperately need information that was on my cloud but 
I dont know how to find it  can some one help me pls



-- 
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/ca1f7703-8380-4ecf-8be5-ec36413c5199%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help on the local AppInventor

2018-01-03 Thread atab121
Hello everyone,

We are a group of students working on a project involving the local 
AppInventor. Our goal is to modify the admin pageso that the acces to the 
list of users' projects can be modified, meaning instead of accessing a 
project on "read only" as the admin, he will be able to connect as said 
user and modify it as he wishes. He will also be able to delete a project 
or save it on his computer.
We noticed that the login page is not actually in the source code of the 
local appinventor but is part of the google developpment server. We would 
like to know how to have access to the source code of those pages (login 
and admin pages) in order to alter them.
On the other side, we came to the conclusion that to list the users' 
projects, the admin page had to have access to some database where all the 
projects are stored, we would like to know where is that database and how 
to access 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 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/57e63791-91ce-4e52-9bac-a8ea08a18193%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help me for signing up GCP

2017-11-14 Thread srinath reddy
I am from India. I don't have credit card for signing up for GCP. Please 
find me a solution to get inside google cloud platform

-- 
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/47127084-0718-4f68-9dc6-c51663c33775%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help! I can't add my email account to Email API authorized senders.

2017-09-06 Thread Kai Zhou


I am trying to set up the email sending feature in google app engine. I 
want to send emails through the address associates with my domain 
admin@[mydomain].com. I try to edit the setting in the follow page:


But when I click "save", nothing happens. And when I refresh the page, the 
email I add just disappears. Does anyone have the same issue? Does anybody 
know what is going on?

-- 
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/94c9e246-47a8-47ee-821a-69b5af35b9b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help me

2017-09-06 Thread satoshi tagomori
GAE/PHP standard/us にて利用しています
CloudStorageはasia region です

$upload_url = CloudStorageTools::createUploadUrl('/api/upload/upload', 
$options);

にて生成したURLにmultipart/form-dataにて複数の画像とパラメーターをアップロードするような仕様です。

upload.php (アップロードリクエストを処理する)にて画像を受取、ブロブキーなどをDBに追加してレスポンスをjsonにて返却しています

処理自体は正常に終了し(response code 200)ているのですが、クライアントでのレスポンスが500になってしまいます。
GAEのコンソールログを確認しても、api/upload/uploadは正常に200を返しているのが確認できるのですが、クライアントには 
エラーが返ってきてしまいます。

以前は同様の現象はなかったと思いますが昨日始めて確認しました。

アップロードは正常に行われているのに、レスポンスが500なのでクライアントが勘違いして大量の画像をアップロードしてきており、早急に対応したいのですがどなたかお知恵を貸してください

-- 
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/9564c672-d02e-4ef4-ba24-759d89ff3f37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help me, GAE/PHP Inexplicable behavior google cloud storage' s response

2017-09-06 Thread satoshi tagomori

upload image response returned status code 200 in code and log 
but client recived 500 error

help me.


createuploadurl.php

$upload_url = CloudStorageTools::createUploadUrl('/api/upload/upload', 
$options);


upload.php


header('Content-Type: application/json; charset=utf-8');
echo json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
syslog(LOG_DEBUG,"success.");


log is success

-- 
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/ba181782-722a-4dab-b829-cae9f72213a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help me! Recently I can not upload files with blobstore! 503 Error occurred.

2017-09-01 Thread 中村智
GAE/Phthon

I could upload files to blobstore until about August 6. But recently I can 
not upload files to blobstore.
I make upload url by blobstore.create_upload_url. I get this url by Ajax 
and post to this url, then I get white page and the status is 503.

I did not change my source code. So I don't think cause my source.
Anything changed on API?
Please help 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/051667cc-f11e-47fe-9e8d-1e4170972672%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help us improve Cloud Platform

2017-08-17 Thread 'Theresa Liberman' via Google App Engine
App Engine users:

Take part in Google user research studies to help us improve App Engine and
other Google products. By sharing your opinions and ideas, you’ll help
ensure that we build products and features that really work for you. You'll
receive a token of our appreciation upon completion of a study.

Sign up now https://goo.gl/forms/KxB7vxUmxpSoasKT2

Thanks,
Google User Research team

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


[google-appengine] Help me mail

2017-08-08 Thread M desinger
Hi!
Why google cloud vps cant send mail ?

-- 
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/d5732a13-3ef4-42f0-9180-06cf416cac1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help about AngularJs2 with endpoints Google app engine

2017-07-04 Thread Jordan Andrei Cortes Mesa
Hi guys,


This email is intended to ask how the consumption of Google App Engine 
endpoints with Angular 2 or Angular 4 is done.

The tutorials that show on the web goes up to version 1 of Angular.

Regards,


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ba4d97d6-e908-4d3d-bb03-5389b3d3c16d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help troubleshooting running under the development server

2017-02-25 Thread Kevin Wise
I have an exceptionally strange situation. My web app, running on Guice in 
a app engine standard environment, works fine in a development environment 
on Linux or Mac, but doesn't work on Windows. The symptom is that when I 
try to run the application, it appears to startup, but then always responds 
with a 500 error. The log reports:

ERROR2017-02-24 15:06:29,865 http_proxy.py:116] bad runtime process 
port ['']
INFO 2017-02-24 15:06:29,964 module.py:806] default: "GET / HTTP/1.1" 
500 4379

Even stranger, the server returns *the log file contents to the browser*.  
Here is a sample of the browser output:

bad runtime process port ['']

Feb 24, 2017 3:04:52 PM 
com.google.appengine.tools.development.AbstractContainerService configure
WARNING: Null value for 
containerConfigProperties.get(devappserver.portMappingProvider)
Feb 24, 2017 3:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via 
com.google.apphosting.utils.jetty.JettyLogger
Feb 24, 2017 10:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
Feb 24, 2017 10:05:15 PM org.hibernate.validator.internal.util.Version 
INFO: HV01: Hibernate Validator 5.2.4.Final
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider as a 
provider class
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering com.sample.health.HealthCheckResource as a root resource class
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering com.example.appengine.helloworld.HelloResource as a root 
resource class
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering com.sample.exception.ConflictExceptionMapper as a provider 
class
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering com.sample.exception.IllegalArgumentExceptionMapper as a 
provider class
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
INFO: Registering com.sample.webjars.JaxRsWebjarsServlet as a root resource 
class
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 
PM'
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
getComponentProvider
INFO: Binding com.sample.exception.ConflictExceptionMapper to 
GuiceManagedComponentProvider with the scope "Singleton"
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
getComponentProvider
INFO: Binding com.sample.exception.IllegalArgumentExceptionMapper to 
GuiceManagedComponentProvider with the scope "Singleton"
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
getComponentProvider
INFO: Binding com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider to 
GuiceManagedComponentProvider with the scope "Singleton"
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
getComponentProvider
INFO: Binding com.sample.health.HealthCheckResource to 
GuiceManagedComponentProvider with the scope "Singleton"
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
getComponentProvider
INFO: Binding com.example.appengine.helloworld.HelloResource to 
GuiceManagedComponentProvider with the scope "Singleton"
Feb 24, 2017 10:05:19 PM 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
getComponentProvider
INFO: Binding com.sample.webjars.JaxRsWebjarsServlet to 
GuiceManagedComponentProvider with the scope "Singleton"
Feb 24, 2017 10:05:19 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@localhost:54117
Feb 24, 2017 10:05:19 PM com.google.appengine.tools.development.AbstractModule 
startup
INFO: Module instance default is running at http://localhost:54117/
Feb 24, 2017 10:05:19 PM com.google.appengine.tools.development.AbstractModule 
startup
INFO: The admin console is running at http://localhost:54117/_ah/admin
Feb 24, 2017 3:05:55 PM 
com.google.appengine.tools.development.devappserver2.DevAppServer2Impl doStart
INFO: Dev App Server is now running


I've been chasing the problem down all week. I started with the 
helloworld-new-plugins sample project from Google (which worked). Then I 
gradually added on layers of my app until it stopped working.  Through 
trial and error I discovered that it works if some of the bindings are 
commented out.  There are four bindings for exception mappings. If only one 
of the exception mappers is bound, it works. Doesn't matter which one.  
There is another binding for a resource class. If that is com

[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

[google-appengine] Help! No longer connecting to Cloud SQL (1st gen)

2016-10-22 Thread Robert Fox
Yesterday I was getting complaints about certificate dates.  My certs are 
not expired.  Today I'm getting a more generic error:


Exception in thread "main" java.sql.SQLNonTransientConnectionException: SSL 
Connection required, but not supported by server.
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:550)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:537)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:527)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:512)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:480)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:498)
at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:494)
at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:72)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1634)
at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:637)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:351)
at 
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at  my code


I have had my database on SSL only for month and months.  Certificates 
setup and going for months and months... basically my config didn't change. 
 
I'm using MySQL Connector version 5.1.39 from Compute engine.
Also failing to connect from MySQL Workbench.  Help!!!

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


[google-appengine] Help connecting to App Engine server correctly?

2016-08-24 Thread Stephen Chan
Hi, I began using Google App Engine to create an Application Server for my 
mobile application. I began by hosting PHPMyAdmin onto my Application 
Server to manage my Google Cloud server following this link here: 
https://cloud.google.com/sql/docs/phpmyadmin-on-app-engine. The problem is, 
now I want to create a way for my Android Application to communicate with 
my Application Server. I simply want to be able to store data into my 
Application Server where I have hosted an instance of Google Cloud, and 
also retrieve data from my instance of Google Cloud. However, I can't seem 
to communicate with my application server at all. This is what I did after 
following the above steps:

1. I created a Request Builder where I can send a Firebase Cloud Messaging 
Token from my device to the Application Server like so:

public class NotificationInstanceService extends FirebaseInstanceIdService {
 private static final String TAG = "NotificationInstance";
 @Override
 public void onTokenRefresh() {
 //Getting registration token
 String refreshedToken = FirebaseInstanceId.getInstance().getToken();
 //Displaying token on logcat
 Log.d(TAG, "Refreshed token: " + refreshedToken);
 sendRegistrationToServer(refreshedToken);
 }

 private void sendRegistrationToServer(String token) {
 //You can implement this method to store the token on your server
 //Not required for current project
 OkHttpClient client = new OkHttpClient();
 //Create the request body
 RequestBody body = new FormBody.Builder().add("Token", token).build();
 //Know where to send the request to
 Request request = new Request.Builder().url("/register.php")
 .post(body)
 .build();
 //Create
 try {
 client.newCall(request).execute();
 } catch (IOException e) {
 e.printStackTrace();
 }

 }

This seems to be working. 
client.newCall(request.execute();
seems to go through without any errors.

1. I created a script called register.php which looks something like this:

if (isset($_POST["Token"])) {
   $_uv_Token=$_POST["Token"]; 
   $conn = mysqli_connect("/cloudsql/","root","",
"FCM") or die("Error connecting"); 
   $q="INSERT INTO users (Token) VALUES ( '$_uv_Token') " 
  ." ON DUPLICATE KEY UPDATE Token = '$_uv_Token';"; 
  var_dump(mysqli_query($conn,$q)); 
  mysqli_query($conn,$q) or die(mysqli_error($conn)); 
  mysqli_close($conn); 
} else { 
var_dump($_REQUEST); 
}

This would be a simple way to connect to my database and update the users 
database I created using the PHPMyAdmin console page. 


3. After I created the script, I simply called 
appcfg.py update .
in my directory, which I would assume redeploys my instance with 
register.php created and I try to send my REST call via my Android 
Application. I notice in the Google Cloud Console, logs are posted but I 
don't see my data being uploaded to the users database. I am not sure where 
I am going wrong. Any help would be much appreciated. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b9704706-d0fa-41a6-a941-8b79a0049873%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help with nodejs image

2016-04-29 Thread pankaj kumar
I made an app engine app from the nodejs tutorial in the docs. The 
Dockerfile supplied there when I started derived from the image "FROM 
beta.gcr.io/google_appengine/nodejs" . Is it possible I can get the 
corresponding Dockerfile that was used to create that image? I am trying to 
upgrade the OS version because some nfs services are not coming up. 

Thanks

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


[google-appengine] Help - custom domains

2016-03-30 Thread M. Hossein Amerkashi
Hi, I appreciate help on following:

I have a domain registered with Google domains; let's say *example.com. *Since 
I wanted to create my own site, I went to Google Domains and updated custom 
domain to point to BlueHost name server. That worked and site is up and 
running.

With AppEngine, I have an application called *xyz.appspot.com. *
I like to setup AppEngine custom domain and map *xyz.appspot.com* to 
subdomain like *silver.example.com* 

Do I just setup AppEngine custom domain like silver.example.com?
Do I have to go to Google Domain and change DNS settings there or do I have 
to change some settings on other hosting (BlueHost)??

THANKS

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


[google-appengine] Help a Noob create an endpoints project in eclipse

2016-03-19 Thread Jim Craft
I am very new to the world of GAE (and similar).  I have worked through the 
examples provided under the Documentation links whereby we generate the 
projects with Maven.  That's all fine and dandy until Maven won't make the 
project (that will be another thread perhaps).  I am using the Google 
Plugin for Eclipse Luna (4.4) and I have read the associated documentation. 
 However, I can't find a tutorial/how-to that shows me how to create an 
endpoint backend project without first creating an Android application 
project.  I would like to just create the endpoint backend project in 
Eclipse then worry about the Web/Android/iOS app.  Any help/pointers/etc. 
would be appreciated!

Cheers!

Jim
PS: I'm reasonably comfortable with Eclipse and Java SE but this realm is 
all very new 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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ee95de98-56ea-49e2-a1f3-807e8821b6fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help with cloud enpoint... cannot access in local testing...

2016-02-03 Thread Trez Ertzzer
Hello.
I have a project created with the GPE.
this project contains Endpoints services that I can see when deployed on 
google app engine server.

BUT
when I launch the webapp locally through eclipse, and user chrome to go to 
*http://localhost:/_ah/api/explorer 
-->*I do not see the endpoint 
services:

I clicked on the shield (in the adress bar), then I allow the scripts to be 
loaded...  but no services endpoint appears.


I have to say that the worst is that IT WAS WORKING and now it's not 
and I have no idea why...  


I created a new project from scratch...using this:
http://rominirani.com/2014/01/10/google-cloud-endpoints-tutorial-part-1/
--> SAME thing: cannot see the services.


I also tried to launch chrome using the "--disable-web-security" option.
--> did not change anything...


really I need help...

thanks in advance.



-- 
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/6b7a65b8-92be-4311-8fac-a42a2de36ead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help in mapping my domain to google app engine I mistyped the registrar password

2015-08-27 Thread lordjoe
Now it does not ask - just goes straight to the registrar and fails - how 
can I reset the domain registrar password so it will as k again (and 
incidentally keep asking until I succeed

-- 
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/ba811550-3e4b-4796-9858-c8f229bf3df9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help with google app engine search api

2015-08-03 Thread Sourabh Agrawal
Hey, 

i am new to gaepython, I have been trying to find nearby areas to a given 
location.. I found search api could do this, what i couldn't figure out is 
that* what will be config.STORE_INDEX_NAME*. When is used this exact code 
it says "* NameError: name 'config' is not defined*"


from google.appengine.api import search

query = "distance(geopoint(35.2, 40.5), geopoint(35.2, 40.5)) < 100"
index = search.Index(config.STORE_INDEX_NAME)
search_results = index.search(query)

Thanks in advance

-- 
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/360c8c9c-dcc1-4ada-91d0-5cf7d77d5499%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help migrating from Files API

2015-08-03 Thread Carlos Lallana
As a quick response:

uuid1()  may 
compromise privacy since it creates a UUID containing the computer’s 
network address. 
uuid4()  creates a 
random UUID.

Refer to this answer  from 
Stackoverflow for further details.

On Sunday, August 2, 2015 at 10:04:33 PM UTC+2, Leon Prouger wrote:
>
> Thanks for answering, it should solve my problem. I wonder if it's safer 
> to use uuid1 on GAE, but the collision chance of uuid4 seems small enough 
> for my case.
>
> Also I added content type as you advised 
>
>
>
> On Sunday, July 26, 2015 at 7:43:50 PM UTC+3, Alex Martelli wrote:
>>
>> To generate a unique filename, I recommend the technique suggested at 
>> http://stackoverflow.com/questions/22156030/google-cloud-storage-create-file-name-automatically
>>  
>> .
>>
>> However, on an unrelated note, take care: your code seems to be missing 
>> the content_type named parameter to the open call, and you'll probably want 
>> to add it, as you did in the previous version in the create call.
>>
>> Alex
>>
>> On Sat, Jul 25, 2015 at 5:44 AM, Leon Prouger  wrote:
>>
>>> Hey folks, I'm learning the new Cloud Storage and question how to I 
>>> migrate my app with a least friction.
>>>
>>> Now I'm using this sample piece of code to save images:
>>>
>>> from google.appengine.api import images, files
>>>
>>>
>>> def upload(ext, stream):
>>>
>>> file_name = files.blobstore.create(mime_type=mimetypes.types_map
>>> [ext])
>>>
>>>
>>> with files.open(file_name, 'a') as f:
>>>
>>> f.write(stream.getvalue())
>>>
>>>
>>> files.finalize(file_name)
>>>
>>> return 
>>> images.get_serving_url(files.blobstore.get_blob_key(file_name))
>>>
>>>
>>> Which I'm thinking to change to the next:
>>>
>>>
>>> def upload(ext, stream):
>>>
>>> filename = "/images/my_file"
>>>
>>> with gcs.open(filename, 'w') as f:
>>>
>>> f.write(stream.getvalue())
>>>
>>>
>>> # Blobstore API requires extra /gs to distinguish against blobstore 
>>> files.
>>>
>>> blobstore_filename = '/gs' + filename
>>>
>>> # This blob_key works with blobstore APIs that do not expect a
>>>
>>> # corresponding BlobInfo in datastore.
>>>
>>> blob_key = blobstore.create_gs_key(blobstore_filename)
>>>
>>> return images.get_serving_url(blob_key)
>>>
>>>
>>> Which seems to work.
>>>
>>> The problem that in the old version I don't have to worry about 
>>> filenames, Files API job was to assign me one. Now I need to give a name 
>>> myself. Any way the new api should do it for me? Or maybe I should just 
>>> hash the 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-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/145ce87c-e299-4d7f-8c8c-83f2959b5548%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/1c7de523-d9d0-4682-a37e-7312621ed8f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help migrating from Files API

2015-08-02 Thread Leon Prouger
Thanks for answering, it should solve my problem. I wonder if it's safer to 
use uuid1 on GAE, but the collision chance of uuid4 seems small enough for 
my case.

Also I added content type as you advised 



On Sunday, July 26, 2015 at 7:43:50 PM UTC+3, Alex Martelli wrote:
>
> To generate a unique filename, I recommend the technique suggested at 
> http://stackoverflow.com/questions/22156030/google-cloud-storage-create-file-name-automatically
>  
> .
>
> However, on an unrelated note, take care: your code seems to be missing 
> the content_type named parameter to the open call, and you'll probably want 
> to add it, as you did in the previous version in the create call.
>
> Alex
>
> On Sat, Jul 25, 2015 at 5:44 AM, Leon Prouger  > wrote:
>
>> Hey folks, I'm learning the new Cloud Storage and question how to I 
>> migrate my app with a least friction.
>>
>> Now I'm using this sample piece of code to save images:
>>
>> from google.appengine.api import images, files
>>
>>
>> def upload(ext, stream):
>>
>> file_name = files.blobstore.create(mime_type=mimetypes.types_map
>> [ext])
>>
>>
>> with files.open(file_name, 'a') as f:
>>
>> f.write(stream.getvalue())
>>
>>
>> files.finalize(file_name)
>>
>> return 
>> images.get_serving_url(files.blobstore.get_blob_key(file_name))
>>
>>
>> Which I'm thinking to change to the next:
>>
>>
>> def upload(ext, stream):
>>
>> filename = "/images/my_file"
>>
>> with gcs.open(filename, 'w') as f:
>>
>> f.write(stream.getvalue())
>>
>>
>> # Blobstore API requires extra /gs to distinguish against blobstore 
>> files.
>>
>> blobstore_filename = '/gs' + filename
>>
>> # This blob_key works with blobstore APIs that do not expect a
>>
>> # corresponding BlobInfo in datastore.
>>
>> blob_key = blobstore.create_gs_key(blobstore_filename)
>>
>> return images.get_serving_url(blob_key)
>>
>>
>> Which seems to work.
>>
>> The problem that in the old version I don't have to worry about 
>> filenames, Files API job was to assign me one. Now I need to give a name 
>> myself. Any way the new api should do it for me? Or maybe I should just 
>> hash the 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-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/145ce87c-e299-4d7f-8c8c-83f2959b5548%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/d539f083-0a1d-4ca5-9b3f-bb69327c196d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help migrating from Files API

2015-07-26 Thread 'Alex Martelli' via Google App Engine
To generate a unique filename, I recommend the technique suggested at
http://stackoverflow.com/questions/22156030/google-cloud-storage-create-file-name-automatically
.

However, on an unrelated note, take care: your code seems to be missing the
content_type named parameter to the open call, and you'll probably want to
add it, as you did in the previous version in the create call.

Alex

On Sat, Jul 25, 2015 at 5:44 AM, Leon Prouger  wrote:

> Hey folks, I'm learning the new Cloud Storage and question how to I
> migrate my app with a least friction.
>
> Now I'm using this sample piece of code to save images:
>
> from google.appengine.api import images, files
>
>
> def upload(ext, stream):
>
> file_name = files.blobstore.create(mime_type=mimetypes.types_map[ext])
>
>
> with files.open(file_name, 'a') as f:
>
> f.write(stream.getvalue())
>
>
> files.finalize(file_name)
>
> return images.get_serving_url(files.blobstore.get_blob_key(file_name))
>
>
> Which I'm thinking to change to the next:
>
>
> def upload(ext, stream):
>
> filename = "/images/my_file"
>
> with gcs.open(filename, 'w') as f:
>
> f.write(stream.getvalue())
>
>
> # Blobstore API requires extra /gs to distinguish against blobstore
> files.
>
> blobstore_filename = '/gs' + filename
>
> # This blob_key works with blobstore APIs that do not expect a
>
> # corresponding BlobInfo in datastore.
>
> blob_key = blobstore.create_gs_key(blobstore_filename)
>
> return images.get_serving_url(blob_key)
>
>
> Which seems to work.
>
> The problem that in the old version I don't have to worry about filenames,
> Files API job was to assign me one. Now I need to give a name myself. Any
> way the new api should do it for me? Or maybe I should just hash the 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/145ce87c-e299-4d7f-8c8c-83f2959b5548%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/CAE46Be9e6BtR-1pyrKvE_gmkY_q1QmUxDc5gd4rniGWSLMSrLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help migrating from Files API

2015-07-25 Thread Leon Prouger
Hey folks, I'm learning the new Cloud Storage and question how to I migrate 
my app with a least friction.

Now I'm using this sample piece of code to save images:

from google.appengine.api import images, files


def upload(ext, stream):

file_name = files.blobstore.create(mime_type=mimetypes.types_map[ext])


with files.open(file_name, 'a') as f:

f.write(stream.getvalue())


files.finalize(file_name)

return images.get_serving_url(files.blobstore.get_blob_key(file_name))


Which I'm thinking to change to the next:


def upload(ext, stream):

filename = "/images/my_file"

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

f.write(stream.getvalue())


# Blobstore API requires extra /gs to distinguish against blobstore 
files.

blobstore_filename = '/gs' + filename

# This blob_key works with blobstore APIs that do not expect a

# corresponding BlobInfo in datastore.

blob_key = blobstore.create_gs_key(blobstore_filename)

return images.get_serving_url(blob_key)


Which seems to work.

The problem that in the old version I don't have to worry about filenames, 
Files API job was to assign me one. Now I need to give a name myself. Any 
way the new api should do it for me? Or maybe I should just hash the 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/145ce87c-e299-4d7f-8c8c-83f2959b5548%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help on a study about choosing the right programming language

2015-07-24 Thread Ciro Morais Medeiros
Hey, guys

I'm working on a research to provide an academic background to support GAE 
developers on choosing the right programming language for a project.
In the study, I evaluate the programming languages according to some 
criteria, among them, readability. To do so, I need your help by analysing 
some code snippets of a simple application written four times (one with 
each programming language supported by App Engine)  and filling a form with 
your answers. The form isn't ready yet, but I'm sure it's not gonna take 
much of your time.

Before launching the form on this forum, however, I wanna be sure this is 
the right place to do it and that I can count on your help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/139f8064-0a6d-46df-be01-e85d0391446d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Google Appengine, domain and data bases

2015-04-30 Thread Vinny P
It sounds like you need to configure a custom domain, which is explained
here: https://cloud.google.com/appengine/docs/domain . As: for configuring
a database, you can choose from the datastore (a NoSQL style storage
service)  or Cloud
SQL: https://cloud.google.com/sql/docs/introduction

You'll have to contact Google for billing support, but you might be able to
pay another way such as direct debit from your bank account:
https://support.google.com/cloud/answer/4356191?hl=en


-
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com



On Thu, Apr 30, 2015 at 10:52 AM, Peter Anderson Vargas Grajales <
peter.varg...@gmail.com> wrote:

> Hello , I have an application on Google AppEngine , and need to configure
> a domain that was hosting another , but do not know how. I also need to
> configure the database in Google AppEngine , I set up my bank card, I have
> a visa electron card, but does not allow me to configure it, and I went to
> the bank and enable all transactions, the problem continues

-- 
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/CALSvALA32j4cyjxoNPJY8cGaBxc3LeSQHZuKQNyS-4ghWPmH4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help Google Appengine, domain and data bases

2015-04-30 Thread Peter Anderson Vargas Grajales
Hello , I have an application on Google AppEngine , and need to configure a 
domain that was hosting another , but do not know how. I also need to configure 
the database in Google AppEngine , I set up my bank card, I have a visa 
electron card, but does not allow me to configure it, and I went to the bank 
and enable all transactions, the problem continues , please help .

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/61193472-89c9-4d05-9855-7f520e68ed46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help : Share Datastore of App Engine with another app engine project

2015-04-23 Thread 'Alex Martelli' via Google App Engine
You can access Google Cloud Datastore "from anywhere" -- see
https://cloud.google.com/datastore/docs .

Alex

On Thu, Apr 23, 2015 at 1:50 PM, Jorge William Rodrigues  wrote:

> Anyone know of any implementation or api own google app engine of
> integration the "datastore" of the projects Google App Engine?  Not using
> Web Services!
> Is it possible to make this integration "datastore"?
> Is there any API
>
> --
> 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/672a6e37-1c0c-45df-b792-bfbb0e7e9498%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/CAE46Be86ZxkgYB4V_hFvUa8jYB6Y4W%3DsCe1mXHhHBFhv02jzVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help : Share Datastore of App Engine with another app engine project

2015-04-23 Thread Jorge William Rodrigues
Anyone know of any implementation or api own google app engine of 
integration the "datastore" of the projects Google App Engine?  Not using 
Web Services!
Is it possible to make this integration "datastore"?
Is there any API

-- 
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/672a6e37-1c0c-45df-b792-bfbb0e7e9498%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2015-04-21 Thread Molded Jelly
Thanks, I created a VM then deleted it... still no daily budget option in 
App Engine settings.
Pretty funny bug, you would think Google would iron this one out quickly in 
order to get customers paying.

-- 
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/875143d5-9fb7-4dd3-ae50-ceb607dd7eb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2015-04-21 Thread Vinny P
On Mon, Apr 20, 2015 at 11:58 PM, Molded Jelly 
 wrote:

> I just created a new project - even created a new billing account first,
> which seems to be a requirement now when creating new projects. I have
> other billed projects charging me fine with the same billing details...
> When using appengine.google.com, it says that billing is controlled
> through the Developer Console, but there is nowhere I can find to "Enable
> Billing" like the old system a couple months ago.
>


I would try going to the cloud console, opening up your project, then
navigating to Compute > Compute Engine. If you haven't set up billing, it
should take you to a billing screen to help set up billing information. If
you have set up billing, try creating and then immediately deleting a
Compute Engine VM.

If you're still seeing errors, try filling out the billing support form:
https://support.google.com/cloud/contact/cloud_platform_billing


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


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2015-04-20 Thread Molded Jelly
I have this exact same problem. I just created a new project - even created 
a new billing account first, which seems to be a requirement now when 
creating new projects. I have other billed projects charging me fine with 
the same billing details... When using appengine.google.com, it says that 
billing is controlled through the Developer Console, but there is nowhere I 
can find to "Enable Billing" like the old system a couple months ago. The 
project just seems stuck in Free mode.
Were you able to resolve on your own, or did Google Support need to do 
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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/82ee54eb-1347-48a0-95b9-8bfc92539df6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2015-04-20 Thread Molded Jelly
I have this exact same problem. I just created a new project - even created 
a new billing account first, which seems to be a requirement now when 
creating new projects. I have other billed projects charging me fine with 
the same billing details... When using appengine.google.com, it says that 
billing is controlled through the Developer Console, but there is nowhere I 
can find to "Enable Billing" like the old system a couple months ago. The 
project just seems stuck in Free mode.
Were you able to resolve on your own, or did Google Support need to do 
something?


On Saturday, May 3, 2014 at 3:38:06 PM UTC+10, Will Reiher wrote:
>
> Wish I could the button is disabled and above it says: 
>
> *Billing for this application is managed from the Google Cloud Console 
> .*
>
>
> On Friday, May 2, 2014 10:35:02 PM UTC-7, Vinny P wrote:
>>
>> Hi Will,
>>
>> On Fri, May 2, 2014 at 11:35 AM, Barry Hunter 
>>  wrote:
>>
>>> There as a mention recently of someone having issue with using the 
>>> socket API, it only cleared up when they ALSO enabled billing via the 
>>> AppEngine console itself. Just enabling billing on the parent cloud project 
>>> wasnt enough. 
>>>
>>> Maybe the same here?
>>>
>>
>>
>> +1. Here's a reference for OP: 
>> https://groups.google.com/d/msg/google-appengine/j58mZuuXjpE/Y-nyK5AdStMJ
>>
>>
>> On Fri, May 2, 2014 at 11:18 AM, Will Reiher  wrote:
>>
>>> I'm running up against resource limitations and there is no way I can 
>>> get billing to activate in App Engine even though it's active on the cloud 
>>> side of things. What do I do?
>>>
>>
>>
>> Activate billing through the App Engine console. Log into the console ( 
>> appspot.com ), and click the link marked Billing Status on the left 
>> navigation bar. 
>>   
>>
>> -
>> -Vinny P
>> Technology & Media Advisor
>> 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/c7099a31-4944-400a-b58d-508b8db12955%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Needed in handling Forms (GAE PHP)

2014-10-06 Thread Vinny P
 On Fri, Oct 3, 2014 at 6:05 AM, Anmol Parashar <4nm0...@gmail.com> wrote:

> I have done everything. From exporting the files to uploading them on the
> App Engine. The only thing I can't figure out is how to upload the 8 .php
> files. I moved them to a different folder but the *upload: *directive
> didn't work. Can you please give me exact commands to write in my
> *app.yaml* for putting them in the root?
>



It's difficult to recommend what you should do, since you're working within
a WYSIWYG editor and not directly handling code and files via an IDE. I
suspect that even if we modified the folder/file structure, Muse would have
issues when building its own internal representation of the site.

If you absolutely must get your site running as soon as possible, the
easiest way would be to replace your forms and integrate Wufoo forms (
http://www.wufoo.com/form-builder/ ) or Google Forms (
http://www.google.com/forms/about/ )

Personally, what I would recommend is making sure your local dev
environment is working correctly. Try downloading the PHP demo guestbook:
https://github.com/GoogleCloudPlatform/appengine-php-guestbook/tree/phase3-staticfiles
- and running it on the App Engine dev server. If you see errors, then your
local computer is at fault (the applications are looking at the wrong path,
etc). If it runs fine, then you can expand on the demo. For instance, you
mentioned emailing the results of the form: the guestbook sample retrieves
the form data from  *$_POST['content']*, so you could expand the guestbook
sample to email the form submission by using the Mail API (
https://cloud.google.com/appengine/docs/php/mail/#PHP_Sending_mail ) to
send the contents of that reference.


-
-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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Needed in handling Forms (GAE PHP)

2014-10-03 Thread Anmol Parashar


>  
>  
> On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm...@gmail.com 
> > wrote:
>
>>
>>   - url: /unsubscribe
>> script: static_website/jl3sxnhv7vv.php
>>
>>   
>  
> I see that your PHP scripts are in your static files directory. You need 
> to move them into their own directory or put them at root.
>  
>  
>
>  I tried to put the php scripts in the root folder and changed my *app.yaml 
*to 

application: subscribershop
> version: 1
> runtime: php
> api_version: 1
> threadsafe: yes
>
> handlers:
> - url: /favicon\.ico
>   static_files: favicon.ico
>   upload: favicon\.ico
>
> #root
> - url: /
>   script: static_website/php
>
> #serve our home page in case index.html is requested
> - url: /index.html
>   static_files: static_website/index.html
>   upload: static_website/index.html
>
>>
>>
Now when I tried to *Browse* the app using my localhost, it gives me an 
error and says,


*Warning*: require(G:\Anmol\subscribershop\static_website\php): failed to 
open stream: Permission denied in *C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php*
 
on line *106*

*Fatal error*: require(): Failed opening required 
'G:\Anmol\subscribershop\static_website\php' 
(include_path='G:\Anmol\subscribershop;C:\Program Files 
(x86)\Google\google_appengine\php\sdk') in *C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php*
 
on line *106*
  

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Needed in handling Forms (GAE PHP)

2014-10-03 Thread Anmol Parashar
I have done everything. From exporting the files to uploading them on the 
App Engine. The only thing I can't figure out is how to upload the 8 .php 
files. I moved them to a different folder but the *upload: *directive 
didn't work. Can you please give me exact commands to write in my *app.yaml* 
for putting them in the root? 

On Friday, October 3, 2014 3:27:39 AM UTC+5:30, Vinny P wrote:
>
>
> On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm...@gmail.com 
> > wrote:
>
>>
>>   I have two forms on my website, one asks for just an email and other a 
>> contact form. Both of them accepts input but can't send the input to where 
>> they are supposed to. A message is displayed, "PHP scripts/files are either 
>> not configured properly or are missing. Contact your host."
>>
>> I made my website using Adobe Muse and their forms uses PHP. I have 
>> provided all my static html files to Google App Engine (which I'm using as 
>> a host) using the Deploy function but whenever I hit deploy, most of the 
>> files are read and uploaded except the 8 .php files. The error says, 
>> *"Mimetype 
>> can't be recognized for *.php. Using application octet stream instead."*
>>
>> *How do I upload my .php files?*
>>
>>   
>  
>  
> Are you deploying within Adobe Muse, or deploying using the App Engine SDK 
> outside of Muse? If you're attempting to deploy while inside of Muse, try 
> this: open your project in Muse, then go to File > Export HTML and save a 
> copy of your website on your local disk. Then download and install the App 
> Engine PHP SDK ( https://cloud.google.com/appengine/downloads ) and use 
> it to upload your local website copy to App Engine. Here are uploading 
> directions: 
> https://cloud.google.com/appengine/docs/php/gettingstarted/uploading
>  
>  
> On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm...@gmail.com 
> > wrote:
>
>>
>>   - url: /unsubscribe
>> script: static_website/jl3sxnhv7vv.php
>>
>>   
>  
> I see that your PHP scripts are in your static files directory. You need 
> to move them into their own directory or put them at root.
>  
>  
> On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm...@gmail.com 
> > wrote:
>
>>
>>*PS:* The support at Adobe Muse says that PHP is not configured. 
>> Contact the server admin. How do I tell Google To enable php?
>>
>  
>  
> PHP is already configured in App Engine, you don't need to do anything 
> special.
>  
>  
> -
> -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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Needed in handling Forms (GAE PHP)

2014-10-02 Thread Vinny P
On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm0...@gmail.com> wrote:

>
>   I have two forms on my website, one asks for just an email and other a
> contact form. Both of them accepts input but can't send the input to where
> they are supposed to. A message is displayed, "PHP scripts/files are either
> not configured properly or are missing. Contact your host."
>
> I made my website using Adobe Muse and their forms uses PHP. I have
> provided all my static html files to Google App Engine (which I'm using as
> a host) using the Deploy function but whenever I hit deploy, most of the
> files are read and uploaded except the 8 .php files. The error says, 
> *"Mimetype
> can't be recognized for *.php. Using application octet stream instead."*
>
> *How do I upload my .php files?*
>
>


Are you deploying within Adobe Muse, or deploying using the App Engine SDK
outside of Muse? If you're attempting to deploy while inside of Muse, try
this: open your project in Muse, then go to File > Export HTML and save a
copy of your website on your local disk. Then download and install the App
Engine PHP SDK ( https://cloud.google.com/appengine/downloads ) and use it
to upload your local website copy to App Engine. Here are uploading
directions:
https://cloud.google.com/appengine/docs/php/gettingstarted/uploading


On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm0...@gmail.com> wrote:

>
>   - url: /unsubscribe
> script: static_website/jl3sxnhv7vv.php
>
>

I see that your PHP scripts are in your static files directory. You need to
move them into their own directory or put them at root.


On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm0...@gmail.com> wrote:

>
>*PS:* The support at Adobe Muse says that PHP is not configured.
> Contact the server admin. How do I tell Google To enable php?
>


PHP is already configured in App Engine, you don't need to do anything
special.


-
-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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help Needed in handling Forms (GAE PHP)

2014-10-02 Thread Anmol Parashar

  
I'm trying to set up my new website using *Google App Engine (PHP)*. I have 
bought the domain and my website is working fine. Well, kind of. I have two 
forms on my website, one asks for just an email and other a contact form. 
Both of them accepts input but can't send the input to where they are 
supposed to. A message is displayed, "PHP scripts/files are either not 
configured properly or are missing. Contact your host."

*Here's the thing*,

I made my website using Adobe Muse and their forms uses PHP. I have 
provided all my static html files to Google App Engine (which I'm using as 
a host) using the Deploy function but whenever I hit deploy, most of the 
files are read and uploaded except the 8 .php files. The error says, *"Mimetype 
can't be recognized for *.php. Using application octet stream instead."*

*How do I upload my .php files?* (What to write in my app.yaml)

I can use the *script:* operative for lets say *index.php* but that page 
only requires two more php files to run the form and we can't use *script:* 
3 times for a single page.

*If you have any knowledge of HTML or HTML5, can you tell me how to make a 
form that doesn't use PHP?*

I'm not using a database. The only thing the form has to do is to send the 
input to an email.

My website is Subscriber Shop .

My app.yaml currently,

> application: sub
>> version: 1
>> runtime: php
>> api_version: 1
>> threadsafe: yes
>>
>> handlers:
>> - url: /favicon\.ico
>> static_files: favicon.ico
>> upload: favicon\.ico
>>
>> - url: /
>> static_files: static_website/index.html
>> upload: static_website/index.html
>>
>> - url: /index.html
>> static_files: static_website/index.html
>> upload: static_website/index.html
>>
>> #specific html pages:
>> - url: /about-us.html
>> static_files: static_website/about-us.html
>> upload: static_website/about-us.html
>>
>> - url: /faqs.html
>> static_files: static_website/faqs.html
>> upload: static_website/faqs.html
>>
>> - url: /drop-a-word.html
>> static_files: static_website/drop-a-word.html
>> upload: static_website/drop-a-word.html
>>
>> - url: /unsubscribe
>> script: static_website/jl3sxnhv7vv.php
>>
>> - url: /css
>> static_dir: static_website/css
>>
>> - url: /images
>> static_dir: static_website/images
>>
>> - url: /scripts
>> static_dir: static_website/scripts
>>
>> - url: /phone
>> static_dir: static_website/phone
>>
>> - url: /.*
>> static_files: static_website/what-what.html 
>> upload: static_website/what-what.html
>>
>> inbound_services:
>> - mail
>> - xmpp_subscribe
>>
>>

My index page, contact page and another are supposed to have these 3 forms 
and they use a total of 8 .php files that are in *static_website/scripts*

Can anyone please help?

 *PS:* The support at Adobe Muse says that PHP is not configured. Contact 
the server admin. How do I tell Google To enable 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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help indentify http://code.google.com/appengine;+appid:+s~repcore-prod

2014-05-09 Thread Vinny P
On Fri, May 9, 2014 at 9:12 AM, CreativeCL  wrote:

> We are trying to identify hits on a website I'm associate with from the
> following app runing on AppEngine
> AppEngine-Google;+(+
> http://code.google.com/appengine;+appid:+s~repcore-prod)
> This hits the website quite frequently even though it is being server http
> 403
> an anyone help identify the purpose of this app?
>


The application ID is the part after *s~*, so the app in question looks to
be named *repcore-prod*. You can visit the app by going to *repcore-prod .
appspot . com* (remove the spaces).

As for the purpose of the app, you'll have to speak to whoever wrote it.
But if you want to report suspected abuse, you can go to
https://support.google.com/code/contact/cloud_platform_report?hl=en


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help indentify http://code.google.com/appengine;+appid:+s~repcore-prod

2014-05-09 Thread CreativeCL
Hello,

We are trying to identify hits on a website I'm associate with from the 
following app runing on AppEngine

AppEngine-Google;+(+http://code.google.com/appengine;+appid:+s~repcore-prod)

This hits the website quite frequently even though it is being server http 
403

Can anyone help identify the purpose of this app?

Thank You

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! appcfg.py upload_data java heap out of memory error

2014-05-08 Thread Vinny P
On Sat, May 3, 2014 at 9:55 PM, ruixiang  wrote:
>
> I am encountering out of java heap memory when uploading data to my app
> using the appcfg.py
>


Can you post the exact text of the error, including any stack trace (if
shown)?


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] [HELP] SSL Error using custom domain with Google App Engine

2014-05-05 Thread Vinny P
On Tue, Apr 29, 2014 at 9:10 PM, Rain  wrote:

> Now when I go to http://test.mydomain.com/wp-admin, it redirects to https
> ://test.mydomain.com/wp-admin and I get an SSL connection error (Unable
> to make a secure connection to the server.)
>


Do you have a SSL certificate added to your Apps account?

Try visiting your website through your appspot URL (
your-application-id.appspot.com rather than test.mydomain.com ) and see if
you can configure WP through that.


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] [HELP] SSL Error using custom domain with Google App Engine

2014-05-05 Thread Rain


I followed the steps detailed 
here
 to 
setup up and run WordPress on Google App Engine then

I followed the steps detailed 
here to 
use a custom domain with google app engine.

   - I'm the admin of the Google Apps account
   - I'm the owner of the Google App Engine account
   - I've added the domain to my Google Apps account through my App Engine 
   account
   - I see my App Engine app in my Google Apps account
   - I set the CNAME "test" to point to ghs.googlehosted.com
   - I added the web address under my Google Apps account and it says "Your 
   users can access my-app-id at: test.mydomain.com

Now when I go to http://test.mydomain.com/wp-admin, it redirects to https
://test.mydomain.com/wp-admin and I get an SSL connection error (Unable to 
make a secure connection to the server.)


Please HELP!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help! appcfg.py upload_data java heap out of memory error

2014-05-05 Thread ruixiang

Hello Everyone! I am encountering out of java heap memory when uploading 
data to my app using the appcfg.py

*appcfg.py upload_data --url http://localhost:8080/_ah/remote_api 
--filename download_data*

The data file is about 400MB. I monitored the JVM used by the google 
appengine when uploading data, and it will not acquire more memory after it 
reaches a threshold of 300MB. And it will crash several minutes after it 
reaches the threshold. How can I solve this problem? I cannot work properly 
without all of my data. Thanks so much!

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2014-05-02 Thread Will Reiher
Wish I could the button is disabled and above it says: 

*Billing for this application is managed from the Google Cloud Console 
.*


On Friday, May 2, 2014 10:35:02 PM UTC-7, Vinny P wrote:
>
> Hi Will,
>
> On Fri, May 2, 2014 at 11:35 AM, Barry Hunter 
> 
> > wrote:
>
>> There as a mention recently of someone having issue with using the socket 
>> API, it only cleared up when they ALSO enabled billing via the AppEngine 
>> console itself. Just enabling billing on the parent cloud project wasnt 
>> enough. 
>>
>> Maybe the same here?
>>
>
>
> +1. Here's a reference for OP: 
> https://groups.google.com/d/msg/google-appengine/j58mZuuXjpE/Y-nyK5AdStMJ
>
>
> On Fri, May 2, 2014 at 11:18 AM, Will Reiher 
> > wrote:
>
>> I'm running up against resource limitations and there is no way I can get 
>> billing to activate in App Engine even though it's active on the cloud side 
>> of things. What do I do?
>>
>
>
> Activate billing through the App Engine console. Log into the console ( 
> appspot.com ), and click the link marked Billing Status on the left 
> navigation bar. 
>   
>
> -
> -Vinny P
> Technology & Media Advisor
> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2014-05-02 Thread Vinny P
Hi Will,

On Fri, May 2, 2014 at 11:35 AM, Barry Hunter 
 wrote:

> There as a mention recently of someone having issue with using the socket
> API, it only cleared up when they ALSO enabled billing via the AppEngine
> console itself. Just enabling billing on the parent cloud project wasnt
> enough.
>
> Maybe the same here?
>


+1. Here's a reference for OP:
https://groups.google.com/d/msg/google-appengine/j58mZuuXjpE/Y-nyK5AdStMJ


On Fri, May 2, 2014 at 11:18 AM, Will Reiher  wrote:

> I'm running up against resource limitations and there is no way I can get
> billing to activate in App Engine even though it's active on the cloud side
> of things. What do I do?
>


Activate billing through the App Engine console. Log into the console (
appspot.com ), and click the link marked Billing Status on the left
navigation bar.


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2014-05-02 Thread Barry Hunter
There as a mention recently of someone having issue with using the socket
API, it only cleared up when they ALSO enabled billing via the AppEngine
console itself. Just enabling billing on the parent cloud project wasnt
enough.

Maybe the same here?


On 2 May 2014 17:18, Will Reiher  wrote:

> I'm running up against resource limitations and there is no way I can get
> billing to activate in App Engine even though it's active on the cloud side
> of things. What do I do?
>
> --
> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help! Cloud billing is active but app engine is stuck at FREE.

2014-05-02 Thread Will Reiher
I'm running up against resource limitations and there is no way I can get 
billing to activate in App Engine even though it's active on the cloud side 
of things. What do I do?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Solving NameError: name 'guestbook_name' is not defined.

2014-03-26 Thread Dan Sprague
I figured it out...I used the cloud playground to examine the guestbook.py 
code and saw that my file had some additional code that needed to be 
removed. Everything is working as expected now.

On Wednesday, March 26, 2014 9:18:00 PM UTC-4, Dan Sprague wrote:
>
> Vinny,
>
> I am using the app.yaml with the libraries added, made the changes 
> MainPage handler changes to guestbook.py, and created the HTML index file 
> as outlined in the tutorial but, no luck. 
>
> Thanks for your help I appreciate the reply!
>
> On Wednesday, March 26, 2014 2:06:19 AM UTC-4, Vinny P wrote:
>>
>> On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague  wrote:
>>
>>> I am walking through the Google Application Engine Python tutorial for 
>>> building a guestbook and have it a snag. I am following the instrcutions in 
>>> the using templates section of the process and I can't seem to overcome 
>>> this simple name issue: NameError: name 'guestbook_name' is not defined. 
>>>
>>> Here is the error message from Google Application Launcher:
>>>
>>> File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in 
>>> MainPage
>>>
>>> ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
>>>
>>> NameError: name 'guestbook_name' is not defined
>>>
>>> INFO 2014-03-24 00:05:36,343 module.py:621] default: "GET 
>>> /?guestbook_name=default_guestbook HTTP/1.1" 500 -
>>>
>>>  
>>
>> Is your application loading in the template files that are part of the 
>> tutorial? The template files are important because they assign the value of 
>> *guestbook_name*. Make sure you've added in all the files listed in 
>> https://developers.google.com/appengine/docs/python/gettingstartedpython27/templates.
>>
>>  
>>  
>> -
>> -Vinny P
>> Technology & Media Advisor
>> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help Solving NameError: name 'guestbook_name' is not defined.

2014-03-26 Thread Dan Sprague
Vinny,

I am using the app.yaml with the libraries added, made the changes MainPage 
handler changes to guestbook.py, and created the HTML index file as 
outlined in the tutorial but, no luck. 

Thanks for your help I appreciate the reply!

On Wednesday, March 26, 2014 2:06:19 AM UTC-4, Vinny P wrote:
>
> On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague 
> > wrote:
>
>> I am walking through the Google Application Engine Python tutorial for 
>> building a guestbook and have it a snag. I am following the instrcutions in 
>> the using templates section of the process and I can't seem to overcome 
>> this simple name issue: NameError: name 'guestbook_name' is not defined. 
>>
>> Here is the error message from Google Application Launcher:
>>
>> File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in 
>> MainPage
>>
>> ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
>>
>> NameError: name 'guestbook_name' is not defined
>>
>> INFO 2014-03-24 00:05:36,343 module.py:621] default: "GET 
>> /?guestbook_name=default_guestbook HTTP/1.1" 500 -
>>
>>  
>
> Is your application loading in the template files that are part of the 
> tutorial? The template files are important because they assign the value of 
> *guestbook_name*. Make sure you've added in all the files listed in 
> https://developers.google.com/appengine/docs/python/gettingstartedpython27/templates.
>
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> 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.
For more options, visit https://groups.google.com/d/optout.

{% autoescape true %}

  
{% for greeting in greetings %}
  {% if greeting.author %}
{{ greeting.author.nickname() }} wrote:
  {% else %}
   An anonymous person wrote:
  {% endif %}
  {{ greeting.content }}
{% endfor %}


  
  




Guestbook name:
  
  


{{ url_linktext }}

  

{% endautoescape %}

app.yaml
Description: Binary data
import os
import urllib

from google.appengine.api import users
from google.appengine.ext import ndb

import jinja2
import webapp2

JINJA_ENVIRONMENT = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=['jinja2.ext.autoescape'],
autoescape=True)

MAIN_PAGE_FOOTER_TEMPLATE = """\

  
  




Guestbook name:
  
  


%s

  

"""

DEFAULT_GUESTBOOK_NAME = 'default_guestbook'

# We set a parent key on the 'Greetings' to ensure that they are all in the same
# entity group. Queries across the single entity group will be consistent.
# However, the write rate should be limited to ~1/second.

def guestbook_key(guestbook_name=DEFAULT_GUESTBOOK_NAME):
"""Constructs a Datastore key for a Guestbook entity with guestbook_name."""
return ndb.Key('Guestbook', guestbook_name)

class Greeting(ndb.Model):
"""Models an individual Guestbook entry with author, content, and date."""
author = ndb.UserProperty()
content = ndb.StringProperty(indexed=False)
date = ndb.DateTimeProperty(auto_now_add=True)

class MainPage(webapp2.RequestHandler):

def get(self):
guestbook_name = self.request.get('guestbook_name',
  DEFAULT_GUESTBOOK_NAME)
greetings_query = Greeting.query(
ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
greetings = greetings_query.fetch(10)

if users.get_current_user():
url = users.create_logout_url(self.request.uri)
url_linktext = 'Logout'
else:
url = users.create_login_url(self.request.uri)
url_linktext = 'Login'

template_values = {
'greetings': greetings,
'guestbook_name': urllib.quote_plus(guestbook_name),
'url': url,
'url_linktext': url_linktext,
}

template = JINJA_ENVIRONMENT.get_template('index.html')
self.response.write(template.render(template_values))


class Guestbook(webapp2.RequestHandler):

def post(self):
# We set the same parent key on the 'Greeting' to ensure each Greeting
# is in the same entity group. Queries across the single entity group
# will be consistent. However, the write rate to a single entity group
# should be limited to ~1/second.
guestbook_name = self.request.get('guestbook_name',
  DEFAULT_GUESTBOOK_NAME)
greeting = Greeting(parent=guestbook_key(guestbook_name))

if users.get_current

Re: [google-appengine] Help Solving NameError: name 'guestbook_name' is not defined.

2014-03-25 Thread Vinny P
On Mon, Mar 24, 2014 at 8:25 PM, Dan Sprague  wrote:

> I am walking through the Google Application Engine Python tutorial for
> building a guestbook and have it a snag. I am following the instrcutions in
> the using templates section of the process and I can't seem to overcome
> this simple name issue: NameError: name 'guestbook_name' is not defined.
>
> Here is the error message from Google Application Launcher:
>
> File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in MainPage
>
> ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
>
> NameError: name 'guestbook_name' is not defined
>
> INFO 2014-03-24 00:05:36,343 module.py:621] default: "GET
> /?guestbook_name=default_guestbook HTTP/1.1" 500 -
>
>

Is your application loading in the template files that are part of the
tutorial? The template files are important because they assign the value of
*guestbook_name*. Make sure you've added in all the files listed in
https://developers.google.com/appengine/docs/python/gettingstartedpython27/templates.



-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help Solving NameError: name 'guestbook_name' is not defined.

2014-03-25 Thread Dan Sprague


I am walking through the Google Application Engine Python tutorial for 
building a guestbook and have it a snag. I am following the instrcutions in 
the using templates section of the process and I can't seem to overcome 
this simple name issue: NameError: name 'guestbook_name' is not defined. 

Here is the error message from Google Application Launcher:

File "/Users/spragued/Desktop/guestbook/guestbook.py", line 56, in MainPage

ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)

NameError: name 'guestbook_name' is not defined

INFO 2014-03-24 00:05:36,343 module.py:621] default: "GET 
/?guestbook_name=default_guestbook HTTP/1.1" 500 -


I have attached my guestbook.py file for review...any help would be 
appreciated! Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.
import os
import urllib

from google.appengine.api import users
from google.appengine.ext import ndb

import jinja2
import webapp2

JINJA_ENVIRONMENT = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=['jinja2.ext.autoescape'],
autoescape=True)

MAIN_PAGE_FOOTER_TEMPLATE = """\

  
  




Guestbook name:
  
  


%s

  

"""

DEFAULT_GUESTBOOK_NAME = 'default_guestbook'

# We set a parent key on the 'Greetings' to ensure that they are all in the same
# entity group. Queries across the single entity group will be consistent.
# However, the write rate should be limited to ~1/second.

def guestbook_key(guestbook_name=DEFAULT_GUESTBOOK_NAME):
"""Constructs a Datastore key for a Guestbook entity with guestbook_name."""
return ndb.Key('Guestbook', guestbook_name)

class Greeting(ndb.Model):
"""Models an individual Guestbook entry with author, content, and date."""
author = ndb.UserProperty()
content = ndb.StringProperty(indexed=False)
date = ndb.DateTimeProperty(auto_now_add=True)

class MainPage(webapp2.RequestHandler):

def get(self):
guestbook_name = self.request.get('guestbook_name',
  DEFAULT_GUESTBOOK_NAME)
greetings_query = Greeting.query(
ancestor=guestbook_key(guestbook_name)).order(-Greeting.date)
greetings = greetings_query.fetch(10)

if users.get_current_user():
url = users.create_logout_url(self.request.uri)
url_linktext = 'Logout'
else:
url = users.create_login_url(self.request.uri)
url_linktext = 'Login'

template_values = {
'greetings': greetings,
'guestbook_name': urllib.quote_plus(guestbook_name),
'url': url,
'url_linktext': url_linktext,
}

template = JINJA_ENVIRONMENT.get_template('index.html')
self.response.write(template.render(template_values))


class Guestbook(webapp2.RequestHandler):

def post(self):
# We set the same parent key on the 'Greeting' to ensure each Greeting
# is in the same entity group. Queries across the single entity group
# will be consistent. However, the write rate to a single entity group
# should be limited to ~1/second.
guestbook_name = self.request.get('guestbook_name',
  DEFAULT_GUESTBOOK_NAME)
greeting = Greeting(parent=guestbook_key(guestbook_name))

if users.get_current_user():
greeting.author = users.get_current_user()

greeting.content = self.request.get('content')
greeting.put()

query_params = {'guestbook_name': guestbook_name}
self.redirect('/?' + urllib.urlencode(query_params))


application = webapp2.WSGIApplication([
('/', MainPage),
('/sign', Guestbook),
], debug=True)

Re: [google-appengine] Help! App Custom Domains Failing - Site is down.

2014-03-13 Thread Vinny P
On Tue, Mar 11, 2014 at 3:49 PM, Jay Kyburz  wrote:

> Just got up to discover that my custom domains are not working this
> morning. My site is effectively down.
> When visiting my apps on their custom domain they all are simply
> redirected to the google search page.
>
> (I can still access the site via the appspot url, but my users don't know
> it. )
>
> http:triton.ironhelmet.com
> I don't remember what the settings should look like in Application
> Settings, but there is no reference to my domain under the Domain Setup sub
> heading.
>
>

Hi Jay,

I see you posted this message a few days ago. Are you still experiencing
issues? I tried the link you provided from a number of different machines
on different networks, and they all resolved to the correct address.


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help deleting or editing app on an account I can't get into

2014-03-13 Thread Vinny P
On Tue, Mar 11, 2014 at 8:03 PM, Ozzy Pyro  wrote:

> I made an app oh probably 4+ years ago by now, and now I want it gone or
> for the address it is at to redirect to a new page. I made a new one now
> that I have a better understanding of HTML. The app I want removed or for
> the address to redirect is located at ozzy-new-playground.appspot.com and
> I have tried going through all my accounts but it was hiding on none of
> them. So the only account it could be on is one I can't get into anymore, I
> don't have that phone number anymore and I can't recall enough account info
> since it was so long go and I was like 13 :/ and ideas or suggestions??
>


If you absolutely must get the application down, you can file an issue
here:
https://code.google.com/p/googleappengine/issues/entry?template=Production%20issue

But before you do that, consider this: there's no particular reason to shut
the site down. This looks like a simple proxy, it doesn't look particularly
dangerous or annoying. And you might find yourself wanting to look back on
the work your 13-year-old self did :-)


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Help - more than 100 URLMap entries

2014-03-13 Thread Vinny P
On Fri, Feb 28, 2014 at 4:50 PM, M. Hossein Amerkashi 
 wrote:

> I was using appengine-java-sdk-1.7.2 to deploy my application and all was
> going fine.
> Now, I have to upgrade to java. So I believe I have made the switch.
> However, when I try to upload, it prevents me from deployment because I get
> this message:
> *   Java 6 applications are prevented from being deployed to Google App
> Engine from any version of the SDK, including older ones*
>
> Then I switch to any version higher than +appengine-java-sdk-1.7.4 and I
> get:
> *   Found more than 100 URLMap entries in application configuration*
>
> Is there anyway to change this default of 100?
>



If this is a regression from Java 7, you could always request whitelisting
of your Java 6 app using this form: http://goo.gl/ycffXq

If you don't want to do that, then the best way would be to look at the URL
paths and see if there's a way to consolidate multiple URL path entries
into fewer entries: for an example, see this SO post:
http://stackoverflow.com/questions/11298401/google-app-engine-100-urlmap-entries-limitation

If you can't do any consolidation, you can configure a ServletFilter class
to interpret incoming requests and hand them off to the appropriate
servlets. This should be avoided if possible though, since it can add
additional latency to requests.


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help deleting or editing app on an account I can't get into

2014-03-12 Thread Ozzy Pyro
I made an app oh probably 4+ years ago by now, and now I want it gone or 
for the address it is at to redirect to a new page. I made a new one now 
that I have a better understanding of HTML. The app I want removed or for 
the address to redirect is located at ozzy-new-playground.appspot.com and I 
have tried going through all my accounts but it was hiding on none of them. 
So the only account it could be on is one I can't get into anymore, I don't 
have that phone number anymore and I can't recall enough account info since 
it was so long go and I was like 13 :/ and ideas or suggestions??

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help! App Custom Domains Failing - Site is down.

2014-03-12 Thread Jay Kyburz
Just got up to discover that my custom domains are not working this 
morning. My site is effectively down. 
When visiting my apps on their custom domain they all are simply redirected 
to the google search page. 

(I can still access the site via the appspot url, but my users don't know 
it. )

http:triton.ironhelmet.com

This issues seem limited to app engine as I am still able to access my mail 
and docs. 

I don't remember what the settings should look like in Application 
Settings, but there is no reference to my domain under the Domain Setup sub 
heading.

Do I need to add them again or will the issue resolve itself?

My site is still getting some traffic so perhaps the domain changes have 
not spread around DNS's (I dont know much about how this works)

HELP

Jay.








-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Help - more than 100 URLMap entries

2014-03-12 Thread M. Hossein Amerkashi
Hello,

I was using appengine-java-sdk-1.7.2 to deploy my application and all was 
going fine.
Now, I have to upgrade to java. So I believe I have made the switch. 
However, when I try to upload, it prevents me from deployment because I get 
this message:
*   Java 6 applications are prevented from being deployed to Google App 
Engine from any version of the SDK, including older ones*

Then I switch to any version higher than +appengine-java-sdk-1.7.4 and I 
get:
*   Found more than 100 URLMap entries in application configuration*

Is there anyway to change this default of 100?

Thanks in advance

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] help? weird email?!??!!Dear Google App Engine customers, You are receiving this notification because you are listed as an admin of the following app(s):

2014-02-11 Thread freebo99
hi 

got the below email

I have no idea why? or what its talking about?

admin for app s~constant-crow-218? I never heard of it?

I am not an admin on anything never mind writing an app.

has someone got my email password and added me as a admin using my 
password? do I need to change my password?

how to I check if someone access my email other that my ip?

in general what the hell is the email talking about?

many thx

freebo


email here

Dear Google App Engine customers, 

You are receiving this notification because you are listed as an admin of 
the following app(s): 

s~constant-crow-218 

Our goal is to make it easier for Google Cloud Platform customers to find 
and understand Terms of Service, Deprecation Policy and Service Level 
Agreements, covering all current and future Cloud Platform products and 
services. 

The Google Cloud Platform team would like to make sure you are aware of 
some changes we've recently made to the Google App Engine Terms of Service 
(ToS) as well as how and where we communicate Deprecation Policy and 
Service Level Agreement (SLA) information to our users. 

We have written the Google Cloud Platform Terms of Service to include 
Google App Engine, thereby replacing the Google App Engine Terms of 
Service. 

One important change for App Engine customers is that material changes that 
Google makes to the Terms of Service will become effective 30 days after 
posting the updates for App Engine customers to review (previously it was 
90 days). A summary of changes can be reviewed at the following URL: 
*https://developers.google.com/*cloud/terms/terms-change-summary
 

We have also consolidated all Deprecation Policy information into a single 
URL that explicitly lists Cloud Platform products, versions, features, and 
functionality that are subject to the Deprecation Policy as well as any 
products, versions, features, or functionality that are excluded from the 
Deprecation Policy. The consolidated URL is: https://developers.google.com/
cloud/terms/deprecation
 

Finally, we have updated our Service Level 
Agreementsto
 clarify and unify them, include provisions for Cloud Platform Resellers, 
and modified our SLA Exclusions so that features and services designated as 
experimental, limited preview, or preview are excluded from the SLA unless 
otherwise set forth in the documentation for that feature or service. You 
can view the updated SLA at the following URL: 
https://developers.google.com/appengine/sla
 

These changes will apply to your account starting May 1, 2014. We hope they 
will make it easier for you to find and understand this important 
information. 

Sincerely, 

--The Google Cloud Platform team 

 © 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043 

You have received this mandatory email service announcement to update you 
about important changes to Google Cloud Platform or your account.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] help got this email? You are receiving this notification because you are listed as an admin of the following app(s):

2014-02-11 Thread freebo99

hi 

got the below email

I have no idea why? or what its talking about?

admin for app s~constant-crow-218? I never heard of it?

I am not an admin on anything never mind writing an app.

has someone got my email password and added me as a admin using my 
password? do I need to change my password?

how to I check if someone access my email other that my ip?

in general what the hell is the email talking about?

many thx

freebo


email here

Dear Google App Engine customers, 

You are receiving this notification because you are listed as an admin of 
the following app(s): 

s~constant-crow-218 

Our goal is to make it easier for Google Cloud Platform customers to find 
and understand Terms of Service, Deprecation Policy and Service Level 
Agreements, covering all current and future Cloud Platform products and 
services. 

The Google Cloud Platform team would like to make sure you are aware of 
some changes we've recently made to the Google App Engine Terms of Service 
(ToS) as well as how and where we communicate Deprecation Policy and 
Service Level Agreement (SLA) information to our users. 

We have written the Google Cloud Platform Terms of Service to include 
Google App Engine, thereby replacing the Google App Engine Terms of 
Service. 

One important change for App Engine customers is that material changes that 
Google makes to the Terms of Service will become effective 30 days after 
posting the updates for App Engine customers to review (previously it was 
90 days). A summary of changes can be reviewed at the following URL: 
*https://developers.google.com/*cloud/terms/terms-change-summary
 

We have also consolidated all Deprecation Policy information into a single 
URL that explicitly lists Cloud Platform products, versions, features, and 
functionality that are subject to the Deprecation Policy as well as any 
products, versions, features, or functionality that are excluded from the 
Deprecation Policy. The consolidated URL is: https://developers.google.com/
cloud/terms/deprecation
 

Finally, we have updated our Service Level 
Agreementsto
 clarify and unify them, include provisions for Cloud Platform Resellers, 
and modified our SLA Exclusions so that features and services designated as 
experimental, limited preview, or preview are excluded from the SLA unless 
otherwise set forth in the documentation for that feature or service. You 
can view the updated SLA at the following URL: 
https://developers.google.com/appengine/sla
 

These changes will apply to your account starting May 1, 2014. We hope they 
will make it easier for you to find and understand this important 
information. 

Sincerely, 

--The Google Cloud Platform team 

 © 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043 

You have received this mandatory email service announcement to update you 
about important changes to Google Cloud Platform or your account.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] [HELP] My gae keep failing with error 121

2013-12-10 Thread Hang Zhao
Hi,

>From this morning, my application keeps failing with error 121. I've no 
idea what's happening there and I believe the problem is not due to our 
code since I duplicate the application with another id and it works well.

My application id is phoevereverdev2. Can anyone help me out this 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Help regarding App

2013-11-18 Thread Vinny P
On Thu, Nov 14, 2013 at 9:14 AM, Piyush Thakur 
 wrote:

>
> I have developed a JAVA code with the help of Netbeans IDE, but I want to
> upload it as an app on Google. Please help me. I have attached the file of
> the code.
>


Hi,

It looks as if you've attached a .class file, which is the compiled version
of the code. Please attach the .java source file, or preferably a small
test case that demonstrates your issue.

-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Help regarding App

2013-11-18 Thread Piyush Thakur

I have developed a JAVA code with the help of Netbeans IDE, but I want to 
upload it as an app on Google. Please help me. I have attached the file of 
the 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.
For more options, visit https://groups.google.com/groups/opt_out.


Retirement$1.class
Description: application/java-vm


Re: [google-appengine] HELP ME IN GOOGLE APP ENGINE !!!

2013-11-07 Thread Vinny P
On Wed, Nov 6, 2013 at 2:01 PM, Hassan Hamed  wrote:

> PLEASE ANY GOOD GOOGLE APP ENGINE GURU HERE ? TO HELP ME SOLVE MY PROBLEM
> ?? MY WEBSITE ON LOCALHOST:8080 NOT SHOWING IMAGES AND NOT USING THE CSS :(
>
> DO I NEED TO SPECIY ALL THOSE STUFFS IN YAML ?
>
>

Yes. Static assets (such as images, CSS, JS, etc files) need to have their
paths set in app.yaml. There are examples in the documentation:
https://developers.google.com/appengine/docs/python/config/appconfig#Python_app_yaml_Static_file_pattern_handlers


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] HELP ME IN GOOGLE APP ENGINE !!!

2013-11-07 Thread Hassan Hamed
PLEASE ANY GOOD GOOGLE APP ENGINE GURU HERE ? TO HELP ME SOLVE MY PROBLEM 
?? MY WEBSITE ON LOCALHOST:8080 NOT SHOWING IMAGES AND NOT USING THE CSS :( 

DO I NEED TO SPECIY ALL THOSE STUFFS IN YAML ?

THANKS

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Help Understand App.yaml

2013-08-29 Thread Vinny P
Hello John,

On Tue, Aug 27, 2013 at 9:19 PM, John M  wrote:

> So, doesn't the file extension already indicate how a file should be
> handled?
>


No. Dynamic applications can and frequently do rewrite URLs internally at
will. File extensions can be ignored as well.

This isn't a new feature. All modern web servers have supported this for
some time now. For example, Apache has mod_rewrite (
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html ).


On Tue, Aug 27, 2013 at 9:19 PM, John M  wrote:

> Is it possible to tell the engine to handle .html files as .py files and
> if the content is python will that actually work?
>
>

Sure. You could for example wildcard an entire directory and say that any
requests to that directory are to be handled by a specific script, even if
the end of the URL shows a HTML extension (although you do need to note
that it's a script handler and not a static file in app.yaml).


On Tue, Aug 27, 2013 at 9:19 PM, John M  wrote:

> It seems redundant but that doesn't seem smart so assuming that isn't true
> what don't I understand?
>


Also note that App Engine treats application code (scripts) separately from
static assets. Static assets are hosted separately for fast access by the
client. See
https://developers.google.com/appengine/docs/python/config/appconfig#Python_app_yaml_Static_file_handlersfor
more information.


On Tue, Aug 27, 2013 at 9:19 PM, John M  wrote:

> I realize that with app.yaml you can also specify that all graphics (or
> whatever file pattern) are in a certain directory, etc.. but can't you just
> reference that directory in the original call to the graphic from the html?
>


No you can't, because the client's request and the server's interpretation
of the request are two completely different things. The client can request
whatever it wants; the server is entitled to reroute the request as it
feels, or even to refuse the request altogether. The static file, as
served, may be in a completely different location within the application.

For instance, take the classic example of favicon.ico. Here's how most
people map the icon:

*- url: /favicon.ico*
*static_files: static/favicon.ico*
*upload: static/favicon.ico*

So what this says is that there's an icon image located in the folder
/static/. But if the user requests the image, it looks like the image is in
the root folder (which it really isn't if we looked at the application
folder).


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Help Understand App.yaml

2013-08-28 Thread John M
I'm struggling to understand the point of the handlers section of the 
app.yaml.  It seems redundant but that doesn't seem smart so assuming that 
isn't true what don't I understand?

So, doesn't the file extension already indicate how a file should be 
handled?  Is it possible to tell the engine to handle .html files as .py 
files and if the content is python will that actually work?

I realize that with app.yaml you can also specify that all graphics (or 
whatever file pattern) are in a certain directory, etc.. but can't you just 
reference that directory in the original call to the graphic from the html? 
 Is there an advantage to having to create and specify an app.yaml file to 
avoid having to specify where files are in the directory structure?

I'm new to python and google app engine but I've worked with VB, .NET, 
HTML, CSS, javascript, COM, etc... and before diving in to this structure 
I'd like to understand the point of it's components.  I've tried to search 
and find the point of app.yaml but so far I've come up blank.  Links or 
reasoning would be appreciated.

Thank You

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Help Help

2013-08-02 Thread Vinny P
On Thu, Aug 1, 2013 at 1:04 AM, Steven You  wrote:

> we are currently having issue with our app engine server.
> We were overall paying 210 USD daily (average) but in some how our
> "Frontend instance hours" increased dramatically (please refer to the
> attachment)
> Therefore, it reached up to 1,000USD daily budget limit. Does any other
> companies had similar issues? or do we have to look at any particular point
> to look at to resolve this issue?
> Our engineer is analyzing this issue but please help us to resolve this
> immediately.
>

It's difficult to figure out what the problem is when you've only shown a
small portion of the administrative dashboard.

Can you show the entire contents of the Quota page? (click the Quota link
on the left hand side navigation bar in your app dashboard.) Do you notice
anything unusual going on with your application, such as multiple Task
Queue retries, datastore accesses, high memory use, etc?

-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Help! (GAJ) Cron jobs not started from 23:39 on 6/21 until 01:47 on 6/22. WTF?

2013-06-22 Thread vlad
#1 and #2 are tough. Bur Prozac can definitely help with anxiety. 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Help! (GAJ) Cron jobs not started from 23:39 on 6/21 until 01:47 on 6/22. WTF?

2013-06-22 Thread Cesium


Woke up this morning to find that my cron jobs were not running from 23:39 
on 6/21 until 01:47 on 6/22.
A Cron Job is configured to run every 5 minutes.

The logs show: (note the missing activity after 23:29)


The dashboard shows:


There were no quota denials.

I have a couple of questions:

1) How do I proceed with my investigation to determine the root cause of 
this SNAFU.

2) How do I provide reliable service to my customers in light of this 
failure? Do I need to have the cron job send
something to a watchdog service? EC2? Heroku? Or is there a "Hey I have not 
been 'pinged' in 10 minutes, so I'm gonna throw a s&*t fit" service?
(Maybe it is called something like a 'button-down-no-longer-down' detection 
service?)

3) How do I calm my current anxiety and deep seated dread? As well as my 
anticipatory anxiety?

David
PS: I've already sacrificed a unicorn. See http://imgur.com/gallery/sAYJi4v

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] help me with the backend and the background threads

2013-06-21 Thread Vinny P
On Fri, Jun 21, 2013 at 4:46 PM, wrote:

> hello everyone,
> would you please help me answering this question i'd like to make a
> crawler to crawl news from news sites and make some processing on these
> data the problem is that the crawler doesn't work and i have no idea why it
> doesn't full details in the provided link i'll be grateful if you could
> help me, thanks for your time
>
> http://stackoverflow.com/questions/17236209/cannot-
> insert-entities-to-google-app-engine-datastore-from-a-thread-running-on-a
>
>

A number of things:

1. It's difficult to help when you didn't post the source code to "Yum
.java". If you don't want to post the source code to that file, you can
always provide a simplified test case (in fact, that's a good idea in
general).

2. I don't see a run() method defined in either Crawler.java or its
subclass in Yum, did you define that or not? I see that you're creating a
Thread and then calling Thread.start() in CrawlerServlet, but there is no
run() method for start() to start.

3. I see a reference to this.newsDate but you didn't post the code that
initializes that variable; if it is currently storing the wrong date it
could be blocking the code.

4. I see you use System.exit(). That method is blocked in the App Engine
sandbox (see
https://developers.google.com/appengine/docs/java/?hl=en#The_Sandbox and
scroll down to the section about java.lang.System)

5. If you don't see any logs, try changing the default logging level to
INFO and see if anything gets printed out. And surround everything in a
try/catch clause.


-
-Vinny P
Technology & Media Advisor
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.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] help me with the backend and the background threads

2013-06-21 Thread mustafa el-badry
hello everyone,
would you please help me answering this question i'd like to make a crawler 
to crawl news from news sites and make some processing on these data the 
problem is that the crawler doesn't work and i have no idea why it doesn't 
full details in the provided link i'll be grateful if you could help me, 
thanks for your time  
  
http://stackoverflow.com/questions/17236209/cannot-insert-entities-to-google-app-engine-datastore-from-a-thread-running-on-a

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] help

2013-06-16 Thread Google Tasks Backup Moderator
According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx
Error 3 indicates "The system cannot find the path specified."

Does "'C:\google\appengine\demos" exist? Do you have permission to access
that folder? For example, a non-admin user may not have permission to
access that folder.

You may need to re-install GAE as an admin user.


On 16 June 2013 23:04, shxian qiu  wrote:

> Traceback (most recent call last):
>   File "GoogleAppEngineLauncher.py", line 42, in 
>   File "wx\_core.pyc", line 7913, in __init__
>   File "wx\_core.pyc", line 7487, in _BootstrapApp
>   File "launcher\app.pyc", line 55, in OnInit
>   File "launcher\app.pyc", line 117, in _CreateViews
>   File "launcher\mainframe.pyc", line 83, in __init__
>   File "launcher\mainframe.pyc", line 205, in _BuildDemoMenu
>   File "launcher\mainframe.pyc", line 169, in _AppendDemosToMenu
> WindowsError: [Error 3] : 'C:\\google\\appengine\\demos/*.*'
>
>
> i am trying to install GAE ..but cant figure out the problem above
> i have tried to search for a while,can anyone help me here...thanks a lot
>
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] help

2013-06-16 Thread shxian qiu
Traceback (most recent call last):
  File "GoogleAppEngineLauncher.py", line 42, in 
  File "wx\_core.pyc", line 7913, in __init__
  File "wx\_core.pyc", line 7487, in _BootstrapApp
  File "launcher\app.pyc", line 55, in OnInit
  File "launcher\app.pyc", line 117, in _CreateViews
  File "launcher\mainframe.pyc", line 83, in __init__
  File "launcher\mainframe.pyc", line 205, in _BuildDemoMenu
  File "launcher\mainframe.pyc", line 169, in _AppendDemosToMenu
WindowsError: [Error 3] : 'C:\\google\\appengine\\demos/*.*'


i am trying to install GAE ..but cant figure out the problem above
i have tried to search for a while,can anyone help me here...thanks a lot 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Help. "Too many Redirects"

2013-05-08 Thread Takashi Matsuo
Hi dev,

What's the app-id of the important application?


On Tue, May 7, 2013 at 3:06 PM,  wrote:

> Guys, i need help from you.
> My email account registered in google app engine is d...@ilhasoft.com.br, this
> is a google apps account. This account has been deleted in Google Apps
> manager accidentally, and after I created again the account quickly. Now,
> i can't enter the Google App Engine, the browser gives error "Too many
> redirects." Someone can help me? I'm worried because there client projects in
> this email.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Takashi Matsuo | Developers Programs Engineer | tmat...@google.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Help. "Too many Redirects"

2013-05-08 Thread dev
Guys, i need help from you.
My email account registered in google app engine is d...@ilhasoft.com.br, this 
is a google apps account. This account has been deleted in Google Apps 
manager accidentally, and after I created again the account quickly. Now, i 
can't enter the Google App Engine, the browser gives error "Too many 
redirects." Someone can help me? I'm worried because there client projects in 
this email.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] help on backends

2013-04-26 Thread GAEfan
Must be something simple I'm missing out of the docs...  I have set up a 
backend, but cannot access it.  I have the backend running (see 
screenshot), but if I click the link, or access it by 
..appspot.com (or with 0. prefix), it throws a 503:

Error: Server ErrorThe service you requested is not available yet.

Please try again in 30 seconds.

(BTW... When I first hit it, it gave a 500, like it was inaccessible.  On 
subsequent hts, it gives the 503)
backends.py:

backends:
- name: backend-name
  class: B2
  instances: 1
  options: dynamic, public

Since I see it as running in the dashboard, there is no need to start/stop 
it via appcfg, correct?

Nothing shows up in the logs, so not sure how to proceed to troubleshoot.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


<>

[google-appengine] Help me out with this "Text"

2013-04-14 Thread Newbee
Suppose i have a Text type data, say, "abcd mnop xyz" and i want to extract 
everything except "mnop" how can i do that.What i tried is

Text completeText = new Text("abcd mnop xyz");
Text deleteText = new Text("mnop");

int indexDelete = 
completeText.getValue().indexOf(deleteText.getValue());

int lengthOfdeleteText = deleteText.getValue().length();

int lengthOfcompleteText = completeText.getValue().length();

char firstend[]= new char[indexDelete-0];
char lastend[] = new 
char[lengthOfcompleteText-(indexDelete+lengthOfdeleteText)];

completeText.getValue().getChars( 
(indexDelete+lengthOfdeleteText), lengthOfcompleteText, lastend, 0 );

completeText.getValue().getChars(0, indexDelete, firstend, 
0);

Text firstendText = new Text(firstend.toString()); 
Text lastendText = new Text(lastend.toString());

Text remainingText = new 
Text(firstendText.getValue()+lastendText.getValue());

but what i am getting is "[c@2fas". I tried this logic with simple String 
type of data and its working fine but not with Text.The char array's size 
is also correct its just that the characters are not getting stored 
properly.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] help me

2013-02-27 Thread pying soe
how to create google cloud stote .

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Help - appengine has lost all it's instances

2013-02-22 Thread Shilendra Sharma
Thanks for giving this info

Thanks,
Shilendra




On Fri, Feb 22, 2013 at 7:11 AM, Richard Druce wrote:

> Thanks for your suggestion Akitoshi but I am already in that group. They
> didn't notify users of the problem until after it was fixed.
>
> On Fri, Feb 22, 2013 at 12:39 PM, Akitoshi Abe wrote:
>
>> Hello,
>>
>> It seems some GAE app down for 20 minutes...
>> I recommend you to join this group.
>>
>> Serving down for some apps for 20 minutes on 2013-02-21
>>
>> https://groups.google.com/forum/?hl=en&fromgroups=#!topic/google-appengine-downtime-notify/R39uBoTCJqI
>>
>> Akitoshi Abe
>>
>>
>> 2013/2/22 Richard Druce 
>>
>>> About 20 minutes all our appengine instances died  with no explanation.
>>> They haven't come back. The account is showing 0 instances even though 5
>>> are enabled. Does anyone have any ideas as to what I can do?
>>>
>>> --
>>> 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?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> 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?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Help - appengine has lost all it's instances

2013-02-21 Thread Richard Druce
Thanks for your suggestion Akitoshi but I am already in that group. They
didn't notify users of the problem until after it was fixed.

On Fri, Feb 22, 2013 at 12:39 PM, Akitoshi Abe wrote:

> Hello,
>
> It seems some GAE app down for 20 minutes...
> I recommend you to join this group.
>
> Serving down for some apps for 20 minutes on 2013-02-21
>
> https://groups.google.com/forum/?hl=en&fromgroups=#!topic/google-appengine-downtime-notify/R39uBoTCJqI
>
> Akitoshi Abe
>
>
> 2013/2/22 Richard Druce 
>
>> About 20 minutes all our appengine instances died  with no explanation.
>> They haven't come back. The account is showing 0 instances even though 5
>> are enabled. Does anyone have any ideas as to what I can do?
>>
>> --
>> 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?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Help - appengine has lost all it's instances

2013-02-21 Thread Akitoshi Abe
Hello,

It seems some GAE app down for 20 minutes...
I recommend you to join this group.

Serving down for some apps for 20 minutes on 2013-02-21
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/google-appengine-downtime-notify/R39uBoTCJqI

Akitoshi Abe


2013/2/22 Richard Druce 

> About 20 minutes all our appengine instances died  with no explanation.
> They haven't come back. The account is showing 0 instances even though 5
> are enabled. Does anyone have any ideas as to what I can do?
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Help - appengine has lost all it's instances

2013-02-21 Thread Richard Druce
About 20 minutes all our appengine instances died  with no explanation. 
They haven't come back. The account is showing 0 instances even though 5 
are enabled. Does anyone have any ideas as to what I can do? 

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Help need on popup not working within datatable after deploy to GAE

2013-02-03 Thread Song Jing Lim
Hi mate,

I got one simple problem with richfaces popup from datatable, but already 
more than 2weeks I still can't 
solve it. I post the questions to forum but not answer. If you can help, 
please have a look:
https://community.jboss.org/thread/220690 
Thanks a lot.  

Note: This problem only happen when I deploy to GAE (ie. work fine on 
local).

Thanks

Rgds
SJ
 

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Help! Billing Out of Control!

2013-01-07 Thread Stephen Blum
Hi Christina,

Thank you for the follow up!  This is definitely a good start and 
would absolutely be helpful to get us a $1000 discount.  Please let me know 
if we can't approach the ~*$1,900.00* which as you can tell from our daily 
average billing rate is much much higher and is directly related to the 
Master/Slave Replication transition to High Replication.  I've attached the 
screenshot.  I look forward to hearing back!  :-)




On Monday, January 7, 2013 10:34:06 AM UTC-8, Christina Ilvento wrote:
>
> Hi Stephen,
>
> I'll start a separate thread with you so we can discuss the specifics.
>
>
> Thanks,
> Christina, Google App Engine Product Manager
>
>
> On Fri, Jan 4, 2013 at 1:02 PM, Stephen Blum 
> > wrote:
>
>> Hi Takashi and Google Team,
>>
>> We made the transition successfully from *Master/Slave* to the new *High 
>> Replication *datastore. However it cost us just under *$2,000.00 and it 
>> was supposed to be free*.  Please let us know how we fix this billing 
>> error.
>>
>>
>> On Wednesday, January 2, 2013 11:26:23 PM UTC-8, Stephen Blum wrote:
>>>
>>> Hi Takashi,
>>>
>>> We tried using the *Migration Buttons* in the Datastore Admin 
>>> section labeled "*Copy to Another App*" and "Delete Entities".  The 
>>> button labeled "Copy to Another App" is totally related and relevant to 
>>> migration and the way it is described in the Migration Document.  The two 
>>> important notes I took from the Migration Doc were:
>>>
>>>1. You do not incur any billing costs when you do this migration.
>>>2.  you will make your old application ID an "alias" for the new 
>>>one; thus, if users browse your application at *old-name*.appspot.com, 
>>>they will instead see your new application (which you might think of as 
>>>*new-name*.appspot.com).
>>>
>>> That made it totally obvious what we needed to do.  Basically create a 
>>> new App Name.  Then Copy the Data over to the new App.  This is the 
>>> direction we followed and yet apparently we were surprised by a $2,000.000 
>>> bill in only a few moments. Please help us fix this billing error!  :-)
>>>
>>> On Wednesday, January 2, 2013 11:17:24 PM UTC-8, Takashi Matsuo (Google) 
>>> wrote:


 Hi Stephen,

 On Wed, Jan 2, 2013 at 10:49 PM, Stephen Blum wrote:

> Hi Takashi,
>
> Thank you for the update.  How do we properly apply for errors in 
> billing?  Not allowing us Billing Credit for a Migration Path that is 
> *Required* does not makes sense!  *:-)*  There must be a way to 
> correct this error.  Basically GAE Dashboard is currently:
>
>1. Offering a Migration Button that will instantly charge 
>$2,000.00 (why why why?) and
>
> Can you tell me which button you're talking about?

>
>1. Warning loudly in a big yellow *warning* banner that told us to 
>Migrate Now! and it *would actually be free*.
>
> As long as you use our migration tool, the migration process itself 
 should be free.
  

> It is my understanding that we are suposed to migrate.  Yet it isn't 
> free...?  No worries!  We won't migrate then.  * :-) * That solves 
> that part... now How may we make it so we are not charged for this FAKE 
> OUT 
> migration process?  Please Help!
>
> On Wednesday, January 2, 2013 10:28:01 PM UTC-8, Takashi Matsuo 
> (Google) wrote:
>
>>
>> Hi Stephen,
>>
>> Unfortunately, you did it wrong. Please refer to the 
>> docand
>>  migrate with our migration tool.
>>
>> Re: refund
>> I don't think we can refund for it, sorry.
>>
>> -- Takashi
>>
>>
>> On Wed, Jan 2, 2013 at 10:18 PM, Stephen Blum wrote:
>>
>>> Hi Takashi,
>>>
>>>
>>> 
>>> Thank you again for the fast response and direct details.  You are 
>>> being very helpful.  There are Datastore buttons and controls which we 
>>> are 
>>> using in the *GAE Dashboard* under *Datastore Admin* section.  Are 
>>> we to understand that those are not honored with the Migration Path?  
>>> If 
>>> this is the case it was a massive mistake that we made: May ask for a 
>>> refund?  We are using these buttons (as shown in the screenshot).
>>>
>>>
>>> On Wednesday, January 2, 2013 10:05:38 PM UTC-8, Takashi Matsuo 
>>> (Google) wrote:
>>>

 On Wed, Jan 2, 2013 at 9:48 PM, Stephen Blum 
 wrote:

> Hi Takashi,
>
> Thank you for the details!  We are in the process of migrating 
> now, and I expect that is cause.  However it was my

Re: [google-appengine] Help! Billing Out of Control!

2013-01-07 Thread Christina Ilvento
Hi Stephen,

I'll start a separate thread with you so we can discuss the specifics.


Thanks,
Christina, Google App Engine Product Manager


On Fri, Jan 4, 2013 at 1:02 PM, Stephen Blum  wrote:

> Hi Takashi and Google Team,
>
> We made the transition successfully from *Master/Slave* to the new *High
> Replication *datastore. However it cost us just under *$2,000.00 and it
> was supposed to be free*.  Please let us know how we fix this billing
> error.
>
>
> On Wednesday, January 2, 2013 11:26:23 PM UTC-8, Stephen Blum wrote:
>>
>> Hi Takashi,
>>
>> We tried using the *Migration Buttons* in the Datastore Admin
>> section labeled "*Copy to Another App*" and "Delete Entities".  The
>> button labeled "Copy to Another App" is totally related and relevant to
>> migration and the way it is described in the Migration Document.  The two
>> important notes I took from the Migration Doc were:
>>
>>1. You do not incur any billing costs when you do this migration.
>>2.  you will make your old application ID an "alias" for the new one;
>>thus, if users browse your application at *old-name*.appspot.com,
>>they will instead see your new application (which you might think of as
>>*new-name*.appspot.com).
>>
>> That made it totally obvious what we needed to do.  Basically create a
>> new App Name.  Then Copy the Data over to the new App.  This is the
>> direction we followed and yet apparently we were surprised by a $2,000.000
>> bill in only a few moments. Please help us fix this billing error!  :-)
>>
>> On Wednesday, January 2, 2013 11:17:24 PM UTC-8, Takashi Matsuo (Google)
>> wrote:
>>>
>>>
>>> Hi Stephen,
>>>
>>> On Wed, Jan 2, 2013 at 10:49 PM, Stephen Blum wrote:
>>>
 Hi Takashi,

 Thank you for the update.  How do we properly apply for errors in
 billing?  Not allowing us Billing Credit for a Migration Path that is *
 Required* does not makes sense!  *:-)*  There must be a way to correct
 this error.  Basically GAE Dashboard is currently:

1. Offering a Migration Button that will instantly charge $2,000.00
(why why why?) and

 Can you tell me which button you're talking about?
>>>

1. Warning loudly in a big yellow *warning* banner that told us to
Migrate Now! and it *would actually be free*.

 As long as you use our migration tool, the migration process itself
>>> should be free.
>>>
>>>
 It is my understanding that we are suposed to migrate.  Yet it isn't
 free...?  No worries!  We won't migrate then.  * :-) * That solves
 that part... now How may we make it so we are not charged for this FAKE OUT
 migration process?  Please Help!

 On Wednesday, January 2, 2013 10:28:01 PM UTC-8, Takashi Matsuo
 (Google) wrote:

>
> Hi Stephen,
>
> Unfortunately, you did it wrong. Please refer to the 
> docand
>  migrate with our migration tool.
>
> Re: refund
> I don't think we can refund for it, sorry.
>
> -- Takashi
>
>
> On Wed, Jan 2, 2013 at 10:18 PM, Stephen Blum wrote:
>
>> Hi Takashi,
>>
>>
>> 
>> Thank you again for the fast response and direct details.  You are
>> being very helpful.  There are Datastore buttons and controls which we 
>> are
>> using in the *GAE Dashboard* under *Datastore Admin* section.  Are
>> we to understand that those are not honored with the Migration Path?  If
>> this is the case it was a massive mistake that we made: May ask for a
>> refund?  We are using these buttons (as shown in the screenshot).
>>
>>
>> On Wednesday, January 2, 2013 10:05:38 PM UTC-8, Takashi Matsuo
>> (Google) wrote:
>>
>>>
>>> On Wed, Jan 2, 2013 at 9:48 PM, Stephen Blum wrote:
>>>
 Hi Takashi,

 Thank you for the details!  We are in the process of migrating now,
 and I expect that is cause.  However it was my understanding that the
 migration was a free process as per the docs.  Why is it incurring 
 such a
 high charge?  Those tasks queues are old and from long ago that has not
 changed for about a year.  However now that we are starting the 
 migration
 the billing has overblown!  It's almost at *$2,000.00* for just a
 few hours.

>>>
>>> Yes, our migration 
>>> tooldoesn't
>>>  cost you for the migration process itself. If you're using our
>>> migration tool, I believe that the high usage of the datastore is 
>>> caused by
>>> other reasons(it is very likely the infinite retry loop I mentioned 
>>> before).
>>>
>>> Can you tell me how you're 

Re: [google-appengine] Help! Billing Out of Control!

2013-01-06 Thread Chad Vincent
I don't mean to butt in, but it appears you didn't read the migration docs 
properly.  The migration buttons are under Application Settings > View 
Migration Tool, not under Datastore Admin.

https://developers.google.com/appengine/docs/adminconsole/migration#Using_the_Migration_Tool

On Friday, January 4, 2013 3:02:27 PM UTC-6, Stephen Blum wrote:
>
> Hi Takashi and Google Team,
>
> We made the transition successfully from *Master/Slave* to the new *High 
> Replication *datastore. However it cost us just under *$2,000.00 and it 
> was supposed to be free*.  Please let us know how we fix this billing 
> error.
>
> On Wednesday, January 2, 2013 11:26:23 PM UTC-8, Stephen Blum wrote:
>>
>> Hi Takashi,
>>
>> We tried using the *Migration Buttons* in the Datastore Admin 
>> section labeled "*Copy to Another App*" and "Delete Entities".  The 
>> button labeled "Copy to Another App" is totally related and relevant to 
>> migration and the way it is described in the Migration Document.  The two 
>> important notes I took from the Migration Doc were:
>>
>>1. You do not incur any billing costs when you do this migration.
>>2.  you will make your old application ID an "alias" for the new one; 
>>thus, if users browse your application at *old-name*.appspot.com, 
>>they will instead see your new application (which you might think of as 
>>*new-name*.appspot.com).
>>
>> That made it totally obvious what we needed to do.  Basically create a 
>> new App Name.  Then Copy the Data over to the new App.  This is the 
>> direction we followed and yet apparently we were surprised by a $2,000.000 
>> bill in only a few moments. Please help us fix this billing error!  :-)
>>
>> On Wednesday, January 2, 2013 11:17:24 PM UTC-8, Takashi Matsuo (Google) 
>> wrote:
>>>
>>>
>>> Hi Stephen,
>>>
>>> On Wed, Jan 2, 2013 at 10:49 PM, Stephen Blum wrote:
>>>
 Hi Takashi,

 Thank you for the update.  How do we properly apply for errors in 
 billing?  Not allowing us Billing Credit for a Migration Path that is *
 Required* does not makes sense!  *:-)*  There must be a way to correct 
 this error.  Basically GAE Dashboard is currently:

1. Offering a Migration Button that will instantly charge $2,000.00 
(why why why?) and

 Can you tell me which button you're talking about?
>>>

1. Warning loudly in a big yellow *warning* banner that told us to 
Migrate Now! and it *would actually be free*.

 As long as you use our migration tool, the migration process itself 
>>> should be free.
>>>  
>>>
 It is my understanding that we are suposed to migrate.  Yet it isn't 
 free...?  No worries!  We won't migrate then.  * :-) * That solves 
 that part... now How may we make it so we are not charged for this FAKE 
 OUT 
 migration process?  Please Help!

 On Wednesday, January 2, 2013 10:28:01 PM UTC-8, Takashi Matsuo 
 (Google) wrote:

>
> Hi Stephen,
>
> Unfortunately, you did it wrong. Please refer to the 
> docand
>  migrate with our migration tool.
>
> Re: refund
> I don't think we can refund for it, sorry.
>
> -- Takashi
>
>
> On Wed, Jan 2, 2013 at 10:18 PM, Stephen Blum wrote:
>
>> Hi Takashi,
>>
>>
>> 
>> Thank you again for the fast response and direct details.  You are 
>> being very helpful.  There are Datastore buttons and controls which we 
>> are 
>> using in the *GAE Dashboard* under *Datastore Admin* section.  Are 
>> we to understand that those are not honored with the Migration Path?  If 
>> this is the case it was a massive mistake that we made: May ask for a 
>> refund?  We are using these buttons (as shown in the screenshot).
>>
>>
>> On Wednesday, January 2, 2013 10:05:38 PM UTC-8, Takashi Matsuo 
>> (Google) wrote:
>>
>>>
>>> On Wed, Jan 2, 2013 at 9:48 PM, Stephen Blum wrote:
>>>
 Hi Takashi,

 Thank you for the details!  We are in the process of migrating now, 
 and I expect that is cause.  However it was my understanding that the 
 migration was a free process as per the docs.  Why is it incurring 
 such a 
 high charge?  Those tasks queues are old and from long ago that has 
 not 
 changed for about a year.  However now that we are starting the 
 migration 
 the billing has overblown!  It's almost at *$2,000.00* for just a 
 few hours.

>>>
>>> Yes, our migration 
>>> tooldoesn't
>>>  cost you for the migration process itself. If you're using our 
>>> migratio

Re: [google-appengine] Help! Billing Out of Control!

2013-01-04 Thread Stephen Blum
Hi Takashi and Google Team,

We made the transition successfully from *Master/Slave* to the new *High 
Replication *datastore. However it cost us just under *$2,000.00 and it was 
supposed to be free*.  Please let us know how we fix this billing error.

On Wednesday, January 2, 2013 11:26:23 PM UTC-8, Stephen Blum wrote:
>
> Hi Takashi,
>
> We tried using the *Migration Buttons* in the Datastore Admin 
> section labeled "*Copy to Another App*" and "Delete Entities".  The 
> button labeled "Copy to Another App" is totally related and relevant to 
> migration and the way it is described in the Migration Document.  The two 
> important notes I took from the Migration Doc were:
>
>1. You do not incur any billing costs when you do this migration.
>2.  you will make your old application ID an "alias" for the new one; 
>thus, if users browse your application at *old-name*.appspot.com, they 
>will instead see your new application (which you might think of as *
>new-name*.appspot.com).
>
> That made it totally obvious what we needed to do.  Basically create a new 
> App Name.  Then Copy the Data over to the new App.  This is the direction 
> we followed and yet apparently we were surprised by a $2,000.000 bill in 
> only a few moments. Please help us fix this billing error!  :-)
>
> On Wednesday, January 2, 2013 11:17:24 PM UTC-8, Takashi Matsuo (Google) 
> wrote:
>>
>>
>> Hi Stephen,
>>
>> On Wed, Jan 2, 2013 at 10:49 PM, Stephen Blum wrote:
>>
>>> Hi Takashi,
>>>
>>> Thank you for the update.  How do we properly apply for errors in 
>>> billing?  Not allowing us Billing Credit for a Migration Path that is *
>>> Required* does not makes sense!  *:-)*  There must be a way to correct 
>>> this error.  Basically GAE Dashboard is currently:
>>>
>>>1. Offering a Migration Button that will instantly charge $2,000.00 
>>>(why why why?) and
>>>
>>> Can you tell me which button you're talking about?
>>
>>>
>>>1. Warning loudly in a big yellow *warning* banner that told us to 
>>>Migrate Now! and it *would actually be free*.
>>>
>>> As long as you use our migration tool, the migration process itself 
>> should be free.
>>  
>>
>>> It is my understanding that we are suposed to migrate.  Yet it isn't 
>>> free...?  No worries!  We won't migrate then.  * :-) * That solves that 
>>> part... now How may we make it so we are not charged for this FAKE OUT 
>>> migration process?  Please Help!
>>>
>>> On Wednesday, January 2, 2013 10:28:01 PM UTC-8, Takashi Matsuo (Google) 
>>> wrote:
>>>

 Hi Stephen,

 Unfortunately, you did it wrong. Please refer to the 
 docand
  migrate with our migration tool.

 Re: refund
 I don't think we can refund for it, sorry.

 -- Takashi


 On Wed, Jan 2, 2013 at 10:18 PM, Stephen Blum wrote:

> Hi Takashi,
>
>
> 
> Thank you again for the fast response and direct details.  You are 
> being very helpful.  There are Datastore buttons and controls which we 
> are 
> using in the *GAE Dashboard* under *Datastore Admin* section.  Are we 
> to understand that those are not honored with the Migration Path?  If 
> this 
> is the case it was a massive mistake that we made: May ask for a refund? 
>  We are using these buttons (as shown in the screenshot).
>
>
> On Wednesday, January 2, 2013 10:05:38 PM UTC-8, Takashi Matsuo 
> (Google) wrote:
>
>>
>> On Wed, Jan 2, 2013 at 9:48 PM, Stephen Blum wrote:
>>
>>> Hi Takashi,
>>>
>>> Thank you for the details!  We are in the process of migrating now, 
>>> and I expect that is cause.  However it was my understanding that the 
>>> migration was a free process as per the docs.  Why is it incurring such 
>>> a 
>>> high charge?  Those tasks queues are old and from long ago that has not 
>>> changed for about a year.  However now that we are starting the 
>>> migration 
>>> the billing has overblown!  It's almost at *$2,000.00* for just a 
>>> few hours.
>>>
>>
>> Yes, our migration 
>> tooldoesn't
>>  cost you for the migration process itself. If you're using our 
>> migration tool, I believe that the high usage of the datastore is caused 
>> by 
>> other reasons(it is very likely the infinite retry loop I mentioned 
>> before).
>>
>> Can you tell me how you're migrating your app? If you're using any 
>> other tools for the migration, it will very likely cost you for the 
>> migration process itself.
>>
>> -- Takashi
>>  
>>
>>>
>>>
>>> On Wednesday, January 2, 2013 9:37:16 PM UTC-8, Takashi Mat

Re: [google-appengine] Help! Billing Out of Control!

2013-01-02 Thread Stephen Blum
Hi Takashi,

We tried using the *Migration Buttons* in the Datastore Admin 
section labeled "*Copy to Another App*" and "Delete Entities".  The button 
labeled "Copy to Another App" is totally related and relevant to migration 
and the way it is described in the Migration Document.  The two important 
notes I took from the Migration Doc were:

   1. You do not incur any billing costs when you do this migration.
   2.  you will make your old application ID an "alias" for the new one; 
   thus, if users browse your application at *old-name*.appspot.com, they 
   will instead see your new application (which you might think of as *
   new-name*.appspot.com).
   
That made it totally obvious what we needed to do.  Basically create a new 
App Name.  Then Copy the Data over to the new App.  This is the direction 
we followed and yet apparently we were surprised by a $2,000.000 bill in 
only a few moments. Please help us fix this billing error!  :-)

On Wednesday, January 2, 2013 11:17:24 PM UTC-8, Takashi Matsuo (Google) 
wrote:
>
>
> Hi Stephen,
>
> On Wed, Jan 2, 2013 at 10:49 PM, Stephen Blum 
> 
> > wrote:
>
>> Hi Takashi,
>>
>> Thank you for the update.  How do we properly apply for errors in 
>> billing?  Not allowing us Billing Credit for a Migration Path that is *
>> Required* does not makes sense!  *:-)*  There must be a way to correct 
>> this error.  Basically GAE Dashboard is currently:
>>
>>1. Offering a Migration Button that will instantly charge $2,000.00 
>>(why why why?) and
>>
>> Can you tell me which button you're talking about?
>
>>
>>1. Warning loudly in a big yellow *warning* banner that told us to 
>>Migrate Now! and it *would actually be free*.
>>
>> As long as you use our migration tool, the migration process itself 
> should be free.
>  
>
>> It is my understanding that we are suposed to migrate.  Yet it isn't 
>> free...?  No worries!  We won't migrate then.  * :-) * That solves that 
>> part... now How may we make it so we are not charged for this FAKE OUT 
>> migration process?  Please Help!
>>
>> On Wednesday, January 2, 2013 10:28:01 PM UTC-8, Takashi Matsuo (Google) 
>> wrote:
>>
>>>
>>> Hi Stephen,
>>>
>>> Unfortunately, you did it wrong. Please refer to the 
>>> docand
>>>  migrate with our migration tool.
>>>
>>> Re: refund
>>> I don't think we can refund for it, sorry.
>>>
>>> -- Takashi
>>>
>>>
>>> On Wed, Jan 2, 2013 at 10:18 PM, Stephen Blum wrote:
>>>
 Hi Takashi,


 
 Thank you again for the fast response and direct details.  You are 
 being very helpful.  There are Datastore buttons and controls which we are 
 using in the *GAE Dashboard* under *Datastore Admin* section.  Are we 
 to understand that those are not honored with the Migration Path?  If this 
 is the case it was a massive mistake that we made: May ask for a refund? 
  We are using these buttons (as shown in the screenshot).


 On Wednesday, January 2, 2013 10:05:38 PM UTC-8, Takashi Matsuo 
 (Google) wrote:

>
> On Wed, Jan 2, 2013 at 9:48 PM, Stephen Blum wrote:
>
>> Hi Takashi,
>>
>> Thank you for the details!  We are in the process of migrating now, 
>> and I expect that is cause.  However it was my understanding that the 
>> migration was a free process as per the docs.  Why is it incurring such 
>> a 
>> high charge?  Those tasks queues are old and from long ago that has not 
>> changed for about a year.  However now that we are starting the 
>> migration 
>> the billing has overblown!  It's almost at *$2,000.00* for just a 
>> few hours.
>>
>
> Yes, our migration 
> tooldoesn't
>  cost you for the migration process itself. If you're using our 
> migration tool, I believe that the high usage of the datastore is caused 
> by 
> other reasons(it is very likely the infinite retry loop I mentioned 
> before).
>
> Can you tell me how you're migrating your app? If you're using any 
> other tools for the migration, it will very likely cost you for the 
> migration process itself.
>
> -- Takashi
>  
>
>>
>>
>> On Wednesday, January 2, 2013 9:37:16 PM UTC-8, Takashi Matsuo 
>> (Google) wrote:
>>
>>>
>>> Hi Stephen,
>>>
>>> All of your tasks in the 'default' task queue are retrying more than 
>>> 17 times. I suspect these tasks contribute to the high usage of the 
>>> datastore.
>>>
>>> If that's the case, maybe you can stop your 'default' queue first, 
>>> and fix the settings for your 'default' queue to prevent the infinite 
>>> loop(see the taskqueue settings 
>>> doc[Python<

Re: [google-appengine] Help! Billing Out of Control!

2013-01-02 Thread Takashi Matsuo
Hi Stephen,

On Wed, Jan 2, 2013 at 10:49 PM, Stephen Blum wrote:

> Hi Takashi,
>
> Thank you for the update.  How do we properly apply for errors in billing?
>  Not allowing us Billing Credit for a Migration Path that is *Required* does
> not makes sense!  *:-)*  There must be a way to correct this error.
>  Basically GAE Dashboard is currently:
>
>1. Offering a Migration Button that will instantly charge $2,000.00
>(why why why?) and
>
> Can you tell me which button you're talking about?

>
>1. Warning loudly in a big yellow *warning* banner that told us to
>Migrate Now! and it *would actually be free*.
>
> As long as you use our migration tool, the migration process itself should
be free.


> It is my understanding that we are suposed to migrate.  Yet it isn't
> free...?  No worries!  We won't migrate then.  * :-) * That solves that
> part... now How may we make it so we are not charged for this FAKE OUT
> migration process?  Please Help!
>
> On Wednesday, January 2, 2013 10:28:01 PM UTC-8, Takashi Matsuo (Google)
> wrote:
>
>>
>> Hi Stephen,
>>
>> Unfortunately, you did it wrong. Please refer to the 
>> docand
>>  migrate with our migration tool.
>>
>> Re: refund
>> I don't think we can refund for it, sorry.
>>
>> -- Takashi
>>
>>
>> On Wed, Jan 2, 2013 at 10:18 PM, Stephen Blum wrote:
>>
>>> Hi Takashi,
>>>
>>>
>>> 
>>> Thank you again for the fast response and direct details.  You are being
>>> very helpful.  There are Datastore buttons and controls which we are using
>>> in the *GAE Dashboard* under *Datastore Admin* section.  Are we to
>>> understand that those are not honored with the Migration Path?  If this is
>>> the case it was a massive mistake that we made: May ask for a refund?  We
>>> are using these buttons (as shown in the screenshot).
>>>
>>>
>>> On Wednesday, January 2, 2013 10:05:38 PM UTC-8, Takashi Matsuo (Google)
>>> wrote:
>>>

 On Wed, Jan 2, 2013 at 9:48 PM, Stephen Blum wrote:

> Hi Takashi,
>
> Thank you for the details!  We are in the process of migrating now,
> and I expect that is cause.  However it was my understanding that the
> migration was a free process as per the docs.  Why is it incurring such a
> high charge?  Those tasks queues are old and from long ago that has not
> changed for about a year.  However now that we are starting the migration
> the billing has overblown!  It's almost at *$2,000.00* for just a few
> hours.
>

 Yes, our migration 
 tooldoesn't
  cost you for the migration process itself. If you're using our
 migration tool, I believe that the high usage of the datastore is caused by
 other reasons(it is very likely the infinite retry loop I mentioned 
 before).

 Can you tell me how you're migrating your app? If you're using any
 other tools for the migration, it will very likely cost you for the
 migration process itself.

 -- Takashi


>
>
> On Wednesday, January 2, 2013 9:37:16 PM UTC-8, Takashi Matsuo
> (Google) wrote:
>
>>
>> Hi Stephen,
>>
>> All of your tasks in the 'default' task queue are retrying more than
>> 17 times. I suspect these tasks contribute to the high usage of the
>> datastore.
>>
>> If that's the case, maybe you can stop your 'default' queue first,
>> and fix the settings for your 'default' queue to prevent the infinite
>> loop(see the taskqueue settings 
>> doc[Python
>> |Java]),
>> and then fix the root cause, and then finally you can restart the default
>> queue.
>>
>> I also noticed that you're using deprecated M/S datastore, which is
>> very susceptible to just a small failure in a single datacenter. I 
>> strongly
>> recommend migrating your app to HRD.
>>
>> -- Takashi
>>
>>
>> On Wed, Jan 2, 2013 at 9:06 PM, Stephen Blum wrote:
>>
>>> Hi Takashi!
>>>
>>> App ID: See Screenshot Below
>>>
>>>
>>> 
>>> Full Usage Stats: See Screenshot Below
>>>
>>>
>>> 
>>>
>>>
>>> On Wednesday, January 2, 2013 8:47:20 PM UTC-8, Takashi Matsuo
>>> (Google) wrote:
>>>

 Hi St

  1   2   3   4   >