Re: [google-appengine] Cloud Storage handle missing the backup info.

2013-08-28 Thread Aswath Satrasala
My appid accountingguru-india.  I am trying the second option in your
suggestions
I did the following query in the datastore viewer.
SELECT * from _AE_BAckup_Information order by complete_time desc

I am interested in the first row with name=engassociates_backup_2013_08_27.
 The value for 'gs_handle' is null.

How can I restore the backup to another appid?


On Tue, Aug 27, 2013 at 9:52 PM, Ryan Huebsch hueb...@google.com wrote:

 This is a bug in the Datastore Admin and it is expected to be fixed in the
 release following 1.8.4.

 This is tracked on our issue tracker here:
 https://code.google.com/p/googleappengine/issues/detail?id=9808

 In the meantime, the metadata file is being written to Google Cloud
 Storage, however the name of the file is not being recorded. You may be
 able to identify the object name based on the timestamp. Alternatively, via
 the datastore viewer you can determine the name of the handle, see the
 issue tracker for more details on this method.


 On Mon, Aug 26, 2013 at 10:49 PM, Aswath Satrasala 
 aswath.satras...@gmail.com wrote:

 Hello,
 I did a backup to Google Cloud storage.
 After doing the backup, I clicked on the 'Info' for the backup
 I do not see the 'handle of the cloud storage'. This is handle is used
 for restoring.
 Please find the attached file.

 Thanks
 -Aswath

 --
 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.


-- 
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] channel.send_message() fails when called from a backend

2013-08-28 Thread Emlyn
I have an app with one backend running. Call it fred.

My web client hits my app on the default version (as is normal). The
handler sets up a channel subscription, yada yada. Other bits of the
code happily send information up the channel using
channel.send_message() .

My backend, however, is in a different code version (called fred,
same as the channel, this is how backends work as far as I can tell).

So I have two versions: default and fred.

When the backend fred tries to call channel.send_message for a
channel established outside the backend (ie: in code running the
default version), it fails silently. I believe this is because the
subscription id is invalid, given that we're in the wrong codebase
(fred, rather than default).

I've been able to get around this by making a call to a handler on the
default codebase to do the channel.send_message() on fred's behalf
(ie: using appid.appspot.com rather than fred.appid.appspot.com).
This then works.

Possibly all of this would go away if I was using modules. At some
point in the future I'll convert over.
But I guess I'm just putting this here so someone might notice this
(it's a bit of a trap, a bit annoying), and maybe might tell me if I'm
doing something obviously wrong, need to do it differently.

Thanks

-- 
Emlyn

http://point7.wordpress.com - My blog
https://plus.google.com/u/0/100281903174934656260 - Google+

-- 
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] Re: billing: credit card card declined... for which account?!

2013-08-28 Thread Rae Wang
I understand the current email is confusing - sorry about it. We are 
working with our billing backend to open up some constraint to fix this. 
Meanwhile, please use the billing support form and our support team can 
find out the details for 
you: 
https://support.google.com/code/bin/request.py?contact_type=cloud_platform_billing
 

Thanks,
Rae

On Tuesday, August 27, 2013 10:08:00 PM UTC-7, aswath wrote:

 I have received a similar message about 10 ago.  

 Google,
 Please provide help or resend the message with more details and which for 
 which services my payment was declined.

 -Aswath


 On Thu, Aug 22, 2013 at 2:33 AM, vlad vlad.tr...@gmail.com 
 javascript:wrote:

 I have the same problem. Google please provide some guidance!

 Also see thread  
 https://groups.google.com/forum/#!topic/google-appengine/Y7kejnGaoUs

  -- 
 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 javascript:.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 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.


Re: [google-appengine] GAE/J instances not shutting down as expected

2013-08-28 Thread Vinny P
On Tue, Aug 27, 2013 at 10:38 PM, Damith C Rajapakse dam...@gmail.com
 wrote:

 Since a few days ago, we started getting billed for instance hours
 (typically, just a few hours over the quota) without any change in traffic.



If the increased instance hour costs started just a few days ago, I
wouldn't worry too much. App Engine is currently in the middle of upgrading
applications from the 1.8.3 runtime to the 1.8.4 runtime, and there's
always weirdness that occurs during upgrades. Keep an eye on it for the
next week, it might fix itself. If it doesn't, then there are some things
that can be looked at and optimized.



-
-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] Adding a single subdomain -- almost but not quite

2013-08-28 Thread ken

Something isn't working quite right here, but it's odd.  I'll review what's 
going on, using the real domains/accounts, etc.

* formrunner-hrd.appspot.com is being served on the naked domain 
form-runner.com (DNS on DreamHost).

* The following CNAME entry is in the form-runner.com DNS on DH , and is 
currently being served:

dvm.form-runner.comCNAME   ghs.googlehosted.com.

   However, browsing to dvm.form-runner.com gets a 404 from Google: The 
requested URL / was not found on this server. 

* The subdomain dvm.form-runner.com is registered/installed in the Form 
Runner Google Apps account:

DOMAIN STATUS
form-runner.com Primary Domain
Redirect the naked domain http://form-runner.com to 
http://www.form-runner.com

dvm.form-runner.com Verified.

   In one browser tab, I'm logged into Form Runner Google Apps account as 
Admin (ken at form-runner.com).

* In another tab, I'm logged into the AppEngine console for formrunner-hrd 
(as ken at form-runner.com, also an admin)

* I go to Application Settings  Domain Setup, and click Add Domain

* I enter dvm.form-runner.com in the Domain Name: textfield, and click Add 
Domain…

* I'm taken to 
https://accounts.google.com/AccountChooser?service=CPanelcontinue=https%3A%2F%2Fadmin.google.com%2Fdvm.form-runner.com%2FAddAppEngineService%3FappId%3Dformrunner-hrdhl=en

which shows:

Select an account 
 --
|   Ken Bowen
|   ken at form-runner.com 
-- 

Sign in with another email address

|
---
Continue

NOTHING will get me off this page.  There are no other address options in 
the top box (click on arrow).  Clicking on my name in the top box just 
comes back here.  (re-)typing my address in the lower box and continuing 
just comes back here.

This is a swamp.  How do I get over it to finish up setting up 
dvm.form-runner.com as a domain on which formrunner-hrd.appspot.com is 
served?  [Note that there is a (crude) version   
dvm.formrunner-hrd.appspot.com   which contains the Google Apps ownership 
verification tag in it's head, and which runs as 
 dvm.formrunner-hrd.appspot.com.].

Thanks, --Ken

-- 
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] Adding a single subdomain -- almost but not quite

2013-08-28 Thread Barry Hunter
out of interest, are you using the appengine console at
https://appengine.google.com/a/form-runner.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.


Re: [google-appengine] Adding a single subdomain -- almost but not quite

2013-08-28 Thread Ken Bowen
At a somewhat different appengine address.

On Aug 28, 2013, at 1:45 PM, Barry Hunter wrote:

  https://appengine.google.com/a/form-runner.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.


Re: [google-appengine] Adding a single subdomain -- almost but not quite

2013-08-28 Thread Ken Bowen

After posting, I discovered

http://support.google.com/a/bin/answer.py?hl=enanswer=182081

which seems to say that what I want is not permitted.  Sorry for using the 
bandwidth.


-- 
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] SSL with VIP is not accessible by Internet Explorer

2013-08-28 Thread IT
Thanks for the answer. It was my mistake I did not properly update the 
CName.

On Wednesday, August 28, 2013 3:41:52 AM UTC+2, Vinny P wrote:

 On Mon, Aug 26, 2013 at 8:46 AM, IT  wrote:

 Hi,

 I followed the SSL for a Custom 
 Domainhttps://developers.google.com/appengine/docs/ssl#uploading_and_configuring_certificatesinstructions
  to enable https support on my application.

 It works fine for both FireFox and Chrome, but not on Internet Explorer.

  
  
 What version(s) of Internet Explorer are you having difficulty with?
  
 If you're having difficulty with all versions of IE, are you testing with 
 all browsers on the same computer or different computers?
  
 -
 -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.


Re: [google-appengine] GAE/J instances not shutting down as expected

2013-08-28 Thread Cesium
I'm also seeing new scheduler behavior since MDT 8/28/2013.

Not one instance has been torn down since then.
No user facing requests have encountered a delay due to cranking up an instance.

Sweet huh?

Can't wait to see what happens now that my memory leaks accumulate without 
being reset.

David

-- 
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] Adding a single subdomain -- almost but not quite

2013-08-28 Thread Jason Galea
Hey Ken,

check out the other thread related to this..

https://groups.google.com/forum/#!msg/google-appengine/f27NB1ptv40/VV_V-32zln4J



On Thu, Aug 29, 2013 at 5:56 AM, Ken Bowen k...@form-runner.com wrote:


 After posting, I discovered

 http://support.google.com/a/bin/answer.py?hl=enanswer=182081

 which seems to say that what I want is not permitted.  Sorry for using the
 bandwidth.


 --
 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.




-- 
Jason Galea
lecstor.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] Organizing webapp2 application

2013-08-28 Thread diego
Im trying to find the right way to organize my webapp2 application. This is
the file structure:

/my-app
app.yaml
main.app
/views
index.html
/handlers
__init__.py
base.py
home.py

handlers/base.py

import webapp2from webapp2_extras import jinja2
class BaseHandler(webapp2.RequestHandler):

@webapp2.cached_property
def jinja2(self):
return jinja2.get_jinja2(app=self.app)

def render_response(self, _template, **context):
rendered_template = self.jinja2.render_template(_template +
'.html', **context)
return self.response.write(rendered_template)

All the handlers extends the BaseHandler

handlers/home.py

from base import BaseHandler# Not sure about importing BaseHandler here
class Name(BaseHandler):

def post(self, name=None):

context = {
'name': name,
}

self.render_response('index', **context)

and this is the main.py file

import osimport webapp2from webapp2_extras import jinja2

CONFIG = {
'debug': True,
'webapp2_extras.jinja2': {
'autoescape': True,
'template_path': os.path.join(os.path.dirname(__file__), 'views'),
'globals': {
'url_for': webapp2.uri_for,
},
},}

app = webapp2.WSGIApplication([
webapp2.Route('/name', handler='handlers.home.Name',
name='name'),], config = CONFIG, debug = CONFIG['debug'])

Should I put the routes in the same file? Because all the handlers extends
the BaseHandler i´m not sure if that is the right way to do that. Also I´m
importing webapp2 and extras twice.

thx for the advice


diego

-- 
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] Re: hey, i can't upload my apps, with a 404 error.

2013-08-28 Thread IT
If you are using Eclipse, make sure you logged in with the correct account 
that has admin rights in GAE.

On Monday, August 26, 2013 1:58:01 PM UTC+2, Noah Lab wrote:

 Hey all,

 i've register an id paper-work and i can see this id in my dashboard, 
 but when i try to upload it through console, a 404 error appears.

 someone can help with that? 

 and also another 404 error with this link :
 https://developers.google.com/appengine/docs/appcfg


-- 
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] Google App Engine trying to access dev data

2013-08-28 Thread Andrew Free


I'm running my app on my local machine and using the remote API to access a 
datastore on my production side. Everything was working great until I tried 
adding a second app in google app engine launcher (I believe this is what 
caused the issue) because I had to merge what I was working on with some 
more up to date code and wanted to test as I went along. Suddenly I can't 
even access the remote datastore anymore. I get the error

app s~buybottandrew cannot access app dev~buybottandrew's data

I tried clearing the local datastore which allows me to access the remote 
datastore once, then the problem comes up again.

I read suggestions on the default_partition flag and I've tried passing 
that as well, with a muitiplicity of different things including nothing and 
an empty string.

--default_partition=s~buybottandrew

It gives me the same error no matter the argument

dev_appserver.py: error: unrecognized arguments: 
--default_partition=s~buybottandrew

If I remove all my remote api code and deploy it when I test it on the 
production server everything works perfectly. I can't seem to narrow down 
what is going on for the life of me.

Any input would be greatly appreciated.

-- 
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] Re: App Engine VM-based Backends - Trusted Tester Sign-up

2013-08-28 Thread Takashi Matsuo
Hi Marcel,

Currently VM-based backends support Java and Python2.7.
I'd appreciate it if you could file issues for supporting PHP and Go at:
https://code.google.com/p/googleappengine/issues/list?can=2q=Component%3DVMRuntime

I'd like to know how many people have interests in it.

Thanks for asking!

-- Takashi


On Tue, Aug 27, 2013 at 3:37 AM, Marcel Manz marcel.m...@gmail.com wrote:

 Will those VM-based backends support all runtimes? So Java, Python and PHP?

 -- Marcel

 --
 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.




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