Re: [google-appengine] Why GAE is very expensive?

2013-10-21 Thread Jeff Schnitzer
It is interesting to ponder. The theory is that GAE lets us scale... but if
it takes 100X the number of instances to process the same amount of
traffic, who but Google could actually afford to scale? And 100X might not
be unrealistic; a 16GB 8-core linode is down to $320/mo; an 8G 4-core
instance backed by SSD from digitalocean is $80/mo. Compute power is
becoming crazy cheap.

The compelling thing about GAE is that you can run without a devops team.
That's worth a lot. But the price makes it not the obvious win that it
seems like it should be.

Jeff



On Mon, Oct 7, 2013 at 4:41 AM, Claudio Antunes wrote:

> I think App Engine is very, very good, but it is very, very expensive.
> Yesterday I was testing my application and I've did a comparison:
> About 600,000 pageviews delivered, I paid US$ 35 to Google.
> I'm using Frontend Instance Class F1 and 50 Max Idle Instances and 4.0s to
> Min Pending Latency.
> On my current hosting, VPS.NET , I pay US$ 30 daily to
> have 2 machines with 38.4GHz Dedicated CPU and 6152MB Dedicated RAM to
> delivery my application. As I use it only  12 hours, I pay only US$ 15.
> So App Engine Is very, but very, but very expensive. And if I enable the
> Cloud SQL, it will be yet more expensive.
>
> There is anyway to reduce the price?
>
> --
> 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] Problem in gdata library

2013-10-21 Thread Vijay Kumbhani
i fetch all rows in Google spreadsheet
but it get all rows if all cells between not empty rows
any empty row find ...
after do not fetch rows

please shown in image 

row number *2 *to *5 *retrieved 
but row number is *6 *empty 
then row number *7 *do not fetch 

how to fetch all rows?
please help 

another solution how to remove empty rows  

-- 
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] how to filter query using dynamic parameters in NDB ?

2013-10-21 Thread Vinny P
On Mon, Oct 21, 2013 at 12:07 AM, Vijay Kumbhani 
 wrote:

> how to filter query using dynamic parameters in NDB ?
> *In Google NDB docs...*
>
>- *they are given statically examples in documents
>*
>
>
Which examples are you looking at? There are many examples of using both
static and dynamic parameters while building queries.
You can also look at the Python examples on Google's GitHub account:
https://github.com/GoogleCloudPlatform/appengine-guestbook-python


On Mon, Oct 21, 2013 at 12:07 AM, Vijay Kumbhani 
 wrote:
>
>
>- *i have multiple AND & OR conditions then how to filter query using
>dynamic parameters *
>
>

Queries using AND and OR operators can be used, see the code example here:
https://developers.google.com/appengine/docs/python/ndb/queries#nest_and_or


-
-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] Stange log (twice start with two successive requests)

2013-10-21 Thread sdnetwork
ok thanks there are two differents instance name.

Le mardi 22 octobre 2013 05:19:32 UTC+2, Vinny P a écrit :
>
> On Fri, Oct 18, 2013 at 3:50 AM, > wrote:
>>
>> as you can see it seems that the application is loaded twice in two 
>> requests.
>>
>
>
> It's possible that the application loading is taking place within two 
> different instances. Can you open up the logs details and check the 
> instance property? If the instance names are different, then they are two 
> different instances and this is nothing to worry about.
>   
>  
> -
> -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] Instance memory

2013-10-21 Thread Jeff Schnitzer
Objectify's session cache lives only for the length of a single request.
Unless you have a very odd use pattern, you should never need to call
clear().

If the OP forgot to add the ObjectifyFilter, he could certainly produce a
memory leak that way - the session would never be cleaned up.

Jeff


On Mon, Oct 21, 2013 at 3:52 PM, Vinny P  wrote:

> On Wed, Oct 9, 2013 at 11:07 AM, Joël Tinguely <
> tb.2013.tinguelyj...@gmail.com> wrote:
>
>> The server stores received data to the datastore using Objectify. At the
>> beginning, all requests are manage by 1 instance (class F1) with 0.8 QPS, a
>> latency of 80ms and 80MB of memory. But during the following hours, the
>> used memory increases and goes over the limit of F1 Instance. Now I have
>> 150MB memory instead of 128MB (limit of F1 class) and I stopped all the
>> traffic.
>>
>>
>> I use Memcache and datastore, don't have any cron or task queues and the
>> traffic is always the same. What are the possible reasons the average
>> memory increase?
>>
>>
>
> Objectify caches objects to speed up datastore operations. Try
> occasionally calling Objectify.clear() to clean out the cache and free up
> some memory.
>
> How long does it take for the application to go from 80 MB of memory to
> 150 MB?
>
> -
> -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.
>

-- 
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] Problem With Handlers...

2013-10-21 Thread Google Tasks Backup Moderator
I suspect that the problem may be pattern used for the books URL.

Instead of
*- url: /books/**
try
*- url: /books/.**


On 12 October 2013 04:06, Mark Tyers  wrote:

> I am trying to create a simple web with URIs like:
>
> xxx.appspot.com/books/book/42
>
> I would like the book code to be in its own file and came up with this:
>
> app.yaml
>
> *application: xxx*
> *version: 1*
> *runtime: python27*
> *api_version: 1*
> *threadsafe: yes*
> *
> *
> *handlers:*
> *- url: /favicon\.ico*
> *  static_files: favicon.ico*
> *  upload: favicon\.ico*
> *  *
> *- url: /books/**
> *  script: books.app*
> *
> *
> *- url: .**
> *  script: main.application*
> *
> *
> *libraries:*
> *- name: webapp2*
> *  version: "2.5.2"*
>
> I then created books.py
>
> *import webapp2*
> *
> *
> *class BookHandler(webapp2.RequestHandler):*
> *def get(self):*
> *self.response.write('BookHandler')*
> *
> *
> *app = webapp2.WSGIApplication([*
> *('/.*/book', BookHandler)*
> *], debug=True)*
>
> But when I try the URI I get a blank screen. Can anyone explain what I am
> getting 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 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] how to delete record in google spreadsheet using gdata ?

2013-10-21 Thread Vijay Kumbhani
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Subscription Tutorial Site on GAE, Cloud Store...

2013-10-21 Thread Vinny P
On Sun, Oct 20, 2013 at 12:46 PM, vinceyoumans 
 wrote:

> 1...  Is there an existing FRAMEWORK that I would be looking at that
> incorporates this kind of logic?  Something that will get me some of this
> functionality now?
>
>

Is there something wrong with leaving your implementation in Drupal? App
Engine supports PHP and Drupal core will run on GAE.

If you don't want to keep Drupal, there are many Java and Python frameworks
out there that are reliable and heavily-used. Any of them would be a good
choice.


On Sun, Oct 20, 2013 at 12:46 PM, vinceyoumans 
 wrote:

> 2...  Where should I safely store the VIdeos?  I was thinking Google Cloud
> Store. But the Videos are only about 4 minutes long, so would putting them
> in Data store be an option?
>


Cloud Storage is the better choice. Datastore entities are capped at 1 MB.


On Sun, Oct 20, 2013 at 12:46 PM, vinceyoumans 
 wrote:

> 3... Is there a payment method that I should be looking at that is already
> well tested and can handle this solution?
>
>

There are many payment services to choose from. Companies such as Stripe
and Braintree are widely used for payment handling.

On Sun, Oct 20, 2013 at 12:46 PM, vinceyoumans 
 wrote:

> 4... I like the Twitter boot strap framework a lot...  not 100% committed,
> but are there alternatives that use JAVA for the client end that I should
> be looking at for this kind of project?
>


If you want to use Java for the frontend, try GWT:
http://en.wikipedia.org/wiki/Google_Web_Toolkit
You can write your code in Java, and then GWT turns it into Javascript for
browsers to run.



-
-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] Looking for working example of JSON/XML parse

2013-10-21 Thread Vinny P
On Thu, Oct 17, 2013 at 2:36 PM, Luke Daley  wrote:

> my final goal is to parse the data into a google form using the Google
> Form API - https://developers.google.com/apps-script/reference/forms/
>
>

Hi Luke,

Unfortunately, you're posting in the wrong forum. This is a forum for App
Engine, which supports Java, PHP, Go, and Python. You're referring to
Google Apps Scripts, which is an entirely different service running
applications written in Javascript.

Try posting in Google's community for Apps Script developers:
https://plus.google.com/communities/102471985047225101769


-
-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] Stable URLFetch issues

2013-10-21 Thread Vinny P
On Sat, Oct 12, 2013 at 1:10 AM, Kirill Yakovenko 
 wrote:

> Last two weeks or so, I have received a lot of issues related to URLFetch
> timeouts and errors when communicating with Worksnaps API.
> An error occured while connecting to the server: Unable to fetch URL: http
> ://www.worksnaps.net/api/projects.xml
> As I could figure out, it happens because the
> URLFetchServiceError.FETCH_ERROR is raised. But I couldn't find the reason
> of this error.
>
>

It's possible that this API is rate limiting or capping connections from
App Engine. Many APIs rate limit requests coming from hosting providers
such as App Engine. Try making a urlfetch to a different API (such as the
YouTube API or similar) to double check whether the issue really is with
the urlfetch service.

After that, post back. Depending on what you find, there are alternatives
that can be pursued such as using a proxy server or another API.

-
-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] Cant find "add new URL's" on app engine dashboard

2013-10-21 Thread Vinny P
On Fri, Oct 11, 2013 at 6:18 PM, Don  wrote:

> Can someone please instruct me on the correct location of the "add new
> URL's" tab under www.appengine.google.com
>
>

Go to your application dashboard, click on the Application Settings link on
the left side nav bar of your application's console, and scroll down.
You'll see a header marked Domain Setup, and below that a button marked Add
Domain. Press the button, then on the next prompt add the domain you want
to serve on your application. Remember that your domain needs to be set up
as a Google Apps domain first.


-
-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] Outgoing Bandwidth High

2013-10-21 Thread Vinny P
On Fri, Oct 11, 2013 at 11:02 PM, Brian Chapman 
 wrote:

> We are experiencing higher than expected outgoing bandwith.
> Any idea where this is coming from? Or how to determine what is adding to
> the outgoing bandwidth?
>
>

Try using AppStats:
https://developers.google.com/appengine/docs/python/tools/appstats . This
will chart and show you where any urlfetch queries are appearing; there may
be some rogue library in your application attempting to download data.

Also make sure that you're looking at all the application logs; there may
be a different version or module being accessed. Try going to the Logs page
and double checking the logs of each version of the application stored.


-
-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] Why GAE is very expensive?

2013-10-21 Thread Vinny P
Hello Claudio,


On Mon, Oct 7, 2013 at 6:41 AM, Claudio Antunes 
 wrote:

> I paid US$ 35 to Google. I'm using Frontend Instance Class F1 and 50 Max
> Idle Instances and 4.0s to Min Pending Latency.
>


As Kaan noted, 50 idle instances is far, far too much. GAE uses two
different types of instances, idle/resident instances (intended for
processing spikes in requests) and dynamic instances (intended for normal
load). You want to leave most of the processing to dynamics. Try only
keeping 2-3 instances on idle.


On Mon, Oct 7, 2013 at 6:41 AM, Claudio Antunes 
 wrote:
>
> About 600,000 pageviews delivered
>


Well, 600,000 pageviews is not a useful metric to measure. You didn't say
if these were static pages, dynamic pages that do very little (memcache,
logging) or dynamic pages that do a lot of heavy work (urlfetch, datastore,
etc). A free tier App Engine application can easily hit over 100,000
pageviews a day if it's only doing light work.


On Mon, Oct 7, 2013 at 6:41 AM, Claudio Antunes 
 wrote:
>
> On my current hosting, VPS.NET , I pay US$ 30 daily to
> have 2 machines with 38.4GHz Dedicated CPU and 6152MB Dedicated RAM to
> delivery my application. As I use it only  12 hours, I pay only US$ 15.
> So App Engine Is very, but very, but very expensive. And if I enable the
> Cloud SQL, it will be yet more expensive.
>
>

With App Engine, you're paying for the ability to scale fast and be
resilient to machine-level errors. As for Cloud SQL, part of the cost is to
replicate your data for protection against faults. Only you can decide
whether you need these qualities for your application, and if you're
willing to pay for them.


-
-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] Stange log (twice start with two successive requests)

2013-10-21 Thread Vinny P
On Fri, Oct 18, 2013 at 3:50 AM,  wrote:
>
> as you can see it seems that the application is loaded twice in two
> requests.
>


It's possible that the application loading is taking place within two
different instances. Can you open up the logs details and check the
instance property? If the instance names are different, then they are two
different instances and this is nothing to worry about.


-
-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] Re: logservice error

2013-10-21 Thread Vinny P
On Mon, Oct 21, 2013 at 11:36 AM, James Gilliam 
 wrote:

> Still getting logservice errors inside GAE code, just now ...
>
> Happening less than 10 times a day, but pretty nasty when it does ...
>
>

Do the log errors share anything in common? For example, do they occur at
the same time, occur during instance startup/instance is newly created. or
anything similar to 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/groups/opt_out.


Re: [google-appengine] App engine backend for an Android app with PHP and MYSQL

2013-10-21 Thread Vinny P
On Tue, Oct 8, 2013 at 9:15 AM, Abhishek Pandey 
 wrote:

> My ID has been whitelisted by Google hence I am using App engine for PHP.
>


Whitelisting is no longer required for PHP deployments, see
http://googlecloudplatform.blogspot.com/2013/10/google-app-engine-php-runtime-now-available-to-everyone.html


On Tue, Oct 8, 2013 at 9:15 AM, Abhishek Pandey 
 wrote:

> I have an *android* app which connects to a database which is hosted on
> hostgator.
> The backend calls are made by *PHP scripts* while the database is built
> using *mysql*.
>  Well now I want to migrate this database on the Google Cloud. That
> part is quick to get along.
> The place where I need help is:
>  -Can i replace the links with the path to the hostgator server with the
> app engine application URL? for eg
>
> *Before*:   String serverURL = 
> "http://192.168.2/abc/xyz....
> and so on to3.
> *Now:   String serverURL = "http://*
>  I replaced the IP with the cloud instance name and so on in other files.
>
>

Yes, you can change the links to point to your app engine URL. Before you
do that though, you may want to verify that your database migrated to Cloud
SQL properly and test to make sure your PHP code is returning appropriate
responses.


-
-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] OCSP validation from GAE

2013-10-21 Thread Vinny P
On Fri, Oct 4, 2013 at 9:22 PM, Prem Nair  wrote:

> I am trying to write some code JSP/bean code where the web page does a
> OCSP certificate validation programmatically.
> When the code executes the first Security.setProperty it throws the
> following exception.
>
> java.security.AccessControlException: access
> denied ("java.security.SecurityPermission" "setProperty.ocsp.enable")
> Any thoughts of how to solve this. I am using eclipse with GAE(jetty) for
> the local env testing.
>
>

Are you encountering this error within your local environment, or the App
Engine production servers?


-
-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] i need help for App Engine php web service user manager with Rest

2013-10-21 Thread Vinny P
On Wed, Oct 16, 2013 at 3:15 PM, djedidi amine  wrote:

> i need help for App Engine php web service user manager with Rest
>


What web service do you want to build? If you're looking for a starter, you
may be interested in the Google Mobile Backend starter:
https://developers.google.com/cloud/samples/mbs/


-
-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] Problem with the appcfg's compiled jsp jar with Objectify4.0

2013-10-21 Thread Vinny P
On Tue, Oct 8, 2013 at 9:20 AM, sarath upadrista <
sar...@veersoftsolutions.com> wrote:

> I want to know how that User.class got jarred into the
> _ah_compiled_jsps-.jar.
>
>

Appcfg compiles all JSP files and collects their dependencies prior to
uploading. One of the JSP files must have needed that file, so it was
collected into the JAR. Try removing the dependency and reuploading, appcfg
probably will not include the file then.


On Tue, Oct 8, 2013 at 9:20 AM, sarath upadrista <
sar...@veersoftsolutions.com> wrote:

> Please find the attached jar.
>
>

There is nothing attached to your email.



-
-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] Deleting an existing app entirely

2013-10-21 Thread Vinny P
On Tue, Oct 8, 2013 at 3:20 PM, EyeshieldHack 
 wrote:

> I wish to delete all the apps in my appengine.google.com account.
> How am i supposed to do that?
>
>

You can delete an app by going to the application's admin console and
clicking the *Administration Settings* link in the left side navigation
bar. Scroll down to the Disable or Delete Application heading, and click on
the *Disable* button. On the next screen, click the *disable* button again.
After the application is disabled, the option to delete the app-id will
appear.


-
-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] Problem With Handlers...

2013-10-21 Thread Vinny P
On Fri, Oct 11, 2013 at 12:06 PM, Mark Tyers  wrote:

> But when I try the URI I get a blank screen. Can anyone explain what I am
> getting wrong?
>


Do your application's logs show anything? Log in to the App Engine admin
console, click on the Logs link on the left hand side. Do you see any logs
marked with a red icon? If not, there should be a log representing your
attempt to access the *books* page. What does that log say?


-
-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] Is it possible to run tidy at google app engine PHP

2013-10-21 Thread Vinny P
On Thu, Oct 10, 2013 at 11:40 AM, William  wrote:

> It seems like google app engine php doesn't have tidy extension, my
> question is , is there any way to use tidy on google app engine php?
>
>

While the GAE PHP runtime doesn't have the Tidy extension, App Engine
offers a service called PageSpeed which performs a similar role to Tidy.
PageSpeed can optimize your pages for quick serving, and can perform a
number of other optimizations. Here's some documentation on it:

https://developers.google.com/appengine/docs/adminconsole/performancesettings#pagespeed
https://developers.google.com/speed/pagespeed/service/faq


If you're using Tidy for its DOM parser, there are other HTML parsers for
PHP that you can include within your application.


-
-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] App Engin

2013-10-21 Thread Vinny P
On Sun, Oct 6, 2013 at 10:40 AM, Sandesh Mankar  wrote:

> Google App engin apps is free of cost for dev. answer
>


App Engine is only free if your application's resource usage remains under
the free tier quotas.  You can see the free quota limits at
https://developers.google.com/appengine/docs/quotas


-
-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] Wix + Google Apps + Gmail reactivation after cancelled temporarily .. How do I reactivate?

2013-10-21 Thread Vinny P
On Fri, Oct 4, 2013 at 11:51 AM, Dylan Hunt  wrote:

> NOW I am trying to reactivate it since they are paying me again. I waited
> the 30+ days, but find it impossible to reactivate the account by any
> means! Wix.com says "i already have an account with gapps", and Gapps just
> doesn't show any place at all where I can reactivate. Help !!
>
>

Don't go through the Wix screens. Go to google.com/a/ and press the Sign In
link in the top right corner. Type in your domain name and select *Admin
Console* in the drop down box. Then log in with the account that was
originally listed as Super-Administrator (this is important!). You should
see a Fix This link at the top, click it and follow the directions to set
up billing.


-
-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] Error: Unable to find property 'application' on class: com.google.apphosting.utils.confi g.IndexYamlReader$IndexYaml

2013-10-21 Thread Vinny P
On Fri, Oct 18, 2013 at 8:12 AM, Sridhar Nalam 
wrote:

> I am trying to vacuum unused indexes from hosted app engine java
> application. Before this i successfully deleted the unused indexes with
> command
>
> >appengine-java-sdk-1.8.5\bin\**appcfg.cmd vacuum_indexes
> C:\MyGAEJavaApp\war
>
> But this time, Exactly dont know what happed, its showing error as:-
>
Error Details:
> Line 0, column 12: Unable to find property 'application'
>



Rerun the command using the 1.8.6 SDK:
https://developers.google.com/appengine/downloads
It looks like something changed within the App Engine backend this release.


-
-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] Re: App Engine datastore bug - indexes aren't synced (even after an hour)

2013-10-21 Thread timh
If you know the key of the missing entity, do a get() on it.  Then try the 
query.

T

On Thursday, October 17, 2013 6:12:59 PM UTC+8, eg...@storee.us wrote:
>
> Hello,
>
> This happened to me today;
>
> I have an entity E with properties p1, p2, p3
>
> I create a new E and Put() it in the datastore.
>
> When I run GQL in the datastore viewer and also when querying from my 
> application I get an inconsistency:
>
> *select * from E * - DOESN'T return the new instance I created
>
> However,
>
> *select * from E where p1 = "..." *  (some property value of the instance 
> I created)  - DOES return the instance.
>
>
> This inconsistency keeps happening event 90 minutes after I put the entity 
> in the datastore.
>
>
> Anyone?
>

-- 
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] Instance memory

2013-10-21 Thread Vinny P
On Wed, Oct 9, 2013 at 11:07 AM, Joël Tinguely <
tb.2013.tinguelyj...@gmail.com> wrote:

> The server stores received data to the datastore using Objectify. At the
> beginning, all requests are manage by 1 instance (class F1) with 0.8 QPS, a
> latency of 80ms and 80MB of memory. But during the following hours, the
> used memory increases and goes over the limit of F1 Instance. Now I have
> 150MB memory instead of 128MB (limit of F1 class) and I stopped all the
> traffic.
>
> I use Memcache and datastore, don't have any cron or task queues and the
> traffic is always the same. What are the possible reasons the average
> memory increase?
>
>

Objectify caches objects to speed up datastore operations. Try occasionally
calling Objectify.clear() to clean out the cache and free up some memory.

How long does it take for the application to go from 80 MB of memory to 150
MB?

-
-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] Integrating my old php project on the php AppEngine

2013-10-21 Thread Vinny P
On Thu, Oct 17, 2013 at 8:56 AM, Elie Cedric KOUEKAM 
 wrote:

> I am quite new to this new google technology, well i have some old php
> projects i wrote using the famous "wamp server", now what i need is a way
> to configure my app.yaml. Actually this is how my files are organised
>
> css/
> js/
> img/
> events/
> categories/
>
>
*and thses folders all have some php files into them !*
>
>

Are you putting PHP files into the static css/js/img folders? If so, you'll
want to reorganize your application so that PHP files are in certain
folders, and static assets (JS, CSS, etc) are stored in separate folders.
Then you can configure each PHP script to respond to different URLs, as you
are doing now with your index handler.


-
-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] Missing Email Headers in BounceNotificationServlet

2013-10-21 Thread Vinny P
On Mon, Oct 21, 2013 at 9:28 AM, Ivan Lazov  wrote:

> I'm using the Low-Level API to send email messages
>
> For security reasons GAE provides only a small set of headers that an
> outgoing email can have (Sending email with headers)
>
> My question is this the correct way for using headers and setting an
> unique id for every sent email ?
>
>

Yes and no. Yes you have the correct general idea, but it could be
implemented better.

App Engine's built in mail service has been - to put it charitably -
problematic for some time now. App Engine-sent mail tends to be caught in
spam filters (particularly Microsoft owned services such as Hotmail) and in
general has a higher bounce rate than email sent from other services. And
as you saw for yourself, there are severe security restrictions such as
limiting the headers that mail can have.

The better alternative is to use Sendgrid. Fortunately for everybody Google
has a partnership with Sendgrid, see this link for documentation:
https://developers.google.com/appengine/articles/sendgrid . You get a huge
free quota (25,000 emails a month) and Sendgrid has a much cleaner API for
interacting with mail. For instance, to set custom headers all you need to
do is supply them within a JSON object:
http://sendgrid.com/docs/API_Reference/Web_API/mail.html (scroll down to
the *headers* row).


On Mon, Oct 21, 2013 at 9:28 AM, Ivan Lazov  wrote:

> Also I've tried the 
> JavaMail
>  which
> allows to the Transport object (responsible for sending email messages) to
> add a listener which is invoked when a message is delivered, not delivered.
> But when I deployed my application in GAE I've received
> AccessDeniedException.
>
>

Which class is the AccessDeniedException coming from? Can you supply a full
stack trace?


-
-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] Issue adding AppEngine App to Google Apps domain (setting up alias) Failed with "The term XXXXXX is not allowed."

2013-10-21 Thread Vinny P
On Wed, Oct 16, 2013 at 10:35 PM, Daniel C TX  wrote:

> I've been attempting to add my App Engine application to my domain, but I
> get an error whenever I try.
>
> At the URL https://admin.google.com/AdminHome#ServiceSettings/ ...
>
> When I go to add an application to a subdomain entry for "tocloud.us", I
> receive the error that: "The term 'tocloud.us' is not allowed."
>
>

Hello Daniel,

When you originally added tocloud.us to your Google Apps account, did you
add the domain as an independent domain or as an alias domain to your
primary?


-
-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] App Engine datastore bug - indexes aren't synced (even after an hour)

2013-10-21 Thread Vinny P
On Thu, Oct 17, 2013 at 5:12 AM,  wrote:

> This happened to me today; I have an entity E with properties p1, p2, p3
> I create a new E and Put() it in the datastore. When I run GQL in the
> datastore viewer and also when querying from my application I get an
> inconsistency:
> *select * from E * - DOESN'T return the new instance I created
> However, *select * from E where p1 = "..." *  (some property value of the
> instance I created)  - DOES return the instance.
> This inconsistency keeps happening event 90 minutes after I put the entity
> in the datastore.
>
>

How many entities are in your datastore? Are you going through each page of
search results while using the datastore viewer?

Try running *select * from E where p1 = "..."*, then running *select * from
E*. Does that make the latter statement run correctly?

-
-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] Re: Lots of com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException

2013-10-21 Thread Emanuele Ziglioli
Gone now, it lasted for about three hours.
I'm considering upgrading to Objectify 4, to see whether it makes any 
difference.
It wasn't a memcache failure, it looked really like a failure to to a Get()


On Tuesday, 22 October 2013 09:44:48 UTC+13, Emanuele Ziglioli wrote:
>
> For the past half an hour we've been getting 
>
> java.util.concurrent.ExecutionException: 
> com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call 
> datastore_v3.Get() took too long to respond and was cancelled.
>   at 
> com.google.appengine.api.utils.FutureWrapper.setExceptionResult(FutureWrapper.java:63)
>   at 
> com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:94)
>   at 
> com.googlecode.objectify.cache.TriggerFuture.get(TriggerFuture.java:99)
>   at 
> com.googlecode.objectify.util.FutureHelper.quietGet(FutureHelper.java:26)
>   at 
> com.googlecode.objectify.cache.CachingDatastoreService.get(CachingDatastoreService.java:137)
>
> Anybody seeing it?
>
>

-- 
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] Indexes stuck building

2013-10-21 Thread Vinny P
On Fri, Oct 4, 2013 at 12:14 PM, Justin Ellison 
 wrote:

> First time GAE user, but I'm trying to deploy a simple open source app and
> my indexes stay stuck in "building".  Any guidance appreciated.
>
>
Hi Justin,

I see your email is dated Oct 4, so hopefully your indexes have fixed
themselves by now. If they're still stuck, try removing and vacuuming your
indexes.

If you're unable to remove the indexes, you'll want to file a production
issue at https://code.google.com/p/googleappengine/issues/entry (select
Production Issue from the dropdown box). Someone from Google can unstick
your index build manually.


-
-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] Re: Indexes stuck building

2013-10-21 Thread Jay
The typical procedure is to remove them, vacuum indexes, and then re-add.

On Friday, October 4, 2013 12:14:04 PM UTC-5, Justin Ellison wrote:
>
> First time GAE user, but I'm trying to deploy a simple open source app and 
> my indexes stay stuck in "building".  Any guidance appreciated.
>
> application: je-stashboard
>
> Thanks,
>
> Justin
>

-- 
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: how to filter query using dynamic parameters in NDB ?

2013-10-21 Thread Jay
Check out GenericProperty.

There may be a way to do it with the other property classes, but I don't 
recall.

On Monday, October 21, 2013 12:07:11 AM UTC-5, Vijay Kumbhani wrote:
>
> *In Google NDB docs...*
>
>- *they are given statically examples in documents 
>*
>- *i have multiple AND & OR conditions then how to filter query using 
>dynamic parameters *
>
>

-- 
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: Why GAE is very expensive?

2013-10-21 Thread Jay
There are at least 2 things that have to be pointed out here.

First, I hate to say it, but you are probably comparing apples and oranges 
to some extent. You say the Google solution is more expensive than your VPS 
solution. However, part of what you are paying for with the Google solution 
is Internet level scalability. In theory, if your app suddenly becomes very 
popular and you are on GAE, fine - you pay for more resources of course, 
but your app is available. Your VPS solution likely just quits under the 
same scenario. That option, that capability, costs money. 
Still related to this, there may be other features or aspects of the GAE 
environment that you or others find preferable to the VPS solution. What 
this might be is difficult to say and the list could be endless (the admin 
console, the programming environment, ease of operation, working with the 
datastore ...). The point being that comparing the cost per pageview, with 
no other comparison on the table, is a very incomplete picture. 

Second, and if not in answer, at least addressing your final statement / 
question ... yes, there are ways to reduce the price. It may be the case 
that your application is not optimized for the platform. Or more correctly, 
it may be that there exist further opportunities for cost optimization in 
your application. In my personal experience, there have been times when I 
have decreased the average daily cost of an application by 40% by looking 
at it for 10 minutes (discounted instance hours). Other times I have 
reduced operational cost simply with more caching that still met the 
business objectives. Other times, different strategies for certain uses of 
the datastore may come in. There is no checklist to go through. It is one 
of those "it depends" kinds of things.

On Monday, October 7, 2013 6:41:03 AM UTC-5, Claudio Antunes wrote:
>
> I think App Engine is very, very good, but it is very, very expensive.
> Yesterday I was testing my application and I've did a comparison:
> About 600,000 pageviews delivered, I paid US$ 35 to Google.
> I'm using Frontend Instance Class F1 and 50 Max Idle Instances and 4.0s to 
> Min Pending Latency.
> On my current hosting, VPS.NET , I pay US$ 30 daily to 
> have 2 machines with 38.4GHz Dedicated CPU and 6152MB Dedicated RAM to 
> delivery my application. As I use it only  12 hours, I pay only US$ 15.
> So App Engine Is very, but very, but very expensive. And if I enable the 
> Cloud SQL, it will be yet more expensive.
>
> There is anyway to reduce the price?
>

-- 
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] Lots of com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException

2013-10-21 Thread Emanuele Ziglioli
For the past half an hour we've been getting 

java.util.concurrent.ExecutionException: 
com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call 
datastore_v3.Get() took too long to respond and was cancelled.
at 
com.google.appengine.api.utils.FutureWrapper.setExceptionResult(FutureWrapper.java:63)
at 
com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:94)
at 
com.googlecode.objectify.cache.TriggerFuture.get(TriggerFuture.java:99)
at 
com.googlecode.objectify.util.FutureHelper.quietGet(FutureHelper.java:26)
at 
com.googlecode.objectify.cache.CachingDatastoreService.get(CachingDatastoreService.java:137)

Anybody seeing it?

-- 
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] Subscription Tutorial Site on GAE, Cloud Store...

2013-10-21 Thread vinceyoumans
I am new to GAE.. but a pretty good developer otherwise.  On Both iPHONE 
and ANDROID native.
I was planning on doing a Web based Tutorial system in php, but I am 
thinking of doing it on GAE instead.
SO, I am interested in getting some feed back from experienced GAE 
developers that can give me some food for thought.

The Model is pretty traditional. A paid subscription model. $20/month, and 
you can watch everything on the site.  There are 1 month, 3 month and 6 
month plans, after which the Subscription recharges the account for another 
x months.

The subscriptions are basically selling a ROLE. There are several ROLES, 
Premium roles get more sophisticated web pages, and have some other 
abilities as well...   

The lessons will be very short, well documented with sample code, and 1 or 
more videos.  The Each lesson is its own page.  Lessons are Stringed 
together to make full Subjects.  Multiple Subjects make a class...  ROLES 
grant access to the Lessons, which are tagged for specific roles.


BASIC Role are un-athenticated users get to see level 1 Pages, which 
include minimal documentation.
PLATINUM ROLE grants full access to all of the lessons.

I would like to do the entire system in JAVA, as oppose to Python.  So I am 
looking for some JAVA frameworks for web development. 
Just FYI... the current system I am doing in in DRUPAL, which is perfect, 
except that I want to move everything I am doing to GAE.


QUESTIONS...
1...  Is there an existing FRAMEWORK that I would be looking at that 
incorporates this kind of logic?  Something that will get me some of this 
functionality now?

2...  Where should I safely store the VIdeos?  I was thinking Google Cloud 
Store. But the Videos are only about 4 minutes long, so would putting them 
in Data store be an option?  

3... Is there a payment method that I should be looking at that is already 
well tested and can handle this solution?

4... I like the Twitter boot strap framework a lot...  not 100% committed, 
but are there alternatives that use JAVA for the client end that I should 
be looking at for this kind of project?

5... Any other thoughts that people would like to add to this project will 
be very 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.


[google-appengine] Re: App engine is down on some apps

2013-10-21 Thread vector8573
Thanks for this tip. I experienced similar issues yesterday (10/17) with my 
app including hi latency and timeouts on API requests as well as dynamic 
instances failing to start due to timed out warmup requests. This went on 
for several hours. I tried several things unsuccessfully, including killing 
instances and starting new ones, changing front-end instance class, and 
changing the app version.  After disabling/re-enabling the app (java), the 
problem went away. 

On Thursday, October 17, 2013 12:37:44 AM UTC-7, ZeroCool wrote:
>
> OK, after desperately trying to contact google for a few hours.
> I disabled my app and re-enabled it.
> Guess what, it brought it back to life.
>
> If anyone has a similar problem in the future, try this trick. ;)
>
> On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:
>>
>> Anyone else seeing the same problem?
>> My app pe-server7 (java) is down, and others are experiencing lag issues.
>>
>> Can any Googler look into the problem?
>>
>

-- 
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] Stange log (twice start with two successive requests)

2013-10-21 Thread sdnetwork
Hi,

since yesterday i get this kind of log :

[LOG]
*2013-10-17 20:59:03.124 /myurl 200 21361ms 0kb Mozilla/5.0 (BB10; Kbd) 
AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.4633 Mobile 
Safari/537.10+*
I 2013-10-17 20:58:49.801 javax.servlet.ServletContext log: Initializing 
Spring root WebApplicationContext
W 2013-10-17 20:58:49.808 [s~myapp/1.370952269949752985].: 
log4j:WARN No appenders could be found for logger 
(org.springframework.web.context.ContextLoader).
W 2013-10-17 20:58:49.809 [s~myapp/1.370952269949752985].: 
log4j:WARN Please initialize the log4j system properly.
I 2013-10-17 20:58:53.701 javax.servlet.ServletContext log: Initializing 
Spring FrameworkServlet 'appServlet'
I 2013-10-17 20:59:03.055 This request caused a new process to be started 
for your application, and thus caused your application code to be loaded 
for the first time. This requ
*2013-10-17 20:58:58.115 /myurl 200 21677ms 0kb Mozilla/5.0 (BB10; Kbd) 
AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.4633 Mobile 
Safari/537.10+*
I 2013-10-17 20:58:44.424 javax.servlet.ServletContext log: Initializing 
Spring root WebApplicationContext
W 2013-10-17 20:58:44.500 [s~myapp/1.370952269949752985].: 
log4j:WARN No appenders could be found for logger 
(org.springframework.web.context.ContextLoader).
W 2013-10-17 20:58:44.500 [s~myapp/1.370952269949752985].: 
log4j:WARN Please initialize the log4j system properly.
I 2013-10-17 20:58:48.334 javax.servlet.ServletContext log: Initializing 
Spring FrameworkServlet 'appServlet'
I 2013-10-17 20:58:58.114 This request caused a new process to be started 
for your application, and thus caused your application code to be loaded 
for the first time. This requ
[/LOG]

as you can see it seems that the application is loaded twice in two 
requests.

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


[google-appengine] Looking for working example of JSON/XML parse

2013-10-21 Thread Luke Daley

hey guys

I'm trying to get my head around parsing JSON or XML into my Google App 

I've found various snippets but no complete end to end examples, here is an 
example of the type of JSON feed I receive:

http://api.bandsintown.com/artists/Trivium/events.json?api_version=2.0&app_id=
TESTING

I'm only just beginning getting into coding with JS going through tutorials 
on Code Academy I generally have a decent handle on code snippets and some 
basics so bare that in mind with your response, by no means do i expect 
someone else to do this for me I'm just looking for an example that I can 
tailor to my needs and improve my understanding

my final goal is to parse the data into a google form using the Google Form 
API - https://developers.google.com/apps-script/reference/forms/

my plan is:


   - Modify and practice Parsing JSON onto a page pulling out a few values 
   until i feel confident how the Parse Works
   - Modify the Form values to be pulled from the JSON Parse
   - Modify the form to display selected dates based on values set from a 
   Google Spreadsheet (i.e dates pulled into sheet some are marked with an 
   "X") then a drop down list will be generated from the dates marked with an X
   
haha thanks for reading I look forward to your responses !

-- 
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] Error: Unable to find property 'application' on class: com.google.apphosting.utils.confi g.IndexYamlReader$IndexYaml

2013-10-21 Thread Sridhar Nalam
I am trying to vacuum unused indexes from hosted app engine java 
application. Before this i successfully deleted the unused indexes with 
command 

>appengine-java-sdk-1.8.5\bin\appcfg.cmd vacuum_indexes C:\MyGAEJavaApp\war

But this time, Exactly dont know what happed, its showing error as:-

Please visit https://developers.google.com/appengine/downloads for the 
latest SDK.

Reading application configuration data...
Oct 18, 2013 3:50:11 PM 
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml

INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/appengine-web.xml
Oct 18, 2013 3:50:11 PM 
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/web.xml
Oct 18, 2013 3:50:11 PM 
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/cron.xml
Oct 18, 2013 3:50:11 PM 
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/queue.xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.IndexesXmlReader 
readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/datastore-indexes.
xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.IndexesXmlReader 
readConfigXml
INFO: Successfully processed C:\MyGAEJavaApp\war\WEB-INF\appengine-generate
d\datastore-indexes-auto.xml

Beginning interaction for module default...
10% Found 4 local index definitions.

Error Details:
Line 0, column 12: Unable to find property 'application' on class: 
com.google.apphosting.utils.confi
g.IndexYamlReader$IndexYaml

Unable to perform vacuum_indexes
Unable to perform vacuum_indexes
Please see the logs 
[C:\Users\sridhar_pc\AppData\Local\Temp\appcfg922191814490203325.log] for 
furthe
r information.

*Log file is*:-

com.google.appengine.tools.admin.AdminException: Unable to perform 
vacuum_indexes
at 
com.google.appengine.tools.admin.AppAdminImpl.vacuumIndexes(AppAdminImpl.java:346)
at 
com.google.appengine.tools.admin.AppCfg$VacuumIndexesAction.execute(AppCfg.java:1605)
at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:327)
at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:210)
at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:121)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:117)
Caused by: com.google.apphosting.utils.config.AppEngineConfigException: 
Line 0, column 12: Unable to find property 'application' on class: 
com.google.apphosting.utils.config.IndexYamlReader$IndexYaml
at 
com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:158)
at 
com.google.appengine.tools.admin.IndexDeleter.diffIndexesOnServer(IndexDeleter.java:72)
at 
com.google.appengine.tools.admin.IndexDeleter.deleteUnusedIndexes(IndexDeleter.java:186)
at 
com.google.appengine.tools.admin.AppAdminImpl.vacuumIndexes(AppAdminImpl.java:342)
... 5 more
Caused by: 
com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader$YamlReaderException:
 
Line 0, column 12: Unable to find property 'application' on class: 
com.google.apphosting.utils.config.IndexYamlReader$IndexYaml
at 
com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.readValueInternal(YamlReader.java:259)
at 
com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.readValue(YamlReader.java:150)
at 
com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:106)
at 
com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:91)
at 
com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:203)
at 
com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:156)
... 8 more

Somebody please help me to solve this issue. 

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.


appcfg684191747556582183.log
Description: Binary data


[google-appengine] Integrating my old php project on the php AppEngine

2013-10-21 Thread Elie Cedric KOUEKAM
Hello to everyone,
I am quite new to this new google technology, well i have some old php 
projects i wrote using the famous "wamp server", now what i need is a way 
to configure my app.yaml
Actually this is how my files are organised 

/
|
css/
js/
img/
events/
categories/
|
|
|
and thses folders all have some php files into them !
This represent the content of my app.yaml script... it works for the index 
file..but sub folders are not
application: evenizer
version: 1
runtime: php
api_version: 1

handlers:

- url: /css
  static_dir: css
 
- url: /img
  static_dir: img

- url: /js
  static_dir: js
  
- url: /.*
  script : index.php

- url: /events
  script : event.php

So i'm asking my self how i could write good handlers for all this to be ok 
!

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.


[google-appengine] App Engine datastore bug - indexes aren't synced (even after an hour)

2013-10-21 Thread egozi
Hello,

This happened to me today;

I have an entity E with properties p1, p2, p3

I create a new E and Put() it in the datastore.

When I run GQL in the datastore viewer and also when querying from my 
application I get an inconsistency:

*select * from E * - DOESN'T return the new instance I created

However,

*select * from E where p1 = "..." *  (some property value of the instance I 
created)  - DOES return the instance.


This inconsistency keeps happening event 90 minutes after I put the entity 
in the datastore.


Anyone?

-- 
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] AppEngine datastore consistency bug

2013-10-21 Thread Gilad Egozi


I encountered the strangest thing just now:

When querying (even *two hours* after the Put() ), both in GQL from 
datastore-view and from the application itself I get:

*Select * from EntityType* -> Doesn't return the row (although other rows 
return)

*Select * from EntityType where entityName = "xxx"* -> DOES return the row 
(which didn't return in the previous query)

Anyone?


-- 
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] Issue adding AppEngine App to Google Apps domain (setting up alias) Failed with "The term XXXXXX is not allowed."

2013-10-21 Thread Daniel C TX
Hello, 


I've been attempting to add my App Engine application to my domain, but I 
get an error whenever I try. 


At the URL https://admin.google.com/AdminHome#ServiceSettings/ ...

When I go to add an application to a subdomain entry for "tocloud.us", I 
receive the error that: "The term 'tocloud.us' is not allowed."
Please see the attached image to see what I mean... Is it because I have 
"cloud" in my domain name? ... It's a valid and legitimate domain that I'd 
like to use for my application.



Do you have any ideas on how to resolve 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.


[google-appengine] Re: working GAE-Java projects on Netbeans

2013-10-21 Thread Namrata
Hi, 
   I tried , its working fine thanks

Thanks,
Namrata

-- 
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] Did 1.8.6 break my App?

2013-10-21 Thread nmackrill
Around 5 this morning UK time my app started reporting DeadlineExceededError 
on even very simple tasks such as writing a few counters to the data store.


   1. 2013-10-16 16:59:04.593
   
   Exception sending Rollback:
   Traceback (most recent call last):
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
 line 2644, in _DoOneTry
   _GetConnection().rollback()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 line 2125, in rollback
   rpc = self.async_rollback(None)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 line 2140, in async_rollback
   transaction = self._end_transaction()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 line 2069, in _end_transaction
   transaction = self.transaction
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 line 2024, in transaction
   self.__transaction = self.__transaction_rpc.get_result()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 line 612, in get_result
   return self.__get_result_hook(self)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 line 1723, in __begin_transaction_hook
   self.check_rpc_success(rpc)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
 line 1234, in check_rpc_success
   rpc.check_success()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 line 578, in check_success
   self.__rpc.CheckSuccess()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
 line 133, in CheckSuccess
   raise self.exception
   DeadlineExceededError: The API call datastore_v3.BeginTransaction() took too 
long to respond and was cancelled.
   
   2. E2013-10-16 16:59:04.597
   
   The API call datastore_v3.BeginTransaction() took too long to respond and 
was cancelled.
   Traceback (most recent call last):
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1511, in __call__
   rv = self.handle_exception(request, response, e)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1505, in __call__
   rv = self.router.dispatch(request, response)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1253, in default_dispatcher
   return route.handler_adapter(request, response)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 1077, in __call__
   return handler.dispatch()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 547, in dispatch
   return self.handle_exception(e, self.app.debug)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
 line 545, in dispatch
   return method(*args, **kwargs)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py",
 line 309, in post
   self.run_from_request()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py",
 line 304, in run_from_request
   run(self.request.body)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py",
 line 146, in run
   return func(*args, **kwds)
 File 
"/base/data/home/apps/s~dm-adept-dev/1.370958418031865357/accounting/__init__.py",
 line 188, in write_counters
   QuotaUsage.write_quotas(date.today(), ns, counters)
 File 
"/base/data/home/apps/s~dm-adept-dev/1.370958418031865357/accounting/__init__.py",
 line 97, in write_quotas
   _tx()
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
 line 2722, in inner_wrapper
   return RunInTransactionOptions(options, func, *args, **kwds)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
 line 2620, in RunInTransactionOptions
   ok, result = _DoOneTry(function, args, kwargs)
 File 
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py",
 line 2640, in _DoOneTry
   result = function(*args, **kwargs)
 File 
"/base/data/home/apps/s~dm-adept-dev/1.370958418031865357/accounting/__init__.py",
 line 85, in _tx
   quotas = cls.get_by_key_name(key_name)
 File 
"/b

Re: [google-appengine] Re: App engine is down on some apps

2013-10-21 Thread sarath upadrista
+1


On Wed, Oct 16, 2013 at 4:17 PM, Moises Belchin wrote:

> Dashboard in some cases is very slow
>
>
> Saludos.
> Moisés Belchín.
>
>
> 2013/10/16 Daniel Florey 
>
>> Upload is stuck here as well (Java).
>>
>>
>> On Wednesday, October 16, 2013 12:34:18 PM UTC+2, Dennis wrote:
>>>
>>> I'm trying to upload a new version of my code, but the upload process
>>> has been stuck for a 10 minutes now.
>>> Interestingly, however, the old version of my code (python) is still
>>> running and is even quite responsive.
>>>
>>>
>>>
>>> On Wednesday, October 16, 2013 3:54:16 PM UTC+8, timh wrote:

 Though the dashboard is very slow at the moment.

 T

 On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote:
>
> No..  I am on python and am finding it's running particularly well at
> the moment. This morning memecache was being purged rapidly now it's
> settled down and response times are good.
>
> T
>
> On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote:
>>
>> Anyone else seeing the same problem?
>> My app pe-server7 (java) is down, and others are experiencing lag
>> issues.
>>
>> Can any Googler look into the problem?
>>
>  --
>> 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.
>



-- 
Thanks & Regards
Sarath U

-- 
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] i need help for App Engine php web service user manager with Rest

2013-10-21 Thread djedidi amine


-- 
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] Deployment Issues

2013-10-21 Thread Tristan Davey
Our development team has noticed a heavily increased rate of deployment 
failures in the last 9 or so hours. At times we seem to be entirely unable 
to deploy code to any App Engine projects with appcfg.

The standard deployment process runs up to a point (generally "Cloning x 
static files." or "Starting deployment") but then fails to proceed further, 
timeout or provide and visible feedback in the CLI. The process does not 
terminate, and normally has to be interrupted and killed manually. We've 
tried multiple SDK versions on multiple machines, but have the same issue 
on all. However, about 10% of deployments succeed without issue.

Any ideas what the issue could 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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] AppEngine java shutdown

2013-10-21 Thread Tkhe Sik Kim
All servers stopped working. Google help. What happened?

-- 
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: App engine is down on some apps

2013-10-21 Thread KWANGMIN NOH
My app is also down for 15 mins so far :(
I can't do anything but just waiting.

On Wednesday, October 16, 2013 4:24:50 PM UTC+9, ZeroCool wrote:
>
> Anyone else seeing the same problem?
> My app pe-server7 (java) is down, and others are experiencing lag issues.
>
> Can any Googler look into the problem?
>

-- 
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: App engine is down on some apps

2013-10-21 Thread Tkhe Sik Kim
Yes. My app java also down.

среда, 16 октября 2013 г., 18:24:50 UTC+11 пользователь ZeroCool написал:
>
> Anyone else seeing the same problem?
> My app pe-server7 (java) is down, and others are experiencing lag issues.
>
> Can any Googler look into the problem?
>

-- 
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] Code Igniter with PHP into AppEngine

2013-10-21 Thread Franco Risso
Hello, first to all, I'm amateur here, so take it easy please :)
I'm developing a web application using php codeigniter and mysql, is there 
a direct way to pass this into google app engine?
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.


[google-appengine] google endpoints restrict access to mobile clients only

2013-10-21 Thread Abdel Bolaños
Hi, I have been reading a lot about this google endpoints and I have trying 
to something that is not quite easy to guess. After you create a google 
cloud endpoint server and you deploy it is open to any HTTP request 
(unauthenticated). In the cloud endpoint documentation (referring to using 
authentication) you can read about setting OAuth2.0 to authenticate users 
with google account but there is no documentation about restrict the 
endpoint service to a specific mobile app (android or ios) and discard all 
other HTTP requests. So the question is how to authenticate mobile apps (no 
users) and prevent HTTP request (unauthenticated)? I'am building my server 
API(enpoints) based on Python.
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.


[google-appengine] Java/GAE Contract Opportunity in Cheyenne, WY

2013-10-21 Thread Roxane Brock
I currently have a 6+ month contract opportunity for our client in 
Cheyenne, WY (must be onsite) - if you are interested, I can certainly send 
you the details. Please email me at rbr...@istonish.com OR 
roxane.a.br...@gmail.com.
 
Thanks!
 
Roxane
612.210.6701
 

-- 
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] Google Apps Won't let me set up AppEngine Apps

2013-10-21 Thread emmanuel edet
every has the same problem about app engine,lets try and resolve this

On 10/10/13, Vinny P  wrote:
> On Wed, Oct 9, 2013 at 8:57 PM, Brandon Wirtz  wrote:
>
>> Digging through the support history, it looks like Apps For domains still
>> only allows Appengine on a primary domain, not a secondary.
>>
>> So it works if I set up another Apps For Domains Account… just a pain to
>> manage because I have to keep track of a lot of admin accounts…
>>
>
>
> You can use App Engine on the primary domain and on domains configured as
> "alias", but not domains configured as "independent" domains. That's how
> I'm set up right now: serving different applications on different domains.
>
> Here's a past thread discussing it, with directions:
> https://groups.google.com/d/msg/google-appengine/f27NB1ptv40/fMOpqQlct3AJ
>
>
> -
> -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.
>

-- 
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] Stable URLFetch issues

2013-10-21 Thread Kirill Yakovenko
Hello,

Last two weeks or so, I have received a lot of issues related to URLFetch 
timeouts and errors when communicating with Worksnaps API.
Firstly, I received only URLFetch timeouts but when I increased deadline 
parameters using urlfetch.set_default_fetch_deadline, I began to catch the 
errors like this:

An error occured while connecting to the server: Unable to fetch URL: http:
//www.worksnaps.net/api/projects.xml

As I could figure out, it happens because the 
URLFetchServiceError.FETCH_ERROR is raised. But I couldn't find the reason 
of this error.
It really annoys me because it works perfectly for my localhost. Can anyone 
chime in with similar experience?

Thanks,
Kirill

-- 
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] Outgoing Bandwidth High

2013-10-21 Thread Brian Chapman
We are experiencing higher than expected outgoing bandwith. According to 
appengine 
docs  outgoing 
bandwidth is defined as:

Outgoing Bandwidth (billable)
The amount of data sent by the application in response to requests.

This includes:

data served in response to both secure requests and non-secure requests by 
application servers, static file servers, or the *Blobstore*
data sent in email messages
data sent over XMPP or the Channel API
data in outgoing HTTP requests sent by the URL fetch service.

We are still in development mode and have no visitors, don't use the blob 
store, don't use emails, or XMPP. We do use URL fetch, but the outgoing 
data would consist of simple get requests. We do use the task queue 
extensively. 

Outgoing Bandwidth 10.05 GBytes 9.05 $0.12/ GByte $1.09 (this isn't going 
to scale well when we ramp up)

Any idea where this is coming from? Or how to determine what is adding to 
the outgoing 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.


[google-appengine] Different results from query run twice

2013-10-21 Thread Kent Tregenza
I have a query in my app... running 1.8.4, Python 2.7 

Measurement is an NDB model... with a string property called status and a 
key property called asset 

(Deep in my handler code )
cursor=None
limit=10
asset_key = 
qry = Measurement.query(Measurement.status=='PENDING', 
Measurement.asset=asset_key)
results, cursor, more = qry.fetch_page(page_size=limit, start_cursor=cursor)

Now the weird thing is if I run this sometimes I get 4 items. Then 
sometimes only 1. (the right answer is 4) 

The dump of the query is exactly the same ... cursor is set to None... 
limit is always the samesame handler...same query and no new records in 
between each query. 

Each query is only separated by seconds yet results a different. 

Am I missing something here... has anyone else experienced this? Is this 
some sort of corrupt index? (It is a relatively large "table" with 482,911 
items) Is NDB caching a cursor???

Very very odd.

-- 
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] Cant find "add new URL's" on app engine dashboard

2013-10-21 Thread Don
I've been on the phone with Godaddy tech support for three days attempting 
to set up a new website using Goodle app engine.
 
Godaddy just confirmed that all the pointing on their end is complete but a 
404 error still occurs when I try to deploy my new website.
 
I have been instructed to "add new URL's" from my google app dashboard, but 
I cannot find it anywhere.
 
Can someone please instruct me on the correct location of the "add new 
URL's" tab under www.appengine.google.com
 
Thank you,
 
Don

-- 
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] sending data from androind into datastore

2013-10-21 Thread Oladapo Femi
Pls can some put me thru on how to send data from android app to datastore. 
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.


[google-appengine] Problem With Handlers...

2013-10-21 Thread Mark Tyers
I am trying to create a simple web with URIs like:

xxx.appspot.com/books/book/42

I would like the book code to be in its own file and came up with this:

app.yaml

*application: xxx*
*version: 1*
*runtime: python27*
*api_version: 1*
*threadsafe: yes*
*
*
*handlers:*
*- url: /favicon\.ico*
*  static_files: favicon.ico*
*  upload: favicon\.ico*
*  *
*- url: /books/**
*  script: books.app*
*
*
*- url: .**
*  script: main.application*
*
*
*libraries:*
*- name: webapp2*
*  version: "2.5.2"*

I then created books.py

*import webapp2*
*
*
*class BookHandler(webapp2.RequestHandler):*
*def get(self):*
*self.response.write('BookHandler')*
*
*
*app = webapp2.WSGIApplication([*
*('/.*/book', BookHandler)*
*], debug=True)*

But when I try the URI I get a blank screen. Can anyone explain what I am 
getting 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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Is it possible to run tidy at google app engine PHP

2013-10-21 Thread William
It seems like google app engine php doesn't have tidy extension, my 
question is , is there any way to use tidy on google app engine php?

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.


[google-appengine] Re: major MEMCACHE changes started October 5th

2013-10-21 Thread R.J. Lorimer
James, have you tried adjusting your instance class up and then back down 
as Vinny P suggested above? Have your instances rotated out since this 
started?

I'm not personally surprised that the premium memcache performed better for 
you; it's certainly supposed to.

As for myself (like others posting here), I haven't seen a degradation in 
the performance of the shared memcache over the past several weeks, so I 
don't think this is some sort of global scheme by Google to force us all to 
upgrade to dedicated memcache. Is it possible last saturday that your 
instance rotated out? Maybe you got stuck with an instance that is coping 
with a particularly disruptive memcache installation.

I can understand why you're frustrated, but I don't think that assuming 
malice on the part of Google is the most constructive action. I believe 
that something changed on Saturday in your memcache experience, but it 
doesn't have to be an underhanded move by Google. More than likely, it's 
just a quirk or glitch in the instance fabric as Vinny has suggested could 
be the case. It's possible that you are now in a part of the data center 
with more aggressive neighbors. The very nature of shared memcache is such 
that there are no guarantees that other apps in your same local region of 
the data center won't impact your performance.

On Thursday, October 10, 2013 1:58:37 PM UTC-5, James Gilliam wrote:
>
> Here is what I know so far ...
>
> I ran the premium memcache for 18 hours yesterday and saw no cache 
> purging.  My cache size grew to 110 megs with 6000 items and the oldest 
> cache item was 18 hours.Since the minimum cache is 1 gig, I assume 
> there would be no purging until the size was above that.
>
> When using shared cached, the purging is now very aggressive.  Since 
> Saturday, I have seen the oldest cache item at less than 15 mins, total 
> cache of 10 megs and items at 500 or less.  It does vary a lot but as the 
> purging increases the cost of the application increases, as does the 
> performance.  Right now it is performing better than these numbers but with 
> the shared cache you never know when they will purge the shit out of the 
> cache and the application starts consuming other resources to compensate 
> for poor memcache performance.
>
> Something clearly changed on Saturday when I saw my costs increase by 4 to 
> 5 times as a direct result of memory cache purging. 
>
> The only way you can guarantee some amount of memory cache is with the 
> premium memcache product and the minimum size is 1 gig (roughly 10 times 
> what I really need).  This costs 12 cents per hour per gig, 2.88 per day, 
> roughly 90 per month, over 1000 per year.
>
> It would be less painful if you could allocate smallest than 1 gig, e.g. 
> 100 megs.  So the costs would drop by a factor of 10.
>
> I will be forced to opt for the premium memcache if the shared cache 
> continues to perform so poorly, or rewrite lots of code so I am less 
> dependent on memcache.  Both of these are direct burdens from GAE changing 
> shared memcache.
>
> On Sunday, October 6, 2013 11:57:02 AM UTC-7, James Gilliam wrote:
>>
>> GAE has drastically changed the way MEMCACHE works; as a result my 
>> application (ogeekcom) overall usage jumped by approximately 5 timesd. 
>>  Like a 400% increase in price.
>>
>> Specifically, they are purging shared memcache very aggressively -- 
>> possible in an effort to force people to signup for paid memcache.
>>
>> As a result of this change, my application is using many more datastore 
>> reads and many more instances to compensate for the poor memcache 
>> performance.
>>
>> Like always, this was done without any announcement at all.
>>
>> If they made this change to increase make applications cost more to run, 
>> it is illegal.  
>>
>> There is no problem with them offering a premium service for memcache, 
>> but it is illegal to degrade the previous service to force people into the 
>> paid model.
>>
>>

-- 
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: Adding Custom Domain fails with "Invalid Request"

2013-10-21 Thread RandomPod Pod
+1 Same problem, SO frustrating when a blatant bug is present and continues 
to exist so in "production" for all of us to enjoy day after day silently 
tearing our hairs out

On Thursday, September 12, 2013 9:54:38 PM UTC-4, Brad Goodman wrote:
>
> +1
>
> Same problem here. Only have personal Gmail account - but when I try to 
> "add domain" it had me re-login to my Gmail account, then just says 
> "Invalid Request".
>
> On Friday, July 26, 2013 3:45:22 AM UTC-4, Ryan Swart wrote:
>>
>> I've been trying to add a custom domain to my app for the last couple of 
>> hours; the domain is an alias of my main Google Apps for Business account. 
>> It fails with an "invalid request" error if I sign in with my personal 
>> Gmail account, or infinitely redirects to the account selection page if I 
>> use my Apps for Business account. 
>>
>> I managed to add the custom domain from the Apps for Business interface, 
>> but this isn't documented in the Google Appengine Docs. What's 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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: Google App Engine SDK 1.8.2 is now available!

2013-10-21 Thread Bill Strathearn
It's also possible to create (java, python, php) modules in an app that 
that is using a runtime which doesn't currently support modules like: 
golang. So the main app is using runtime: go and the module is 
using runtime: python27. 

On Thursday, July 18, 2013 7:14:54 AM UTC-7, Jay wrote:
>
> Quick question. I haven't found this explicitly in the documentation. Does 
> the Modules feature/structure allow for mixing more than one language 
> runtime in the same app? For example, can I have Python and PHP modules in 
> the same app?
>
> On Wednesday, July 17, 2013 1:55:09 PM UTC-5, Richmond Manzana wrote:
>>
>> Hi Everyone,
>>
>> We're happy to announce that we have released the 1.8.2 SDK and are very 
>> excited to bring you some new preview features, Dedicated Memcache, Git 
>> Support, and Modules!
>>
>> For more details, please read our blog post and release notes.
>>
>>
>> http://googlecloudplatform.blogspot.com/2013/07/google-app-engine-182-released.html
>>
>> Release notes for Python/PHP:
>> http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
>>
>> Release notes for Java:
>> http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
>>
>> Release notes for Go:
>> https://code.google.com/p/googleappengine/wiki/SdkForGoReleaseNotes
>>
>> Cheers!
>>
>> Richmond Manzana
>> Technical Program Manager
>> Google App Engine
>>
>

-- 
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] Instance memory

2013-10-21 Thread Joël Tinguely
Hi,
I am developping an application using App Engine to collect, store and 
deliver data to users.
During my tests, I have 4 data sources which send HTTP POST requests to the 
server every 5s (all requests are exactly uniform).
The server stores received data to the datastore using Objectify.

At the beginning, all requests are manage by 1 instance (class F1) with 0.8 
QPS, a latency of 80ms and 80MB of memory.
But during the following hours, the used memory increases and goes over the 
limit of F1 Instance.
However, the scheduler doesn't start another instance. When I stop all 
traffic, average memory never decreases.
Now I have 150MB memory instead of 128MB (limit of F1 class) and I stopped 
all the traffic.

I use Memcache and datastore, don't have any cron or task queues and the 
traffic is always the same.
What are the possible reasons the average memory increase?
Is it a bug of the admin console?

Which points define the quantity of memory used per request?

Another question:
Does Google have special discount for datastore read/write ( >30 million 
ops / day ) ?


Thank you,
Joël

-- 
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: App 100% Timouts

2013-10-21 Thread ga1

Had the same problem for 5 hours. I took my app out of google app engine, 
until I get some answers. 
בתאריך יום רביעי, 9 באוקטובר 2013 01:26:31 UTC+3, מאת renderpaz:
>
> Hello,
>
> Is anyone getting 100% timeouts? Haven't ever seen this, turning away 
> about 100 qps right now. No changes to my code in days.
>
> No sign of this being for anyone but me.
>
> Help!
>
> Kevin
>

-- 
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: Significant latency increase

2013-10-21 Thread ga1
I have the same problem. Somone should address this APAP

בתאריך יום רביעי, 9 באוקטובר 2013 05:08:33 UTC+3, מאת gks:
>
> Since 3PM this afternoon, latency of my 2 environment has increased 
> significantly. Many requests started to time out. And the GAE system status 
> also shows latency increase for all app types. Can anyone from Google take 
> a look?
>
> *aos-prod-1*
> [image: Summary (24 hrs)]
>
> *aos-prod-2*
> [image: Summary (24 hrs)]
>

-- 
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: Significant latency increase

2013-10-21 Thread ga1
Same problem. 

בתאריך יום רביעי, 9 באוקטובר 2013 05:08:33 UTC+3, מאת gks:
>
> Since 3PM this afternoon, latency of my 2 environment has increased 
> significantly. Many requests started to time out. And the GAE system status 
> also shows latency increase for all app types. Can anyone from Google take 
> a look?
>
> *aos-prod-1*
> [image: Summary (24 hrs)]
>
> *aos-prod-2*
> [image: Summary (24 hrs)]
>

-- 
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: Significant latency increase

2013-10-21 Thread ga1
Same problem. 

בתאריך יום רביעי, 9 באוקטובר 2013 05:08:33 UTC+3, מאת gks:
>
> Since 3PM this afternoon, latency of my 2 environment has increased 
> significantly. Many requests started to time out. And the GAE system status 
> also shows latency increase for all app types. Can anyone from Google take 
> a look?
>
> *aos-prod-1*
> [image: Summary (24 hrs)]
>
> *aos-prod-2*
> [image: Summary (24 hrs)]
>

-- 
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: App 100% Timouts

2013-10-21 Thread ga1
Yes, me too.

בתאריך יום רביעי, 9 באוקטובר 2013 01:26:31 UTC+3, מאת renderpaz:
>
> Hello,
>
> Is anyone getting 100% timeouts? Haven't ever seen this, turning away 
> about 100 qps right now. No changes to my code in days.
>
> No sign of this being for anyone but me.
>
> Help!
>
> Kevin
>

-- 
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: major MEMCACHE changes started October 5th

2013-10-21 Thread R.J. Lorimer
Just saw this in the Pre-release documentation for 1.8.6 - this seems like 
it will be helpful to you moving forward. Work for this change (upgrading 
the memcache backends, etc) may also have contributed to the amount of 
flushing you've seen:

- A memcache size chart has been added to admin console's dashboard. 
 Access it
  via the drop-down above the graph.  The chart graphs memcache size over 
time
  enabling customers to determine when cache flush events occurred. This is 
a
  preview feature.

Unfortunately, memcache is inherently unreliable (by design) in GAE - they 
shut it off all the time when data center maintenance is going on. The 
above graph will at least help with visibility on how memcache performs.

I do think it would be helpful for small shops to have a lower priced 
dedicated/guaranteed tier for memcache. The 100/month is going to be more 
than small shops who pay for a one, two, or even three reserved instances 
pay for the actual instances.

Right now I suspect that Google is considering the shared service good 
enough for these smaller hosted apps, but I can imagine having a more 
"stable" 50-250MB memcache instance would be hugely useful for a lot of 
apps.

On Tuesday, October 8, 2013 12:24:12 PM UTC-5, James Gilliam wrote:
>
> Memcache continues to perform poorly; I suspect they are making many 
> changes to it.
>
> Saturday was awful -- aggressively purging memcache, Sunday was better, 
> Monday was worse than Sunday.
>
> At this point, not sure what to do ... are we dealing with just code 
> instability or some fundamental change?
>
> Really wish GAE would test these changes before deploying them.
>
> Or at least alert the community to whatever changes they are making.
>
> On Sunday, October 6, 2013 11:57:02 AM UTC-7, James Gilliam wrote:
>>
>> GAE has drastically changed the way MEMCACHE works; as a result my 
>> application (ogeekcom) overall usage jumped by approximately 5 times with 
>> the same approximate bandwidth output.  Like a 400% increase in price.
>>
>> Specifically, they are purging shared memcache very aggressively -- 
>> possible in an effort to force people to signup for paid memcache.
>>
>> As a result of this change, my application is using many more datastore 
>> reads and many more instances to compensate for the poor memcache 
>> performance.
>>
>> Like always, this was done without any announcement at all.
>>
>> If they made this change to increase make applications cost more to run, 
>> it is illegal.  
>>
>> There is no problem with them offering a premium service for memcache, 
>> but it is illegal to degrade the previous service to force people into the 
>> paid model.
>>
>>

-- 
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] Deleting an existing app entirely

2013-10-21 Thread EyeshieldHack
Hello all,

I wish to delete all the apps in my appengine.google.com account. 
How am i supposed to do that?

-- 
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: Push data from one app instance to another using remote api

2013-10-21 Thread Kaan Soral
This will be a suggestion:

I've also read the documentation of remote API, it was ridiculously 
complicated, at least I thought so
It might be simpler to develop a simple sender/receiver handlers, with 
basic password/authentication logic

It might be a good idea to send text or json, I had blob transfers for a 
while, but It caused issues when the blob included non-ascii characters, 
it's definitely not compatible with webapp routines

On Sunday, October 6, 2013 8:32:42 PM UTC+3, Ajiyos Yohannan wrote:
>
> Hi All,
>
> I have an administrative app(A) which need to occasionally push data from 
> that to a live app(B). I was trying to use remote api as mentioned in below 
> link
>
>
> https://developers.google.com/appengine/docs/java/tools/remoteapi#Configuring_Remote_API_on_an_App_Engine_Client
>
> I have made modifications on the receiving app(B) web.xml. It is working 
> fine when app A is in the local test environment. However, I am getting 
> this error when both apps are live. 
>
> When I use the same google email id which the app is deployed
>
> com.ps.server.handler.product.PublishChangesHandler execute: Timeout while 
> fetching URL: https://appid.appspot.com:443/remote_api
>
>
>
> When I use an alternative email id, the error is 
>
>
> com.ps.server.handler.product.PublishChangesHandler execute: Login failed. 
> Reason: BadAuthentication WebLoginRequired
>
>
> I get an email from google which says suspicious attempt to login is 
> prevented. Once I follow this link
>
> https://accounts.google.com/b/0/DisplayUnlockCaptcha 
>
> the remote publishing is working fine temporally
>
>
> Below is my code
>
> RemoteApiOptions remoteApiOptions = new RemoteApiOptions().server( 
> arg0.getInstance(), 443).credentials(arg0.getAdminEmail(), 
> arg0.getAdminPassword()); RemoteApiInstaller installer = new 
> RemoteApiInstaller(); try { installer.install(remoteApiOptions); 
> remoteApiOptions.reuseCredentials(arg0.getAdminEmail(), 
> installer.serializeCredentials()); while (iterator.hasNext()) { Person 
> person= iterator.next(); String oldNS = NamespaceManager.get(); try { 
> NamespaceManager.set("com.sb.host"); Entity entity = new 
> Entity("Person",person.getBarCode()); entity.setProperty("name", person
> .getName());
> entity.setProperty("barcode", person.getBarCode());
> entity.setProperty("imageurl", person.getImageURL());
>
> DatastoreService ds = DatastoreServiceFactory .getDatastoreService(); 
> System.out .println("Key of new entity is " + ds.put(entity)); } catch 
> (Exception e) { e.printStackTrace(); log.severe(e.getMessage()); } finally 
> { NamespaceManager.set(oldNS); } } 
>
> Am I missing some configuration? I am using java based appengine apps.
>
>
> Thanks in Advance
>
> Ajiyos
>
>

-- 
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: Why GAE is very expensive?

2013-10-21 Thread Kaan Soral
Yes, yes, yes there is :)
Don't set max idle instances to 50

It's like saying, I have a shitload of money, so you can keep 50 idle 
instances for nothing, just in case something happens

Especially at short bursts, those idle instances fire, and you get to pay 
the hourly cost

I think appengine is much more economical than alternative scenarios, if 
used right, it's obviously challenging and quirky

"pageview" is also ambiguous, I have 1 rpc / mostly html sections of an 
existing app, they did generate millions of views at one point, but I 
didn't see any significant increase in my costs

There are many things to consider, for example do you have threadsafe: true 
etc. etc.

I used to have idle instances high, it cost more than necessary bills for a 
short span of time for me

Also I've recently discovered newly(?) modified weekly discounted hours 
functionality, still mourning my losses, the first implementation was 
ridiculous, current one is a must have

On Monday, October 7, 2013 2:41:03 PM UTC+3, Claudio Antunes wrote:
>
> I think App Engine is very, very good, but it is very, very expensive.
> Yesterday I was testing my application and I've did a comparison:
> About 600,000 pageviews delivered, I paid US$ 35 to Google.
> I'm using Frontend Instance Class F1 and 50 Max Idle Instances and 4.0s to 
> Min Pending Latency.
> On my current hosting, VPS.NET , I pay US$ 30 daily to 
> have 2 machines with 38.4GHz Dedicated CPU and 6152MB Dedicated RAM to 
> delivery my application. As I use it only  12 hours, I pay only US$ 15.
> So App Engine Is very, but very, but very expensive. And if I enable the 
> Cloud SQL, it will be yet more expensive.
>
> There is anyway to reduce the price?
>

-- 
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] Problem with the appcfg's compiled jsp jar with Objectify4.0

2013-10-21 Thread sarath upadrista
Hello all,
I have simple test web application project and was doing some exploring on 
objectify4. I was uploading the war to the remote server using 
"\bin\appcfg.cmd".  The project has one simple .jsp file using the 
UserService and User classes.
I am looking at the local temp folder created by the "appcfg update war" 
command. It has pre-compiled jsp file and jarred into the 
"_ah_compiled_jsps-.jar". Surprisingly this jar contains the compiled 
emulated User.java class from "src\main\resources" folder of the Objectify 
jar. Please find the attached jar.

I want to know how that User.class got jarred into the 
_ah_compiled_jsps-.jar.

Thanks&Regards,
Sarath U.

-- 
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] App engine backend for an Android app with PHP and MYSQL

2013-10-21 Thread Abhishek Pandey
Hi guys.

I have an *android* app which connects to a database which is hosted on 
hostgator.
The backend calls are made by *PHP scripts* while the database is built 
using *mysql*.
 Well now I want to migrate this database on the Google Cloud. That 
part is quick to get along.
The place where I need help is:
 -Can i replace the links with the path to the hostgator server with the 
app engine application URL? for eg

*Before*:   String serverURL = "http://192.168.2/abc/xyz and so on to3.
*Now:   String serverURL = "http://*
 I replaced the IP with the cloud instance name and so on in other files.


Am I following the write path?
My ID has been whitelisted by Google hence I am using App engine for PHP. I 
have already deployed my PHP Scripts on the cloud.
Need your help to configure my android app and proceed further.
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] Datastore write costs

2013-10-21 Thread phantom river
every entity requires two writes, plus, every indexABLE value requires two 
writes.

https://developers.google.com/appengine/docs/python/datastore/entities#Python_Understanding_write_costs

On Wednesday, December 26, 2012 10:44:18 PM UTC-6, John Patterson wrote:
>
>
>
> On Thursday, 27 December 2012 01:27:47 UTC+13, aschmid wrote:
>>
>> even if a property is not indexed is needs to be written to the datastore 
>> so it costs 1 write instead of 2 (one to the datastore and one to the 
>> index).
>>
>
>
> Unindexed properties do not cost anything to write.  They are included in 
> the one write operation that writes the entity data.  Basically, all 
> properties are serialised and written as a single opaque unit.  It costs no 
> more to write 1000 unindexed properties as 1 - however the latency to read 
> and write will be higher which will cost you in terms of instance hours.
>
> An indexed property costs 2 writes because each index (ASC, DESC) is 
> a separate write.
>  
>
>>  
>>
> vlad UNEXISTING props do not add any write cost ;)
>>
>>
> What do you mean by UNEXISTING?  Be careful here because null values will 
> also cost 2 writes if they are indexed.
>
> Twig (prob also Objectify) can be configured store null values as indexed 
> or not indexed (also or stored or not stored) while still storing non-null 
> values.
>

-- 
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] Why GAE is very expensive?

2013-10-21 Thread Claudio Antunes
I think App Engine is very, very good, but it is very, very expensive.
Yesterday I was testing my application and I've did a comparison:
About 600,000 pageviews delivered, I paid US$ 35 to Google.
I'm using Frontend Instance Class F1 and 50 Max Idle Instances and 4.0s to 
Min Pending Latency.
On my current hosting, VPS.NET , I pay US$ 30 daily to 
have 2 machines with 38.4GHz Dedicated CPU and 6152MB Dedicated RAM to 
delivery my application. As I use it only  12 hours, I pay only US$ 15.
So App Engine Is very, but very, but very expensive. And if I enable the 
Cloud SQL, it will be yet more expensive.

There is anyway to reduce the price?

-- 
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] Push data from one app instance to another using remote api

2013-10-21 Thread Ajiyos Yohannan
Hi All,

I have an administrative app(A) which need to occasionally push data from 
that to a live app(B). I was trying to use remote api as mentioned in below 
link

https://developers.google.com/appengine/docs/java/tools/remoteapi#Configuring_Remote_API_on_an_App_Engine_Client

I have made modifications on the receiving app(B) web.xml. It is working 
fine when app A is in the local test environment. However, I am getting 
this error when both apps are live. 

When I use the same google email id which the app is deployed

com.ps.server.handler.product.PublishChangesHandler execute: Timeout while 
fetching URL: https://appid.appspot.com:443/remote_api



When I use an alternative email id, the error is 


com.ps.server.handler.product.PublishChangesHandler execute: Login failed. 
Reason: BadAuthentication WebLoginRequired


I get an email from google which says suspicious attempt to login is prevented. 
Once I follow this link

https://accounts.google.com/b/0/DisplayUnlockCaptcha 

the remote publishing is working fine temporally


Below is my code

RemoteApiOptions remoteApiOptions = new RemoteApiOptions().server( 
arg0.getInstance(), 443).credentials(arg0.getAdminEmail(), 
arg0.getAdminPassword()); RemoteApiInstaller installer = new 
RemoteApiInstaller(); try { installer.install(remoteApiOptions); 
remoteApiOptions.reuseCredentials(arg0.getAdminEmail(), 
installer.serializeCredentials()); while (iterator.hasNext()) { Person 
person= iterator.next(); String oldNS = NamespaceManager.get(); try { 
NamespaceManager.set("com.sb.host"); Entity entity = new 
Entity("Person",person.getBarCode()); entity.setProperty("name", person
.getName());
entity.setProperty("barcode", person.getBarCode());
entity.setProperty("imageurl", person.getImageURL());

DatastoreService ds = DatastoreServiceFactory .getDatastoreService(); 
System.out .println("Key of new entity is " + ds.put(entity)); } catch 
(Exception e) { e.printStackTrace(); log.severe(e.getMessage()); } finally 
{ NamespaceManager.set(oldNS); } } 

Am I missing some configuration? I am using java based appengine apps.


Thanks in Advance

Ajiyos

-- 
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] App Engin

2013-10-21 Thread Sandesh Mankar
Google App engin apps is free of cost for devlop... answer 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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] OCSP validation from GAE

2013-10-21 Thread Prem Nair
Hello All
I am trying to write some code JSP/bean code where the web page does a OCSP 
certificate validation programmatically. Here is the snippet.

// enable OCSP

   Security.setProperty("ocsp.enable", "true");

   if (ocspServer != null) {

   Security.setProperty("ocsp.responderURL", OCSPUrl);

   Security.setProperty("ocsp.responderCertSubjectName",

   caCert.getSubjectX500Principal().getName());

   }


When the code executes the first Security.setProperty it throws the 
following exception.

java.security.AccessControlException: access denied (
"java.security.SecurityPermission" "setProperty.ocsp.enable")

at java.security.AccessControlContext.checkPermission(
AccessControlContext.java:366)

at java.security.AccessController.checkPermission(AccessController.
java:560)

at java.lang.SecurityManager.checkPermission(SecurityManager.java:
549)

at com.google.appengine.tools.development.
DevAppServerFactory$CustomSecurityManager.checkPermission(
DevAppServerFactory.java:431)

at java.lang.SecurityManager.checkSecurityAccess(SecurityManager.
java:1715)

at java.security.Security.check(Security.java:855)

at java.security.Security.setProperty(Security.java:793)

at com.example.myproject.CRLValidate.OCSPValidation(CRLValidate.java
:104)

at com.example.myproject.cryptoutils.valiateOCSP(cryptoutils.java:40
)

at org.apache.jsp.NewFile_jsp._jspService(NewFile_jsp.java:109)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97
)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:377)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.
java:313)


Any thoughts of how to solve this. I am using eclipse with GAE(jetty) for 
the local env testing.

Please let me know

Thanks
Prem

 

-- 
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] Wix + Google Apps + Gmail reactivation after cancelled temporarily .. How do I reactivate?

2013-10-21 Thread Dylan Hunt
Hi,

I have a website running for a client on wix.com.

Through wix.com, I opened up an email account for them with 
x...@hisdomain.com.

They didn't pay the bill, so I cancelled their site + email.

NOW I am trying to reactivate it since they are paying me again. I waited 
the 30+ days, but find it impossible to reactivate the account by any 
means! Wix.com says "i already have an account with gapps", and Gapps just 
doesn't show any place at all where I can reactivate. Help !!

Here is what I tried (pic):



-- 
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] Indexes stuck building

2013-10-21 Thread Justin Ellison
First time GAE user, but I'm trying to deploy a simple open source app and 
my indexes stay stuck in "building".  Any guidance appreciated.

application: je-stashboard

Thanks,

Justin

-- 
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: logservice error

2013-10-21 Thread James Gilliam
Still getting logservice errors inside GAE code, just now ...

Happening less than 10 times a day, but pretty nasty when it does ...


   1. 2013-10-21 09:33:47.139 Traceback (most recent call last):
   2. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/app_logging.py",
 
   line 78, in emit
   3. E2013-10-21 09:33:47.139 logservice.write(message)
   4. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
 
   line 348, in write
   5. E2013-10-21 09:33:47.139 logs_buffer().write(message)
   6. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
 
   line 237, in write
   7. E2013-10-21 09:33:47.139 return self._lock_and_call(self._write, line)
   8. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
 
   line 158, in _lock_and_call
   9. E2013-10-21 09:33:47.139 return method(*args)
   10. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
 
   line 254, in _write
   11. E2013-10-21 09:33:47.139 self._autoflush()
   12. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
 
   line 322, in _autoflush
   13. E2013-10-21 09:33:47.139 self._flush()
   14. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
 
   line 308, in _flush
   15. E2013-10-21 09:33:47.139 apiproxy_stub_map.MakeSyncCall('logservice', 
   'Flush', request, response)
   16. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 
   line 94, in MakeSyncCall
   17. E2013-10-21 09:33:47.139 return stubmap.MakeSyncCall(service, call, 
   request, response)
   18. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 
   line 328, in MakeSyncCall
   19. E2013-10-21 09:33:47.139 rpc.CheckSuccess()
   20. E2013-10-21 09:33:47.139 File 
   
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
 
   line 133, in CheckSuccess
   21. E2013-10-21 09:33:47.139 raise self.exception
   22. E2013-10-21 09:33:47.139 CancelledError: The API call 
   logservice.Flush() was explicitly cancelled.
   23. E2013-10-21 09:33:47.139 Logged from file wsgi.py, line 278




On Sunday, October 20, 2013 11:56:18 AM UTC-7, James Gilliam wrote:
>
> python 2.7 -- getting errors from inside of GAE code ...
>
>
>1. 2013-10-20 11:45:31.919 Traceback (most recent call last):
>2. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/app_logging.py",
>  
>line 78, in emit
>3. E2013-10-20 11:45:31.919 logservice.write(message)
>4. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
>  
>line 348, in write
>5. E2013-10-20 11:45:31.919 logs_buffer().write(message)
>6. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
>  
>line 237, in write
>7. E2013-10-20 11:45:31.919 return self._lock_and_call(self._write, 
>line)
>8. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
>  
>line 158, in _lock_and_call
>9. E2013-10-20 11:45:31.919 return method(*args)
>10. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
>  
>line 254, in _write
>11. E2013-10-20 11:45:31.919 self._autoflush()
>12. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
>  
>line 322, in _autoflush
>13. E2013-10-20 11:45:31.919 self._flush()
>14. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/logservice/logservice.py",
>  
>line 308, in _flush
>15. E2013-10-20 11:45:31.919 apiproxy_stub_map.MakeSyncCall('logservice', 
>'Flush', request, response)
>16. E2013-10-20 11:45:31.919 File 
>
> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>  
>line 94, in MakeSyncCall
>17. E2013-10-20 11:45:31.919 return stubmap.MakeSyncCall(service, 
>call, request, r

[google-appengine] Index advice related to exploding indexes

2013-10-21 Thread Kaan Soral
Although I had absorbed the index logic long ago, I was pretty paralyzed 
after reading these 2 articles once again:
https://developers.google.com/appengine/docs/python/datastore/indexes#Python_Index_definition_and_structure
https://developers.google.com/appengine/articles/indexselection
Especially the second one is a gem

I had accepted the fact that I was okay with 2000+ write operations (index 
number) - however while rewriting the codebase with transaction/index 
related improvements, I decided to re-visit my index structure too

There are some repeated properties I have that are either "a"/"b" or just 
existent/non existent homogenously
Basically 50% is "a", 50% is "b" etc, I've decided to pull them out of 
composite indexes to reduce write operations, seems like a safe/obvious move

However there are also instances with such configurations:

Model_name
- repeated_property [80]
- tag [0-10]
- sort_order DESC

When there are 10 tags, the write operations become 10x80 = 800 - pretty 
costly considering sort_order also gets updated from time to time, all 
those updates cost 800

Both "repeated_property" and "tag" are extremely diverse, "tag" is a random 
string, "repeated_property" has billions of values

A possible reduction for zig-zag indexing could be:

Model_name
- repeated_property [80]
- sort_order DESC

Model_name
- tag [0-10]
- sort_order DESC

It reduces the index number from 800 to 90

However I'm not sure zig-zag merging could handle the above scenario

As none of the index's results are anywhere close to the actual result 
itself

---

My second is question is a pretty short one, it's kind of like a 
confirmation, I'm 99% sure, but not 100% sure

Would the situation be any different if sort_order was ASC?

Model_name
- repeated_property [80]
- tag [0-10]
- sort_order

I think the above index would still be needed, so there won't be any 
difference

---

I should do some more testing and watch this too :) 
http://www.google.com/events/io/2010/sessions/next-gen-queries-appengine.html
I'm not sure I got the zig-zag logic 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.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] GAE Datastore is FAST today!

2013-10-21 Thread Dennis
Users can feel the difference!   Thanks and hope this is the "new normal"!

-- 
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] Missing Email Headers in BounceNotificationServlet

2013-10-21 Thread Ivan Lazov
Hello, 

I'm developing a small functionality in my app which allows a user to send 
email to given reciepient.
Every sent email is stored in a repository containing information about the 
sender, recipient, send date, *delivery status*, etc.
I'm having my own Email Entity class used to represent the above 
information.

I'm using the *Low-Level 
API*
 to 
send email messages and the 
*BounceNotificationServlet*which
 is used to receive notification when an email is not delivered 
successfully.

For security reasons GAE provides only a small set of headers that an 
outgoing email can have (*Sending email with 
headers*
)

So when I'm sending an email message first I compose my Email entity 
object, save it in the datastore and from there I'm building the actual 
Message
 that 
will be send.
I'm using the "Reference" header and I'm writing the unique Email entity 
id. I need this so when I receive a notification that en email was not 
deliveired,
I can load the email (using the written email id in the headers) from the 
datastore and update it's status

I manage to set the header for the outgoing message, and when the 
BounceNotificationServlet from the request I'm getting the 
BounceNotification
 which 
contains info about the status of the message. 
>From there I can get the actual MimeMessage that was sent. I've expect all 
of the headers but the one that I set ("Reference") was not included.

Because of that I'm having a workaround. In the content of the email 
message I'm appending the email id, after that when the 
BounceNotificationServlet is invoked
I'm parsing the content of the MimeMessage, retrieve the email id and etc. 
It's a lot of work and the code is not looking good.

Also I've tried the 
JavaMail 
which 
allows to the Transport object (responsible for sending email messages) to 
add a listener which is invoked when a message is delivered, not delivered. 
But when I deployed my application in GAE I've received 
AccessDeniedException.

My question is this the correct way for using headers and setting an unique 
id for every sent email ? 

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


[google-appengine] how to update/copy from NDB Objects to local Objects?

2013-10-21 Thread Vijay Kumbhani
show in image 

in filterObj has many modules . it retrive :

*filterObj = records().query()*

i can define 

*new = {}*
*
*
*how to update ?*

i try below methods but not working
*
*
*1. new.update(filterObj._Query__filters)*
*2. new["_Query__filters"] = []*
*new["_Query__filters"] =  filterObj._Query__filters*
*
*
* get error...*

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