[google-appengine] Is there any way to remotely fetch the current live version of an application?

2015-01-23 Thread kj
I would like to write a script that prevents me from deploying the app if 
the version is the same as the current live version. I see that appcfg has 
a "list_versions" command but that just returns a list of all the upload 
versions. I'd like to see what is the currently deployed live version.

-- 
You received this message because you are subscribed 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/dd940265-1011-4c7d-84f6-f36b7b433f9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Data loss: New Datastore Query Page deleting entries instead of updating

2015-01-23 Thread Luke Stone (Google Cloud Support)
If this is the case it's very serious.   I'll ask someone on the cloud tech 
support team to reach out to you and see if you can reproduce it together.

-Luke

On Monday, January 19, 2015 at 4:54:33 AM UTC-8, re...@el-tramo.be wrote:
>
> I wanted to try the 'New datastore Query' page to edit an entry this 
> morning, and had serious issues with it:
> - It initially said that I had to enable the Datastore API (it never did 
> this before, the datastore API has always been enabled). Someone else 
> mentioned this a few days ago. After this, I could browse my data. However 
> ...
> - I opened an entry,  changed 1 field, and clicked "Update Entry". After 
> this, the entry disappeared from my database. Even through the old viewer, 
> I can't find the entry anymore.
> - I tried editing another entry in a different table, and the same thing 
> happened, entry gone! This one, I can still find in the old viewer, but all 
> the fields are gone, it's an empty record.
> - Now, when accessing the datastore query page always gives me a message 
> dialog with "Server error".
>
> The data loss is quite scaring me.
>

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


[google-appengine] Re: Urgent SOS: Need to re-enable GAE service after reopening billing account

2015-01-23 Thread Luke Stone (Google Cloud Support)
I got the issue tracker link fixed.  We will keep the latest instructions 
posted there.

https://code.google.com/p/googleappengine/issues/detail?id=11615

-Luke


On Thursday, January 22, 2015 at 12:20:46 AM UTC-8, Alexander Trakhimenok 
wrote:
>
> Just going to dashboard in new console did not fix the issue for us.
>
> BUT it seems if you update daily budget in the new console from "0" to 
> whatever is appropriate helps. After daily budget changed our websites 
> become accessible - not immediately but in couple of minutes. May be it 
> would help others.
>
> So far we've lost at least $100 (AdSense earnings) due to downtime (
> https://www.dropbox.com/s/9m21e2wctwa34tz/Screenshot%202015-01-22%2011.11.45.png?dl=0)
>  
> - any chances to recover it throw SLA refund? This are direct loss. We also 
> lost about 80 registration and would be penalized by search engines 
> (including Google) for being inaccessible but this hard to calculate and 
> prove. Getting a compensation  for direct loss would be really nice.
>
> *Luke*, the link 
> https://code.google.com/p/googleappengine/issues/detail?id=11615 is not 
> opening for me - error 403. Seems it has been deleted: 
> https://code.google.com/p/googleappengine/issues/list?can=1&q=&sort=-id&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
>
> Alex
>
> On Thursday, 22 January 2015 08:59:52 UTC+3, Luke Stone (Google Cloud 
> Support) wrote:
>>
>>
>> We see the issue in billing status for certain AppEngine accounts, we 
>> have a root cause and we're working on automatic fixes.  We apologize if 
>> your app is down because of this issue.  In the meantime please try the 
>> workaround of going to your AppEngine Settings page in Google Developer 
>> Console.  
>>
>>
>> If you go to http://appengine.google.com/ and find your app, you should 
>> see a link "Try the new Dashboard".  Click that and then, under Compute, 
>> click App Engine.  That ought to fix it, and please respond if it doesn't 
>> work. 
>>
>>
>> I see that you have already sent a request to billing support - thanks 
>> for that - and for anyone else who needs to contact us about this issue, 
>> here's the link:
>>
>> https://support.google.com/cloud/contact/cloud_platform_billing
>>
>>
>> This is on the issue tracker here, you can follow along and we will post 
>> the root cause here
>>
>> https://code.google.com/p/googleappengine/issues/detail?id=11615
>>
>> -Luke 
>>
>>
>>
>> On Thursday, January 22, 2015 at 7:03:28 AM UTC+11, Ivan Lucas Vargas 
>> wrote:
>>>
>>> Hi,
>>>
>>>   Exactly the same problem here. Some update? I'm really stuck at 
>>> this point...
>>>
>>>
>>>
>>> On Wednesday, January 21, 2015 at 6:29:14 AM UTC-2, Alexander 
>>> Trakhimenok wrote:

 I know it's little chances to get support here but I am bit desperate 
 as our account has been disabled and we are losing money due to disruption 
 to service.

 When our credit card expired and we got new one I've updated CC details 
 on billing page for Google AppEngine but did not at Google Cloud Billing. 
 Unfortunately email associated with Google Cloud has not been monitored :(.

 As a result our Google Cloud Billing account has been disabled and GAE 
 service stopped to work (*all our websites are down*).

 I've updated credit card details and successfully reopened billing 
 account on Google Cloud but the GAE service still is "over quota".

 The "Billing status" page says that "The current payment method is not 
 valid. Update it under Billing > Billing Settings." But it *IS* valid 
 both on Google AppEngine and Google Cloud.
 I even manually paid $10 on Google Cloud to check the credit card 
 details are fine.

 See screenshots:
 GAE => Billing settings: 
 https://www.dropbox.com/s/yfk0ujh5bkgn90i/Screenshot%202015-01-21%2011.01.53.png?dl=0
 GAE => Billing status: 
 https://www.dropbox.com/s/gzyjj6aiwtwts1d/Screenshot%202015-01-21%2010.59.39.png?dl=0

 Please note the "Billing status" is shown as "free" and the "Enable 
 billing" is disabled. I added personal credit card as a "backup" option 
 but 
 that did not help.

 GAE app: *myclassesapp*
 Google Cloud Billing account for myclassesapp: 00E24E-43AF44-4A9EDD
 Google Cloud Billing account ID: 0624-9112-4607-9990

 I've send a request to billing support but it seems to me like a bug on 
 GAE admin so probably someone from tech support can assist quicker.

 We would really appreciated any support on resolving this issue as soon 
 as possible.

 Alex



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Vi

[google-appengine] Re: Data loss: New Datastore Query Page deleting entries instead of updating

2015-01-23 Thread husayt
Hi Luke,
is this the reason that new Query tool been rolled back. I have old version 
again. Can't wait to get the new one back. Do you know when we should 
expect that to happen?

Thanks
Huseyn

On Friday, January 23, 2015 at 9:58:42 PM UTC, Luke Stone (Google Cloud 
Support) wrote:
>
> If this is the case it's very serious.   I'll ask someone on the cloud 
> tech support team to reach out to you and see if you can reproduce it 
> together.
>
> -Luke
>
> On Monday, January 19, 2015 at 4:54:33 AM UTC-8, re...@el-tramo.be wrote:
>>
>> I wanted to try the 'New datastore Query' page to edit an entry this 
>> morning, and had serious issues with it:
>> - It initially said that I had to enable the Datastore API (it never did 
>> this before, the datastore API has always been enabled). Someone else 
>> mentioned this a few days ago. After this, I could browse my data. However 
>> ...
>> - I opened an entry,  changed 1 field, and clicked "Update Entry". After 
>> this, the entry disappeared from my database. Even through the old viewer, 
>> I can't find the entry anymore.
>> - I tried editing another entry in a different table, and the same thing 
>> happened, entry gone! This one, I can still find in the old viewer, but all 
>> the fields are gone, it's an empty record.
>> - Now, when accessing the datastore query page always gives me a message 
>> dialog with "Server error".
>>
>> The data loss is quite scaring me.
>>
>

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


[google-appengine] Re: Is there any way to remotely fetch the current live version of an application?

2015-01-23 Thread kj
I couldn't find any way to do this, even using the remote API. The 
SystemProperty properties all come back with null values.

I ended up writing a little servlet that just returns the version:

public class VersionServlet extends HttpServlet 
{
@Override
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException
{
res.getOutputStream().print(SystemProperty.applicationVersion.get());
}
}


On Friday, January 23, 2015 at 11:47:44 AM UTC-8, kj wrote:
>
> I would like to write a script that prevents me from deploying the app if 
> the version is the same as the current live version. I see that appcfg has 
> a "list_versions" command but that just returns a list of all the upload 
> versions. I'd like to see what is the currently deployed live version.
>
>

-- 
You received this message because you are subscribed 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/40e6c043-805b-436a-83eb-92bf6cb9f360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Error in PostPut callbacks

2015-01-23 Thread Arun Nedun
**Need Help

Need the correct syntax and usage for postput callbacks to track entity 
updates and do post execution. I followed the example but getting null 
exception error. 


java.lang.NoSuchMethodError: 
com.google.appengine.api.datastore.Key.(Ljava/lang/String;Lcom/google/appengine/api/datastore/Key;JLjava/lang/String;Lcom/google/appengine/api/datastore/AppIdNamespace;)V
at 
com.google.appengine.api.datastore.KeyTranslator.createFromPb(KeyTranslator.java:38)


Also I'm using android studio. Not sure what else i need to set to compile and 
make it work. 


Servlet code


public class PostMsgServlet {


static Logger logger = Logger.getLogger("logger");

@PostPut(kinds = {"Credentials"})
void log(PutContext context) {
logger.fine("Inside put. Finished putting " + 
context.getCurrentElement().getKey());


}

}

-- 
You received this message because you are subscribed 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/8177dbf1-de1b-474a-b693-2c309ef062c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.