[google-appengine] Cron is 301

2011-05-16 Thread 筱枫
My application needs to use 301 to my APP domain.


if not os.environ.get('HTTP_HOST').endswith(domain) and
os.environ.get('HTTPS') == 'off' and os.environ.get('X-AppEngine-
Cron') is None:


But why Cron is 301?

os.environ.get('X-AppEngine-Cron') is None :Ineffective?

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



Re: [google-appengine] Wouldn't it be great if pull queues supported arbitrary tagging

2011-05-16 Thread Robert Kluin
I offerred to buy Nick a shot/glass of what ever he likes to drink if
he can make this happen.  He looked pretty tempted. Maybe if a few
other people volunteer to contribute a shot/glass we can help this
along  Of course staring the issue is a good start too.

Pull queues make a lot of very neat things possible.  Having some type
of grouping will make some truly awesome things possible.



Robert





On Tue, May 17, 2011 at 00:16, Jeff Schnitzer  wrote:
> I (and, from the sound of it, a million other people) asked Nick this
> exact question at I/O, and it sounds like this is near the top of the
> list for the Task Queue team.
>
> (but yeah, I starred it too)
>
> Jeff
>
> On Mon, May 16, 2011 at 6:53 PM, Jason Collins
>  wrote:
>> As pointed out by all-around-smart-dude Robert Kluin, it would be
>> great if you could place arbitrary tags on a task when submitting to a
>> pull queue, and then lease the tasks back out with that tag. This
>> would provide a great, built-in mechanism to do groupings, etc.
>>
>> This would yield:
>>
>>  q = taskqueue.Queue('pull0')
>>  q.add(taskqueue.Task(payload=payload_str, method='PULL',
>> tag='mytag'))
>>
>> and
>>
>>  q = taskqueue.Queue('pull0')
>>  sometasks = q.lease_tasks(3600, 100, tag='mytag')
>>
>> where "tag" is an optional kwarg in both cases.
>>
>> Star http://code.google.com/p/googleappengine/issues/detail?id=5061,
>> or discuss there.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: How can I test backends with my free app

2011-05-16 Thread Greg Darke (Google)
Oh, right.

To get backends to work in the development app server you need to pass
it the '--backends' option.

On 16 May 2011 21:19, Richard Arrano  wrote:
> What I think he was referring to, and a problem I've encountered, is
> working with Backends in the development server. The dev server will
> not acknowledge the presence of Backends - the link is listed in the
> admin console, but it won't list any backends you've configured in the
> yaml file. Are these meant to only work on the production server? I
> actually was trying to experiment with the backends-io you linked to
> and I could not get it to work on the dev server at all.
>
> -Richard
>
> On May 16, 2:46 pm, "Greg Darke (Google)" 
> wrote:
>> To upload this backend to App Engine, you need to perform a backends up:
>>
>> appcfg.py backends update path/to/application/
>>
>> On 12 May 2011 10:04, Sergey  wrote:
>>
>> > I want to test new feature - backends.
>> > As I understand it's enough to create backends.yaml and describe there
>> > parameters of my backends.
>> > I've done that:
>>
>> > backends:
>> > - name: testbe
>> >  class: B1
>> >  instances: 1
>>
>> > I ran this app on dev server. At admin console I see "This application
>> > doesn't define any backends. See the documentation for more."
>>
>> > I tried to deploy this into GAE - same effect.
>>
>> > What am I doing wrong?
>> > Is there some code examples to better understand the idea of backends?
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: How can I test backends with my free app

2011-05-16 Thread Richard Arrano
What I think he was referring to, and a problem I've encountered, is
working with Backends in the development server. The dev server will
not acknowledge the presence of Backends - the link is listed in the
admin console, but it won't list any backends you've configured in the
yaml file. Are these meant to only work on the production server? I
actually was trying to experiment with the backends-io you linked to
and I could not get it to work on the dev server at all.

-Richard

On May 16, 2:46 pm, "Greg Darke (Google)" 
wrote:
> To upload this backend to App Engine, you need to perform a backends up:
>
> appcfg.py backends update path/to/application/
>
> On 12 May 2011 10:04, Sergey  wrote:
>
> > I want to test new feature - backends.
> > As I understand it's enough to create backends.yaml and describe there
> > parameters of my backends.
> > I've done that:
>
> > backends:
> > - name: testbe
> >  class: B1
> >  instances: 1
>
> > I ran this app on dev server. At admin console I see "This application
> > doesn't define any backends. See the documentation for more."
>
> > I tried to deploy this into GAE - same effect.
>
> > What am I doing wrong?
> > Is there some code examples to better understand the idea of backends?
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: RE: [google-appengine] Google Bot Trying to DoS me? Anyone at Google Help Me?

2011-05-16 Thread nischalshetty
haha that's an insane amount of requests! Good thing we're not yet on the 
per instance pricing model :P

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



Re: [google-appengine] Wouldn't it be great if pull queues supported arbitrary tagging

2011-05-16 Thread Jeff Schnitzer
I (and, from the sound of it, a million other people) asked Nick this
exact question at I/O, and it sounds like this is near the top of the
list for the Task Queue team.

(but yeah, I starred it too)

Jeff

On Mon, May 16, 2011 at 6:53 PM, Jason Collins
 wrote:
> As pointed out by all-around-smart-dude Robert Kluin, it would be
> great if you could place arbitrary tags on a task when submitting to a
> pull queue, and then lease the tasks back out with that tag. This
> would provide a great, built-in mechanism to do groupings, etc.
>
> This would yield:
>
>  q = taskqueue.Queue('pull0')
>  q.add(taskqueue.Task(payload=payload_str, method='PULL',
> tag='mytag'))
>
> and
>
>  q = taskqueue.Queue('pull0')
>  sometasks = q.lease_tasks(3600, 100, tag='mytag')
>
> where "tag" is an optional kwarg in both cases.
>
> Star http://code.google.com/p/googleappengine/issues/detail?id=5061,
> or discuss there.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Drop Table equivalent?

2011-05-16 Thread nischalshetty
What is your suggestion for apps that get a huge amount of user data and 
don't really need the user data after say a week or two? Is it advisable to 
clean up by deleting them or should we just let it stay?

I';m asking this because deleting is not cheap either.  So what works out 
better for appengine users, deleting or letting the data be there in the big 
table? 


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



[google-appengine] You are not authorized to access this application.

2011-05-16 Thread netcompetency
Dear all,
need assistance ... just 3 hours ago i can access my app engine, but
right now i get this error :

You are not authorized to access this application.

My app engine page is something like :

http://appengine.google.com/a/mydomain.com


My account login to that domain is m...@mydomain.com And i am
administrator for the domain.

Best regards,



Eko Budhi S

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



[google-appengine] Wouldn't it be great if pull queues supported arbitrary tagging

2011-05-16 Thread Jason Collins
As pointed out by all-around-smart-dude Robert Kluin, it would be
great if you could place arbitrary tags on a task when submitting to a
pull queue, and then lease the tasks back out with that tag. This
would provide a great, built-in mechanism to do groupings, etc.

This would yield:

  q = taskqueue.Queue('pull0')
  q.add(taskqueue.Task(payload=payload_str, method='PULL',
tag='mytag'))

and

  q = taskqueue.Queue('pull0')
  sometasks = q.lease_tasks(3600, 100, tag='mytag')

where "tag" is an optional kwarg in both cases.

Star http://code.google.com/p/googleappengine/issues/detail?id=5061,
or discuss there.

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



[google-appengine] App.yaml and Handlers and Instances

2011-05-16 Thread Brandon Wirtz
With the way Handler Caching works, if I have a different handler for
different functions of my app will instances cache both handlers and
"handle" both functions? Or will some instances handle one thing, and some
instances handle another?

 

I am asking because I got to thinking that through better memory management
I could speed up some of my requests if the instances were single purpose,
but I didn't want go through the trouble of optimizing code if all instances
handled all types of request.

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



RE: [google-appengine] Google Bot Trying to DoS me? Anyone at Google Help Me?

2011-05-16 Thread Brandon Wirtz
Don't know if it stopped on its own, or someone at Google Stopped it, or me
making it so I served a "powered by google" image to anyone asking for this
url.

 

But it has stopped it appears.

 


URI 

Req/Mincurrent

Requestslast 18 hrs

Avg CPU (API)last hr

% CPUlast 18 hrs


 

/


Re: [google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread marcdmarc
Hello Greg,

Just wanted to add a suggestion.  I am considering upgrading to the support 
plan for $500 a month.  Something to consider may be to add additional 
"free" quota for those who are signing up for this plan, since they are 
committing to a monthly minimum.  Depending on the amount of extra "free" 
quota extended to these accounts, this may help those of us who are not sure 
weather it is worth the purchase.

I know there are many hobbyists out there, but for those who are complaining 
about going from $1.00 a month to $9 a month, that should be the least of 
your concerns.  For those who are actual startups, what we should be asking 
is questions like the following:

If my current bill was $1000/mo, how much would these new changes to App 
Engine make my new monthly bill?  Would it be $4000, $10,000, $40,000?  This 
would really help me determine if I need to seek additional funding to 
launch my startup on App Engine, or if the costs are reasonable enough, if I 
could continue to support growth out of my own pocket until a break even 
point is reached.

The more transparent details you can provide, the better decision startups 
can make to determine their capital needs.

Best

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



RE: [google-appengine] Google Bot Trying to DoS me? Anyone at Google Help Me?

2011-05-16 Thread Brandon Wirtz
I even blocked a whole bunch of Google IP's and it just keeps hopping.
This is insane.

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Brandon Wirtz
Sent: Monday, May 16, 2011 4:16 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Google Bot Trying to DoS me? Anyone at Google
Help Me?

 

Maybe I'm a bad person returning a 200 on this 404 page, but Google bot is
just banging away at 

 

But this URL

http://www.lockergnome.com/



Re: [google-appengine] api method to find records within x miles of geo location

2011-05-16 Thread Stephen
On Thu, May 12, 2011 at 3:53 AM, Shash Joshi  wrote:
> I saw the documentation on bigtable fields, one of them is
> "geographical point". Is there an function to find all records within
> a certain radius of given lat and long.


The new full text search api will support proximity queries on points,
but it is not generally available yet.

  http://www.google.com/events/io/2011/sessions/full-text-search.html

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



Re: [google-appengine] api method to find records within x miles of geo location

2011-05-16 Thread Ross M Karchner
It's limited, but I just finished a project (my prof even gave me an "A"!)
using GeoModel, and I've decided it's a Good Thing:

http://code.google.com/p/geomodel/



On Wed, May 11, 2011 at 10:53 PM, Shash Joshi  wrote:

> I saw the documentation on bigtable fields, one of them is
> "geographical point". Is there an function to find all records within
> a certain radius of given lat and long.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ross M Karchner

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



[google-appengine] Google Bot Trying to DoS me? Anyone at Google Help Me?

2011-05-16 Thread Brandon Wirtz
Maybe I'm a bad person returning a 200 on this 404 page, but Google bot is
just banging away at 

 

But this URL

http://www.lockergnome.com/



Re: [google-appengine] Re: Possible to Defer Tasks to Backend

2011-05-16 Thread Greg Darke (Google)
Hi Aaron,

I did not realise that the deferred api does not pass the target
parameter on. For the moment, you can either modify your app.yaml file
to ensure that all tasks inserted on a queue are sent to the specified
backend or you can patch deferred.py and upload it in your
application.

As for your question about the pipeline api, if you the call to
pipeline.start occurs in a backend, then all tasks created in that
pipeline will execute on that backend.

If you would like it to support the target parameter, please file a
bug on the issue tracker for that project -
http://code.google.com/p/appengine-pipeline/issues/list.

On 15 May 2011 14:49, Aaron  wrote:
> Hi Greg,
>
> I'm having trouble figuring out the exact syntax for deferring tasks
> to a backend.
>
> When I try to use the following syntax:
> deferred.defer(PullReport,userkey,dates,_queue="googleanalytics",_target='processga')
> I get the following error:
> TypeError: PullReport() got an unexpected keyword argument '_target'
>
> Also, how exactly do we specify to start a pipeline in a specific
> backend.  I've tried pipeline.start(_target='backend-name') but get an
> unexpected keyword argument as well.
>
> Thanks!
> Aaron
>
> On May 14, 7:19 pm, "Greg Darke (Google)" 
> wrote:
>> Since backends and frontends are updated separately, the code in each
>> may be different. Updating a frontend does not change the code that is
>> running in a backend/vice versa.
>>
>> As for the syntax, I believe it should be:
>> deferred.defer(deferred_fn_name, param1, param2, _target='backend-name')
>>
>> On 14 May 2011 18:22, Aaron  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Hi Greg,
>>
>> > Thanks for the response.  Just to be clear, the syntax to defer a task
>> > to a backend is the following?
>> > deferred.defer(deferred_fn_name, param1, param2, _target='http://
>> > backend-name.app-id.appspot.com')
>>
>> > Also, you mentioned that we should be sure that the backend has the
>> > same classes and configurations as the frontend?  As far as I have
>> > read, the frontend and backend are using the same code base, so is
>> > this implied already, or is there something extra I am missing?
>>
>> > Best,
>> > Aaron
>>
>> > On May 14, 5:56 pm, "Greg Darke (Google)" 
>> > wrote:
>> >> You should be able to send a deferred task to a backend.
>>
>> >> Some points to remember though:
>> >>  * You should ensure that any classes/etc you reference from the
>> >> frontend must exist in the backend.
>> >>  * The deferred function should pass the 'target' parameter on to 
>> >> taskqueue
>> >>  * You must enable the deferred handler on the backend (just make sure
>> >> it is enabled in app.yaml when you upload the backend).
>>
>> >> On 14 May 2011 14:41, Aaron  wrote:
>>
>> >> > Hi,
>>
>> >> > The way my application is set up involves deferring a lot of long-
>> >> > running tasks, which I now would like to move to a backend.  Is it
>> >> > possible to defer a task so that it is processed in a backend?  Or, do
>> >> > I have to create handlers for every deferred task in order to take
>> >> > advantage of this feature?
>>
>> >> > Best,
>> >> > Aaron
>>
>> >> > P.S. Thanks so much for the hard work!  The new features are very
>> >> > exciting :).
>>
>> >> > --
>> >> > You received this message because you are subscribed to the Google 
>> >> > Groups "Google App Engine" group.
>> >> > To post to this group, send email to google-appengine@googlegroups.com.
>> >> > To unsubscribe from this group, send email to 
>> >> > google-appengine+unsubscr...@googlegroups.com.
>> >> > For more options, visit this group 
>> >> > athttp://groups.google.com/group/google-appengine?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] New pricing causes bizarre design

2011-05-16 Thread Jeff Schnitzer
In one of the I/O 2011 sessions, a Googler building an in-house app
describes how he uses the blobstore + file api to load a large data
blob and perform in-memory searches:

http://www.google.com/events/io/2011/sessions/coding-for-the-cloud-how-we-write-enterprise-apps-for-google-on-app-engine.html

It feels to me like a huge hack to get around indexing limitations of
the datastore, and low-volume enterprisey things like this really
would be way better done with a simple SQL store.  "All I have is this
hammer..."  I'm surprised that in-house apps aren't using a beta
version of appengine's SQL store.

For your 3d lattice, the biggest question really is "how big is it".
I'm guessing it isn't very large otherwise you wouldn't consider
serializing it.  In this case, storing it in the
datastore/blobstore/memcache is a pretty good idea assuming you don't
have high-volume query demands.

If you get into the tens-to-hundreds of megabytes, you're in the area
where a Backend makes sense.  Except that backends are ludicrously
expensive and you can just as easily run an in-memory index like this
elsewhere in the cloud for one-sixth to one-tenth the price.  Beware
the hard limit of 1G and the $460/mo that a B8 will cost you.

Jeff

On Mon, May 16, 2011 at 2:38 PM, Robert Kluin  wrote:
> Hi Bob,
>  Some thoughts inline.
>
> On Fri, May 13, 2011 at 05:40, Bob  wrote:
>> Hello,
>>
>> I've started writing GAE app that will have a 3D lattice object model with a
>> couple of thousand nodes per user. Each request will typically need to read
>> and analyse 1-2% of the records to walk the model in order to find the
>> target node and half a dozen writes to update it and it's neighbours.
>>
>> With the new pricing I'm now thinking of storing the model as a single large
>> serialised object, with one read to get the whole thing and one write to put
>> it back after manipulation in memory.
>
> How big is this object?  If it is over 1mb then you're going to need
> to shard it across multiple datastore entities.  If you will know the
> 'addresses' of the nodes you'll be interested in, then using those
> 'addresses' as the key_names might be another option to consider.
> Otherwise, if the object will be under 1mb, and the cost of
> serializing / deserializing it is acceptable, storing it in a single
> entity might not be bad.
>
> I suggest you think about the frequency of each event (ie write vs
> read) and how you need to access and present the data.  Optimize for
> the common cases.
>
>
>>
>> It seems wrong to be reading and writing so much *unchanged* data but we're
>> being charged per datastore API operation not by actual volume.The CPU cost
>> of serialising and de-serialising is, apparently, irrelevant.
>
> Well, it takes time to serialize / deserialize the data, during that
> time that instance will be occupied.  In other words you should figure
> out which option is the fastest for the 'common' operation(s), because
> that will make your app as a whole perform better and be more
> cost-effective.
>
>>
>> I must surely be missing something?
>>
>> (It does mean that if I decided to migrate away from GAE I can replace all
>> the clever storage with a flat file!)
>>
>> If we're charged per record on bulk fetches (still to be decided?) then this
>> strategy might be good for iterating over any list. Storing a serialised
>> copy of the whole collection along side the individual records would add one
>> (large) read and one (large) write per record update but would allow
>> iteration for one read rather than "N".
>
> Yeah, you might not even need to read all of the data on updates.  If
> you have all of the data you'll need, and you know the key(s), you
> could just overwrite any existing data.  Obviously this depends on
> your use-case, but it is something to be aware of.
>
>
> I'd suggest you do some simple experiments to figure out what method
> will be best for your use-case.
>
>
> Robert
>
>
>
>>
>> Admittedly I'm new to GAE and haven't really studied this through yet, but
>> Google's policy of charging a "real" monetary value for "real" resources,
>> CPU time, disk space, network bandwidth, via an "abstract" resource concept
>> like datastore API calls seems like asking for trouble. Developers will
>> always try to optimise their costs so Google needs to set charges based on
>> what _they_ want optimised. I can't see how minimising the number of
>> individual API calls can possibly be a real target for Google.
>>
>> I think I'll investigate other hosting possibilities before committing a lot
>> of time to learning this one. I can't guess at how much it's going to cost
>> and I haven't the heart to fight.
>>
>> Bob
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, vis

Re: [google-appengine] Failing to update app - "Client Error (400) The request is invalid for an unspecified reason."

2011-05-16 Thread Robert Kluin
Hi Yoav,
  You could try running the update with the --verbose flag.  I would
also suggest changing the version number.


Robert







On Sun, May 15, 2011 at 05:13, Yoav  wrote:
> Hi all,
>
> Ever since yesterday I've been encountering the following error when
> trying to update my app:
> """
> ...
> Cloned 1400 files.
> Cloned 1500 files.
> Uploading 1 files and blobs.
> Uploaded 1 files and blobs
> Precompilation starting.
> Precompilation completed.
> Starting deployment.
> Rolling back the update.
> Error 400: --- begin server output ---
>
> Client Error (400)
> The request is invalid for an unspecified reason.
> --- end server output ---
> """
>
> This is similar to the following bug:
> http://code.google.com/p/googleappengine/issues/detail?id=4820&q=Client%20error%20400&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
>
> However, I'm not using an error handler in app.yaml. I'm using Python
> and the latest (1.5.0) SDK.
> I should also note that before it started I cancelled an update in the
> middle. I ran "appcfg.py rollback" since with no errors. Doesn't help
> though.
>
> Is there any way I can further debug this issue? Any logs that
> indicate the actual error behind the scenes?
>
> Thanks!
> Yoav
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Lot's of requests per user, aggressive caching or what?

2011-05-16 Thread Ikai Lan (Google)
Any chance you have control over the client? If you are using caching,
chances are good many of the requests are "no ops" and you are just checking
for changes - in this case you should be polling for a version number, not
the data itself. The client checks the version number against the locally
last known version and re-requests the full data if needed.

Another alternate implementation is to generate a obfuscated URL, maybe
using UUID + SHA1 hashing. Example:

/some/url/891893984ajkskakska23

Send a redirect back after a user authenticates and proxy cache the
obfuscated URL. For some weak security, time the data out hourly so users
always need to receive the redirect to get the data.

You have a lot of different requirements that are not particularly easy to
engineer for; you either need to accept the costs or engineer workarounds.
Some of these workarounds will require requirement compromises.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Sat, May 14, 2011 at 4:47 AM, Ricky Button  wrote:

>
> Thanks I'll check this out. Is there anything I can to do optimize
> bandwidth used. Each of those 50,000 requests are completely different
> entities and have different uris, (/api/articles/46452)
>
> On May 13, 10:10 pm, Gopal Patel  wrote:
> > you can use in-instance caching. It may not be always up to date but will
> > give you extreme speeds.
> >
> > http://appengine-cookbook.appspot.com/recipe/decorator-to-getset-from...
> >
> > checkout fifth one.
> >
> >
> >
> > On Sat, May 14, 2011 at 4:37 AM, Ricky Button 
> wrote:
> > > At a peak, a user of my application can make around 30,000 - 50,000
> > > requests a day that returns some xml data. The xml data itself is
> > > cached so the request is only doing two RPC calls (one for
> > > authentication, one for the xml string). However, this seems to use a
> > > lot of CPU time and outgoing bandwidth. I've tried using memcache for
> > > the xml data but it turns out that it is usually a low hit ratio so it
> > > is quite a bit slower. Is there any form of aggressive caching or
> > > method I can use to limit the resources used over millions of requests
> > > per day?
> >
> > > P.S. I have looked at this article
> > >http://www.kyle-jensen.com/proxy-caching-on-google-appengine
> > > and figured that it would not work well in my scenario because I want
> > > to be able to authenticate on each request.
> >
> > > Thanks,
> > > Ricky Button
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Drop Table equivalent?

2011-05-16 Thread Ikai Lan (Google)
Just as an FYI if you are constantly deleting entities, there are
performance implications. Deleted data is soft deleted and asynchronously
deleted off disk at a later time, so it adds some non trivial cost to index
traversal times (you are still having to skip all the deleted rows on disk).
It's similar to how OPTIMIZE TABLE works in InnoDB for MySQL (
http://dev.mysql.com/doc/refman/5.1/en/optimize-table.html) - the space
isn't really reclaimed until we do a table compaction.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, May 13, 2011 at 3:01 PM, Brandon Wirtz  wrote:

> Yeah, That's great for a one-off, but I actually want the equivalent of a
> memcache flush all that I can Cron.
>
>
> -Original Message-
> From: google-appengine@googlegroups.com
> [mailto:google-appengine@googlegroups.com] On Behalf Of Greg Darke
> (Google)
> Sent: Friday, May 13, 2011 2:22 PM
> To: google-appengine@googlegroups.com
> Subject: Re: [google-appengine] Drop Table equivalent?
>
> The currently recommended way of deleting all entities of a particular kind
> is to use datastore admin
> (
> http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Dele
> ting_Entities_in_Bulk).
>
> If the primary version of your code is not in python, you can upload a
> simple application to an alternate version that has datastore admin
> enabled.
>
> On 13 May 2011 13:12, Brandon Wirtz  wrote:
> > I know people have asked variations of this question, and the solution
> > has always been to drop entities 1000 at a time,
> >
> >
> >
> > But have an app that the cleanup code had a misspelling so it never
> > did anything except clean things that didn’t exist…
> >
> >
> >
> > Is there a “Drop Table” equivalent?  Or do I really query 1000 and
> > delete over and over.  Cause it appears that’s going to be like $100
> > which is fine…. If that is the best solution, but if there is a drop
> > table equivalent that is $5 I’d really like that so that I can use it
> > in my code that would normally get charged the $100 over 6 months …
> >
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/google-appengine?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Unboxing Video For AppEngine

2011-05-16 Thread Ikai Lan (Google)
Brandon,

Please send an email to pr...@google.com with your request.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Thu, May 12, 2011 at 4:55 PM, Brandon Wirtz  wrote:

> My partner Chris Pirillo does a lot of unboxing videos, cause that’s what
> our audience likes.  Would any of the AppEngine team be willing to do a Tour
> on camera with us to “unbox” the box that CDN In A Box runs on.  I know
> Google is very sensitive about security, but I thought it might be good
> promo for GAE to be “this is the servers” these are the people kind of
> thing.  I haven’t seen Amazon or Rackspace do this kind of thing.
>
>
>
> Some of you may remember Chris from Tech TV.  Or GnomeDex.  Here he is
> talking about our product.
>
> http://www.youtube.com/watch?v=khZAfvwtrw8
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] api method to find records within x miles of geo location

2011-05-16 Thread Malcolm MacKinnon
You may want to check out these links:
Read the following GettingStarted section.
http://code.google.com/p/geopy/wiki/GettingStarted
Using the above tool, you can write a python script to put your lat, lng
values in the datastore .  Read this, and it will show you how.

http://pypi.python.org/pypi/geomodel

Here some
other tutorials with code to help you:

http://pypi.python.org/pypi/geomodel/0.1.0
http://code.google.com/p/geopy/

Also, look at the code in the PubSchool demo
http://code.google.com/p/geomodel/source/browse/trunk/demos/pubschools.

On Mon, May 16, 2011 at 2:53 PM, Ikai Lan (Google) wrote:

> We do not currently support geospatial queries.
>
> You'll want to star the issues here that fit your needs:
>
>
> http://code.google.com/p/googleappengine/issues/list?can=2&q=geo&colspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Log&cells=tiles
>
> Alternatively, I'm told that Fusion Tables can meet this requirement for
> you:
>
> http://www.google.com/fusiontables/Home
>
> (Haven't tried myself, though)
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog: http://googleappengine.blogspot.com
> Twitter: http://twitter.com/app_engine
> Reddit: http://www.reddit.com/r/appengine
>
>
>
> On Wed, May 11, 2011 at 7:53 PM, Shash Joshi  wrote:
>
>> I saw the documentation on bigtable fields, one of them is
>> "geographical point". Is there an function to find all records within
>> a certain radius of given lat and long.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] Re: Sorting by key

2011-05-16 Thread Ikai Lan (Google)
More docs on this subject here:

http://code.google.com/appengine/docs/python/datastore/gqlreference.html

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Mon, May 16, 2011 at 3:12 PM, Ikai Lan (Google) wrote:

> You want to do a get by key?
>
> SELECT * FROM EntityKind WHERE __key__ = KEY("ENCODEDKEYHERE")
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog: http://googleappengine.blogspot.com
> Twitter: http://twitter.com/app_engine
> Reddit: http://www.reddit.com/r/appengine
>
>
>
> On Sat, May 7, 2011 at 4:40 PM, Anton Veretennikov <
> anton.veretenni...@gmail.com> wrote:
>
>> Oops, I did mean not only soring but also filtering by 1 key.
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>

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



Re: [google-appengine] Re: Sorting by key

2011-05-16 Thread Ikai Lan (Google)
You want to do a get by key?

SELECT * FROM EntityKind WHERE __key__ = KEY("ENCODEDKEYHERE")

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Sat, May 7, 2011 at 4:40 PM, Anton Veretennikov <
anton.veretenni...@gmail.com> wrote:

> Oops, I did mean not only soring but also filtering by 1 key.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] Index error & vacuum error on Linux & Windows

2011-05-16 Thread Ikai Lan (Google)
What's the application ID?

Typically, you'd file a production issue with this request:

http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Fri, May 13, 2011 at 6:14 AM, Stefan  wrote:

> Gosh. This is really annoying with no place to turn for help. My app
> engine app has an index error and there is no way to resolve it.
>
> Index error is persistent and vacuum_indexes fails on linux and
> windows.
>
> Were can I get help with this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Index Building Stuck

2011-05-16 Thread Robert Kluin
File a production issue.

http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue







On Sun, May 15, 2011 at 23:24, PWBDecker  wrote:
> App ID: wedarethegame.com
>
> Issue: Index Building Stuck
>
> I have uploaded an index definition file which has exhausted my index
> quota at 200, and the majority of them (~165) are stuck in the
> BUILDING stage and have been for weeks.  I have since refactored my
> code back down to using approximately 40 indexes, however I can not
> upload this new index.yaml definition because it complains that I'm
> out of index quota and vacuum_indexes will correctly identify the
> definitions will are no longer being used and say it will delete them,
> however this results in no change in my actual Datastore Index
> Dashboard.  Is there something you can do on your end to kickstart
> this process or mark them all in error so I can vacuum them?
>
> Thank you,
>
> Jared
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] api method to find records within x miles of geo location

2011-05-16 Thread Ikai Lan (Google)
We do not currently support geospatial queries.

You'll want to star the issues here that fit your needs:

http://code.google.com/p/googleappengine/issues/list?can=2&q=geo&colspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Log&cells=tiles

Alternatively, I'm told that Fusion Tables can meet this requirement for
you:

http://www.google.com/fusiontables/Home

(Haven't tried myself, though)

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Wed, May 11, 2011 at 7:53 PM, Shash Joshi  wrote:

> I saw the documentation on bigtable fields, one of them is
> "geographical point". Is there an function to find all records within
> a certain radius of given lat and long.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Need help with My Traceback error

2011-05-16 Thread Ikai Lan (Google)
I didn't look at the issue - but that's because it'd be much more helpful to
know what went *wrong*. A blind exception isn't useful for any kind of
debugging.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Thu, May 12, 2011 at 12:07 AM, mihir  wrote:

> traceback: --
> BEGIN-
> Frame in ['main.py'] at line 30 Frame main in ['main.py'] at line 27
> Frame
> run_wsgi_app in ['__init__.py'] at line 1076 Frame run in
> ['handlers.py'] at
> line 93 Frame finish_response in ['handlers.py'] at line 133 Frame
> appstats_wsgi_wrapper in ['recording.py'] at line 857 Frame wsgi_app
> in
> ['__init__.py'] at line 378 Frame dispatch in ['__init__.py'] at line
> 505 Frame
> dispatch in ['handlers.py'] at line 82 Frame dispatch in
> ['__init__.py'] at
> line 179 Frame get in ['handlers.py'] at line 162 Frame commonhandler
> in
> ['handlers.py'] at line 159 Frame loads in ['__init__.py'] at line 232
> Frame
> decode in ['decoder.py'] at line 251 _w = s = None self = Traceback
> (most
> recent call last): File
> "/base/data/home/apps/wolfff4/14.348387106974957643/apps/wolf4/
> handlers.py",
> line 65, in dispatch return RequestHandler.dispatch(self, *args,
> **kwargs) File
> "distlib/tipfy/__init__.py", line 171, in dispatch response =
> method(**rule_args) File
> "/base/data/home/apps/wolfff4/14.348387106974957643/apps/wolf4/rpc/
> handlers.py",
> line 162, in get return self.commonhandler(**kwargs) File
> "/base/data/home/apps/wolfff4/14.348387106974957643/apps/wolf4/rpc/
> handlers.py",
> line 54, in commonhandler kwargs =
> simplejson.loads(request.args.get('args',
> None)) File
> "/base/python_runtime/python_lib/versions/third_party/django-0.96/
> django/utils/simplejson/__init__.py",
> line 232, in loads return cls(encoding=encoding, **kw).decode(s) File
> "/base/python_runtime/python_lib/versions/third_party/django-0.96/
> django/utils/simplejson/decoder.py",
> line 251, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> TypeError: expected string or buffer
> ---END--
>
>
> I don't know how it caused . Just got a mail of traceback ..
>
> Thanks ,
>
> Mihir
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Custom domain stopped working suddenly.

2011-05-16 Thread Ikai Lan (Google)
Both of the sites are working for me. Since you were able to make it work
with a /etc/host change, this tells me something was probably wrong with
your DNS cache in your browser intermittently.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Wed, May 11, 2011 at 11:12 PM, codebrain  wrote:

> Hello.
>
> I have a app running at http://shahindemo.appspot.com
> I was accessing it using custom domain : http://www.colact.com
>
> This suddenly stopped working.
>
> ping www.colact.com
> PING ghs.l.google.com (74.125.43.121): 56 data bytes
> 64 bytes from 74.125.43.121: icmp_seq=0 ttl=38 time=492.186 ms
> 64 bytes from 74.125.43.121: icmp_seq=1 ttl=38 time=523.077 ms
>
> I noticed that if i making the following entry in  /etc/hosts file of
> my machine things work.
> 74.125.95.121   www.colact.com
>
> below is my dns cname record
> www.colact.com   Alias (CNAME)   ghs.google.com
> *.colact.com Alias (CNAME)   ghs.google.com
>
>
> Please help
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: Dynamically generating icons

2011-05-16 Thread PaulM
Thanks for the reply - for some reason I didn't receive it by email?

On Apr 28, 1:02 am, Brandon Donnelson  wrote:
> As far as I know, no feature exists in the api to do this. Libraries that
> handle 2d libs dependencies aren't white listed yet. I'd like to see more
> image features available like imagemagik or HTML5 canvas.
>
> Brandon Donnelsonhttp://gwt-examples.googlecode.com

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



[google-appengine] Re: TypeError in urlfetch_stub.py for SDK 1.4.3?

2011-05-16 Thread IgorNovak
Sure. This is the link to it: 
http://code.google.com/p/googleappengine/issues/detail?id=5060

Thanks,
Igor

On May 16, 7:28 pm, Robert Schuppenies  wrote:
> Mh, looks like a bug. Could you file an issue for that?
>
> thanks a lot,
> robert
>
>
>
>
>
>
>
> On Mon, May 16, 2011 at 1:54 AM, IgorNovak  wrote:
> > Hi. Recently I've faced with the same problem. It appeared in v1.4.3
> > firstly but since it didn't bother me a lot I did nothing hoping it
> > would be fixed in v1.5.0. However it still isn't.
>
> > The error appears in this place:
>
> > urlfetch_stub.py (Version 1.5.0)
> > 293 if payload is not None:
> > 294   escaped_payload = payload.encode('string_escape')
> > 295 else:
> > 296   escaped_payload = payload
> > 297 logging.debug('Making HTTP request: host = %s, '
> > 298               'url = %s, payload = %s, headers = %s',
> > 299               host, url, escaped_payload, adjusted_headers)
>
> > In my case the type of payload variable is unicode, that's why the
> > TypeError appears. There was no problem before v1.4.3 because the
> > encode method wasn't used:
>
> > urlfetch_stub.py (Version 1.4.2)
> > 228 logging.debug('Making HTTP request: host = %s, '
> > 229               'url = %s, payload = %s, headers = %s',
> > 230               host, url, payload, adjusted_headers)
>
> > As you can see this code doesn't play an important role, so I can just
> > comment out it and everything will work fine. However I'm afraid this
> > can cause more serious problems in future.
>
> > So the question: is it a bug or new behavior? In first case I can just
> > wait for fixing it. In second case I have to change my code in order
> > to avoid this problem.
>
> > On Mar 31, 3:15 am, Dave Peck  wrote:
> > > Looking at this further, it looks like Braintree is using
> > > httplib.HTTPSConnection().request() with a unicode body. My read of
> > > the documentation is that the body should be bytes by the time you
> > > call request, so I think this is a Braintree API error rather than an
> > > App Engine SDK error.
>
> > > Does this sound like a reasonable conclusion?
>
> > > Thanks,
> > > Dave
>
> > > On Mar 30, 4:54 pm, Dave Peck  wrote:
>
> > > > I just updgraded to 1.4.3, and now see this error when performing URL
> > > > fetches:
>
> > > > TypeError
> > > > Exception Value:
> > > > escape_encode() argument 1 must be string, not unicode
> > > > Exception Location:
> > /Applications/GoogleAppEngineLauncher.app/Contents/
> > > > Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> > > > google_appengine/google/appengine/api/urlfetch_stub.py in
> > > > _RetrieveURL, line 283
>
> > > > This is happening inside app engine SDK code, which is in turn being
> > > > tickled by Braintree's payment API. This was not a problem in previous
> > > > versions of the App Engine SDK, though potentially it is a problem
> > > > with Braintree, not the SDK.
>
> > > > Could someone investigate and advise?
>
> > > > Thanks,
> > > > Dave
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] How can I test backends with my free app

2011-05-16 Thread Greg Darke (Google)
To upload this backend to App Engine, you need to perform a backends up:

appcfg.py backends update path/to/application/

On 12 May 2011 10:04, Sergey  wrote:
> I want to test new feature - backends.
> As I understand it's enough to create backends.yaml and describe there
> parameters of my backends.
> I've done that:
>
> backends:
> - name: testbe
>  class: B1
>  instances: 1
>
> I ran this app on dev server. At admin console I see "This application
> doesn't define any backends. See the documentation for more."
>
> I tried to deploy this into GAE - same effect.
>
> What am I doing wrong?
> Is there some code examples to better understand the idea of backends?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Backends Sample does not work

2011-05-16 Thread Greg Darke (Google)
In the dev-appserver you need to pass the '--backends' parameter.

On 15 May 2011 11:07, uri twig  wrote:
> Hi I'm tring to work with the new backends api, I downloaded the
> sample code form http://backends-io.appspot.com/
>
> and I run it on a few machines with the new appengine 1.5 sdk
>
> this is what I get when http://localhost:8080/welcome
>
> What am I'm doing wrong ?!?
>
> Traceback (most recent call last):
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 4053, in _HandleRequest
>    self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 3977, in _Dispatch
>    base_env_dict=env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 588, in Dispatch
>    base_env_dict=base_env_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 3050, in Dispatch
>    self._module_dict)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 2954, in ExecuteCGI
>    reset_modules = exec_script(handler_path, cgi_path, hook)
>  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \dev_appserver.py", line 2834, in ExecuteOrImportScript
>    exec module_code in script_module.__dict__
>  File "D:\test\counter_demo\demo_frontend.py", line 22, in 
>    backends.get_url('counter'))
>  File "C:\Program Files\Google\google_appengine\google\appengine\api
> \backends\backends.py", line 101, in get_url
>    return _get_dev_url(backend, instance)
>  File "C:\Program Files\Google\google_appengine\google\appengine\api
> \backends\backends.py", line 171, in _get_dev_url
>    return 'http://%s' % _get_dev_hostname(backend, instance)
>  File "C:\Program Files\Google\google_appengine\google\appengine\api
> \backends\backends.py", line 190, in _get_dev_hostname
>    raise InvalidBackendError(error)
> InvalidBackendError: Backend not found: counter
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] New pricing causes bizarre design

2011-05-16 Thread Robert Kluin
Hi Bob,
  Some thoughts inline.

On Fri, May 13, 2011 at 05:40, Bob  wrote:
> Hello,
>
> I've started writing GAE app that will have a 3D lattice object model with a
> couple of thousand nodes per user. Each request will typically need to read
> and analyse 1-2% of the records to walk the model in order to find the
> target node and half a dozen writes to update it and it's neighbours.
>
> With the new pricing I'm now thinking of storing the model as a single large
> serialised object, with one read to get the whole thing and one write to put
> it back after manipulation in memory.

How big is this object?  If it is over 1mb then you're going to need
to shard it across multiple datastore entities.  If you will know the
'addresses' of the nodes you'll be interested in, then using those
'addresses' as the key_names might be another option to consider.
Otherwise, if the object will be under 1mb, and the cost of
serializing / deserializing it is acceptable, storing it in a single
entity might not be bad.

I suggest you think about the frequency of each event (ie write vs
read) and how you need to access and present the data.  Optimize for
the common cases.


>
> It seems wrong to be reading and writing so much *unchanged* data but we're
> being charged per datastore API operation not by actual volume.The CPU cost
> of serialising and de-serialising is, apparently, irrelevant.

Well, it takes time to serialize / deserialize the data, during that
time that instance will be occupied.  In other words you should figure
out which option is the fastest for the 'common' operation(s), because
that will make your app as a whole perform better and be more
cost-effective.

>
> I must surely be missing something?
>
> (It does mean that if I decided to migrate away from GAE I can replace all
> the clever storage with a flat file!)
>
> If we're charged per record on bulk fetches (still to be decided?) then this
> strategy might be good for iterating over any list. Storing a serialised
> copy of the whole collection along side the individual records would add one
> (large) read and one (large) write per record update but would allow
> iteration for one read rather than "N".

Yeah, you might not even need to read all of the data on updates.  If
you have all of the data you'll need, and you know the key(s), you
could just overwrite any existing data.  Obviously this depends on
your use-case, but it is something to be aware of.


I'd suggest you do some simple experiments to figure out what method
will be best for your use-case.


Robert



>
> Admittedly I'm new to GAE and haven't really studied this through yet, but
> Google's policy of charging a "real" monetary value for "real" resources,
> CPU time, disk space, network bandwidth, via an "abstract" resource concept
> like datastore API calls seems like asking for trouble. Developers will
> always try to optimise their costs so Google needs to set charges based on
> what _they_ want optimised. I can't see how minimising the number of
> individual API calls can possibly be a real target for Google.
>
> I think I'll investigate other hosting possibilities before committing a lot
> of time to learning this one. I can't guess at how much it's going to cost
> and I haven't the heart to fight.
>
> Bob
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] Re: Charging for memory using Megabyte.hours

2011-05-16 Thread Kaan Soral
I was just thinking about this, great idea!

0.1$'s for 1 hours is already A LOT

since it's 35mb/hour for python apps ( assuming a request consumes
35mb's of memory),
Let's compare it to a dedicated server with 12gb's ram and 200$
monthly fee: That would make 342 instances, 0.58$ monthly for every
instance, 0,020$'s daily, <0.001$ hourly

So compared to a dedicated server we currently pay x100, which is
acceptable-ish, but x200, x300 would be too high

Memory was always a bottleneck for me while managing LAMP, basically a
server's capacity is Ram/Request_Consumed_Ram requests every moment
And since Web is shaped around API's that consume a lot of time while
data is being transferred, memory being the bottleneck should be valid
for nearly everyone

Megabyte hours would be a great solution

On May 15, 4:51 pm, Dale  wrote:
> According to Ikai and other Googlers a very real cost to GAE is the
> memory consumption of apps that don't use a lot of CPU but still have
> active instances.
>
> So why not add a charge for memory usage x time? If one instance used
> 20 MB for 24 hours it would consume 480 MB.hours.
>
> Instance.hours hides behind an opaque scheduler. I prefer the
> granularity of the existing billing system: It's easier to know where
> to spend development time optimising code, and what the payoff is
> likely to be.

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



Re: [google-appengine] Consolidated payment

2011-05-16 Thread Paul
On a related note, is it going to be possible to be charged in other 
currencies? Paying transaction charges for small foreign exchanges would be 
a real pain!

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



Re: [google-appengine] Re: Getting one bill a month for the App Engine Usage

2011-05-16 Thread Stephen
On Sat, May 14, 2011 at 5:44 PM, vinhboy  wrote:
> I get charged $.02 a month for appengine use. Can google please
> implement a "minimum" charge for appengine.

Under the new scheme you will be charged $9.02 per month. Problem solved...

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



Re: RE: [google-appengine] Re: 1.5 improvements Make me less scared of Pricing

2011-05-16 Thread Dennis
Thanks for the tips, Brandon!

A quick question: those "scratchpad" datastores are python dicts, right?   
We need to be aware that the dicts are not coordinated across instances so 
they may have stale data (which might be ok depending on the app).  Just 
want to make sure I understand your suggestion.  

Thanks,
Dennis

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



Re: [google-appengine] Re: How to force immediate log writes in Java?

2011-05-16 Thread Ikai Lan (Google)
I think what you're looking for is:

import com.google.apphosting.api.ApiProxy;
ApiProxy.flushLogs();

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Sun, May 15, 2011 at 11:02 PM, radomir  wrote:

> You can use LogDigger to capture application errors
> http://logdigger.com/logdigger-connector/java-logging-app-engine
>
>
> On May 15, 8:28 am, Mike Prince  wrote:
> > I have a servlet that works fine in development but crashes the server
> > in production and I'm trying to figure out why.
> >
> > Since the log files seem to be flushed at the end of the HTTP request,
> > and the server is crashing, nothing is written and I'm flying blind.
> >
> > I thought I heard mention of a way to force immediate flushing of each
> > logging event... but I can't seem to find any docs.  If this exists,
> > can someone please point me to the docs or let me know how to
> > configure it?
> >
> > Thanks,
> >
> > Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Consolidated payment

2011-05-16 Thread Ikai Lan (Google)
Yes, this is important to us. The pricing changes will make this feature
possible.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Mon, May 16, 2011 at 4:58 AM, PR  wrote:

> Hello App engine users,
>  I would like to ask googlers, if it is possible to proceed payments
> in consolidated way somehow. We have more apps, which costs us about
> 2USD per week. For 2 apps, that means 8 invoices per month for total
> 16USD. Our finnancial dpt. is angry about that. Thank you for answer
> and great service!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread Gregory D'alesandre
Still working on getting as many questions answered as possible, but it will
likely be today or tomorrow...

Greg

On Mon, May 16, 2011 at 4:09 AM, Marcel Overdijk
wrote:

> When can we expect to have the official FAQ place be available?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Channel API NS_BIDING_ABORTED

2011-05-16 Thread ungarida
Hi, I'm developing a Javascript client using Channel API.
I'm testing that the channel will be live for a long time,
hypothetically days.

In the first implementation the onError handler checked the timeout
error and then tries a new channel creation. As I wrote here
http://code.google.com/p/googleappengine/issues/detail?id=4940 after
four hours the onError hanlder recieves an Unknown SID error.

I made a second implementation with a timer that every hour closes the
current socket and creates a new channel, now my problem is that with
HttpFox in Firefox I'm registering a lot of consecutives HTTP errors:

GET   http://talkgadget.google.com/talkgadget/dch/bind (Aborted)text/
plain (NS_BINDING_ABORTED)
CONTENT -> Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)
GET   http://talkgadget.google.com/talkgadget/dch/bind (Aborted)text/
plain (NS_BINDING_ABORTED)
CONTENT -> Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)
POST http://talkgadget.google.com/talkgadget/dch/bind (Aborted) text/
plain (NS_BINDING_ABORTED)
CONTENT -> Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)

are all these errors expected or I'm doing something wrong?

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



[google-appengine] Failing to update app - "Client Error (400) The request is invalid for an unspecified reason."

2011-05-16 Thread Yoav
Hi all,

Ever since yesterday I've been encountering the following error when
trying to update my app:
"""
...
Cloned 1400 files.
Cloned 1500 files.
Uploading 1 files and blobs.
Uploaded 1 files and blobs
Precompilation starting.
Precompilation completed.
Starting deployment.
Rolling back the update.
Error 400: --- begin server output ---

Client Error (400)
The request is invalid for an unspecified reason.
--- end server output ---
"""

This is similar to the following bug:
http://code.google.com/p/googleappengine/issues/detail?id=4820&q=Client%20error%20400&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log

However, I'm not using an error handler in app.yaml. I'm using Python
and the latest (1.5.0) SDK.
I should also note that before it started I cancelled an update in the
middle. I ran "appcfg.py rollback" since with no errors. Doesn't help
though.

Is there any way I can further debug this issue? Any logs that
indicate the actual error behind the scenes?

Thanks!
Yoav

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



[google-appengine] GAE + Django Problem

2011-05-16 Thread HN
Hi ,

Am using gae with django.What am doing is getting some value and
storing it according to model class,when i hit the url for saving it
am getting error 'str' object has no attribute 'status_code' here is
full trace back


--> --> -->

Traceback (most recent call last):
  File "/home/srinivas/Downloads/google_appengine/google/appengine/
tools/dev_appserver.py", line 4053, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "/home/srinivas/Downloads/google_appengine/google/appengine/
tools/dev_appserver.py", line 3977, in _Dispatch
base_env_dict=env_dict)
  File "/home/srinivas/Downloads/google_appengine/google/appengine/
tools/dev_appserver.py", line 588, in Dispatch
base_env_dict=base_env_dict)
  File "/home/srinivas/Downloads/google_appengine/google/appengine/
tools/dev_appserver.py", line 3050, in Dispatch
self._module_dict)
  File "/home/srinivas/Downloads/google_appengine/google/appengine/
tools/dev_appserver.py", line 2954, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File "/home/srinivas/Downloads/google_appengine/google/appengine/
tools/dev_appserver.py", line 2836, in ExecuteOrImportScript
script_module.main()
  File "/home/srinivas/Desktop/Var_Project/src/main.py", line 31, in
main
util.run_wsgi_app(application)
  File "/home/srinivas/Downloads/google_appengine/google/appengine/ext/
webapp/util.py", line 98, in run_wsgi_app
run_bare_wsgi_app(add_wsgi_middleware(application))
  File "/home/srinivas/Downloads/google_appengine/google/appengine/ext/
webapp/util.py", line 116, in run_bare_wsgi_app
result = application(env, _start_response)
  File "/home/srinivas/Downloads/google_appengine/lib/django_0_96/
django/core/handlers/wsgi.py", line 193, in __call__
response = middleware_method(request, response)
  File "/home/srinivas/Downloads/google_appengine/lib/django_0_96/
django/middleware/common.py", line 59, in process_response
if response.status_code == 404:
AttributeError: 'str' object has no attribute 'status_code'

and then i tried with the static list of values which are going to be
saved to model,then also i got the same error

and here you can see my piece of code
http://pastie.org/1902212


please any thoughts on this it would be a great

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



[google-appengine] reading an uploaded file

2011-05-16 Thread HN
Hi i have another question in app engine.U have one form where in
thate one field for file upload ,i need to read the uploaded file
validate it and tore it into the datastore.

My question is how can i read the uploaded file ??

in django i would have used request.FILES in GAE si there anything of
that sort ??

please help in this

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



[google-appengine] Backends Sample does not work

2011-05-16 Thread uri twig
Hi I'm tring to work with the new backends api, I downloaded the
sample code form http://backends-io.appspot.com/

and I run it on a few machines with the new appengine 1.5 sdk

this is what I get when http://localhost:8080/welcome

What am I'm doing wrong ?!?

Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 4053, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 3977, in _Dispatch
base_env_dict=env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 588, in Dispatch
base_env_dict=base_env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 3050, in Dispatch
self._module_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2954, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2834, in ExecuteOrImportScript
exec module_code in script_module.__dict__
  File "D:\test\counter_demo\demo_frontend.py", line 22, in 
backends.get_url('counter'))
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\backends\backends.py", line 101, in get_url
return _get_dev_url(backend, instance)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\backends\backends.py", line 171, in _get_dev_url
return 'http://%s' % _get_dev_hostname(backend, instance)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\backends\backends.py", line 190, in _get_dev_hostname
raise InvalidBackendError(error)
InvalidBackendError: Backend not found: counter

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



[google-appengine] Restarting server in Eclipse won't deploy changes

2011-05-16 Thread chrism
Why is it that when I stop and restart the dev server after making and
saving .jsp changes (by clicking the 'red box' icon to terminate the
app and run > debug as > web application to restart), my changes
aren't deployed.

I have to actually close the project and reopen it (or close and re-
launch Eclipse for the changes to take effect).

Thanks in advance.

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



[google-appengine] New pricing causes bizarre design

2011-05-16 Thread Bob
Hello,

I've started writing GAE app that will have a 3D lattice object model with a 
couple of thousand nodes per user. Each request will typically need to read 
and analyse 1-2% of the records to walk the model in order to find the 
target node and half a dozen writes to update it and it's neighbours.

With the new pricing I'm now thinking of storing the model as a single large 
serialised object, with one read to get the whole thing and one write to put 
it back after manipulation in memory.

It *seems *wrong to be reading and writing so much **unchanged** data but 
we're being charged per datastore API operation not by actual volume.The CPU 
cost of serialising and de-serialising is, apparently, irrelevant.

I must surely be missing something?

(It does mean that if I decided to migrate away from GAE I can replace all 
the clever storage with a flat file!)

If we're charged per record on bulk fetches (still to be decided?) then this 
strategy might be good for iterating over any list. Storing a serialised 
copy of the whole collection along side the individual records would add one 
(large) read and one (large) write per record update but would allow 
iteration for one read rather than "N".

Admittedly I'm new to GAE and haven't really studied this through yet, but 
Google's policy of charging a "real" monetary value for "real" resources, 
CPU time, disk space, network bandwidth, via an "abstract" resource concept 
like datastore API calls seems like asking for trouble. Developers will 
always try to optimise their costs so Google needs to set charges based on 
what _they_ want optimised. I can't see how minimising the number of 
individual API calls can possibly be a real target for Google.

I think I'll investigate other hosting possibilities before committing a lot 
of time to learning this one. I can't guess at how much it's going to cost 
and I haven't the heart to fight.

Bob


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



[google-appengine] Index Building Stuck

2011-05-16 Thread PWBDecker
App ID: wedarethegame.com

Issue: Index Building Stuck

I have uploaded an index definition file which has exhausted my index
quota at 200, and the majority of them (~165) are stuck in the
BUILDING stage and have been for weeks.  I have since refactored my
code back down to using approximately 40 indexes, however I can not
upload this new index.yaml definition because it complains that I'm
out of index quota and vacuum_indexes will correctly identify the
definitions will are no longer being used and say it will delete them,
however this results in no change in my actual Datastore Index
Dashboard.  Is there something you can do on your end to kickstart
this process or mark them all in error so I can vacuum them?

Thank you,

Jared

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



[google-appengine] Error vacuuming indexes

2011-05-16 Thread Tatarnikov Alexander
Hi i had created three indexes mistakenly(wrote some wrong queries)
and now they all in error state, i'm following instructions that
appcfg.py displays and use vacuum indexes but get this error:

Deleting a composite index failed: ApplicationError: 1

No idea what it means/ How to remove these indexes?

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



[google-appengine] Help in uploading a file from Widows Mobile 6.5 device to GAE blobstore

2011-05-16 Thread Chimbu Aravind
Hi,

Need some help in uploading a file from Widows Mobile 6.5 device to
GAE blobstore


In the GAE server, I have the following python code; (Its still
crude.. )

class GetNewUploadUrlHandler(webapp.RequestHandler):
def get(self):
upload_url = blobstore.create_upload_url('/upload')
self.response.headers['Content-Type'] = "text/plain"
self.response.out.write("%s" % upload_url)
logging.info("\n\n from hgetuploadurl - %s",upload_url)


class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self):
upload_files = self.get_uploads('file')
for ufile in upload_files:
blob_info = ufile
logging.info("key = %s",blob_info.key())
#
blob_reader = blobstore.BlobReader(upload_files[0].key())
# Further processing of the file


In the device we have some C# code to test the implementation, which
uploads a jpg file

private void button1_Click(object sender, EventArgs e)
{
String WebUrl = "http://xxxserver.appspot.com/
getnewuploadurl";  //xxx is a dummy name not the real one

HttpWebRequest httpRequest =
(HttpWebRequest)HttpWebRequest.Create(WebUrl);
httpRequest.Timeout = 15000;
httpRequest.ReadWriteTimeout = 2;

using (HttpWebResponse httpResponse =
(HttpWebResponse)httpRequest.GetResponse())
{
Encoding enc = System.Text.Encoding.GetEncoding(1252);
StreamReader loResponseStream = new
StreamReader(httpResponse.GetResponseStream(), enc);
string Response = loResponseStream.ReadToEnd();

MessageBox.Show(Response, this.Text,
MessageBoxButtons.OK,
   MessageBoxIcon.Hand,
MessageBoxDefaultButton.Button1);
{
HttpWebRequest req =
(HttpWebRequest)WebRequest.Create(Response);
req.Credentials =
CredentialCache.DefaultCredentials;
string boundary = "frontier";
req.Method = "POST";

req.ContentType = string.Format("multipart/form-
data; boundary={0}", boundary);

req.AllowWriteStreamBuffering = true;

// Retrieve request stream
Stream reqStream = req.GetRequestStream();

string imageType = "image/jpeg";
string fileName = "test.jpg";
string header = string.Format("--{0}", boundary);
string footer = string.Format("--{0}--",
boundary);
string NewLine = "\r\n";

String payload1 = string.Format("{0}{1}Content-
Disposition: file; name=\"file\"; filename=\"{2}\"{1}", header,
NewLine, fileName);
String payload2=string.Format("Content-Type: {0}{1}
{1}", imageType, NewLine);

String payload = string.Concat(payload1,
payload2);

byte[] HeadData =
Encoding.GetEncoding("utf-8").GetBytes(payload.ToString());

reqStream.Write(HeadData, 0, HeadData.Length);

// Open the local file
String path =
System.IO.Path.GetDirectoryName(this.GetType().Assembly.GetModules()
[0].FullyQualifiedName) + "\\test.jpg";
FileStream rdr = new FileStream(path,
FileMode.Open);

// Allocate byte buffer to hold file contents
byte[] inData = new byte[4096];

// loop through the local file reading each data
block
//  and writing to the request stream buffer
int bytesRead = rdr.Read(inData, 0,
inData.Length);
while (bytesRead > 0)
{
reqStream.Write(inData, 0, bytesRead);
bytesRead = rdr.Read(inData, 0,
inData.Length);
}

byte[] FootData =
Encoding.GetEncoding("utf-8").GetBytes(footer.ToString());
reqStream.Write(FootData, 0, FootData.Length);

rdr.Close();
reqStream.Close();

req.GetResponse();

};
};
}


Problem:
When I tested the server and the C# client in the device using the GAE
development server; it worked fine.
However after I uploaded the server to the Appspot.com,
req.GetResponse(); fails with error code 503 (Service not available)

Only difference I see between running GAE development server and the
Server in appspot.com is the size and structure of the upload url
generated by the GAE blobstore

eg: with appspot.com url generated is
http://xxxserver.appspot.com/_ah/upload/AMmfu6aEjWpmkRhysTsf8LeZPGjOUB_G2GScVr43zcsShpwHwSiglMCLVyXlr2kl0pDmb4wKwJwub1hk9pTRhenib0fs98IMILBGo_bTdh4gN8DjgHhIwOk/ALBNUaYATdDYcj3Cgn0TJoqquBKVL9Y2jDmL0Jyg/

Where as with the development server, it is much smaller.

in the appspot logs, w

[google-appengine] Consolidated payment

2011-05-16 Thread PR
Hello App engine users,
  I would like to ask googlers, if it is possible to proceed payments
in consolidated way somehow. We have more apps, which costs us about
2USD per week. For 2 apps, that means 8 invoices per month for total
16USD. Our finnancial dpt. is angry about that. Thank you for answer
and great service!

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



Re: [google-appengine] Caching GeoModel requests?

2011-05-16 Thread Rodrigo Souza
You should compute the GeoBox for your location, and then query/cache the
geobox.
Take a look inside the geomodel source code for geoboxes.
You might have to modify the geomodel source code.

Thanks,
Rodrigo Souza

On Sat, May 14, 2011 at 8:26 PM, David Mora  wrote:

> you can shard by the biggest geocell and cache based on the smallest
> geocell.
>
> at then end GeoModel creates a hash based on geoboxes that you can easily
> play with
>
>
> On 14 May 2011 18:10, Devraj Mukherjee  wrote:
>
>> Hi all,
>>
>> Our project http://safesharps.org.au uses GeoModel
>> (http://code.google.com/p/geomodel/). To boost performance we have
>> been caching many of our query results using memcache, this is
>> generally done by keeping an index of the search terms.
>>
>> Our app has Web / Mobile Web and upcoming mobile applications for iOS
>> and Android.
>>
>> Geo is a little tricky to cache, since using the Lat/Lng is not
>> exactly efficient. For example, a search query by people within 10
>> meters of each other would result in the same results on our database
>> but would have different Geo locations.
>>
>> Any ideas on caching / performance enhancement when using Geo queries?
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
>
> --
> http://about.me/david.mora
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] Index Building Stuck

2011-05-16 Thread PWBDecker
Hi,


I suffered from an 'exploding index' problem, filled my 200 index
quota, and then refactored my code back down to about 40 indexes.
However, when I first tried pushing my exploded index definition up,
it added 160 indexes that registered as 'building'.  I've since
changed my index.yaml to show only the indexes that are being used,
but the 160 superfluous indexes still show as building, and
update_indexes fails because I've exceeded my index quota,
vacuum_indexes lists the unused indexes and says it will delete them,
and I can not push a new code version because I've exceeded my quota
index.  What can I do here?

Thank you,

Jared

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



[google-appengine] How can I test backends with my free app

2011-05-16 Thread Sergey
I want to test new feature - backends.
As I understand it's enough to create backends.yaml and describe there
parameters of my backends.
I've done that:

backends:
- name: testbe
  class: B1
  instances: 1

I ran this app on dev server. At admin console I see "This application
doesn't define any backends. See the documentation for more."

I tried to deploy this into GAE - same effect.

What am I doing wrong?
Is there some code examples to better understand the idea of backends?

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



[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread J Jones
FAQ Question suggestions:

- Does the Instance Hour pricing as opposed to now means GAE is now
unaffordable for part time hackers e.g. college students, those
working on self funded projects in their spare time?  What is Google's
position on this?

- Did GAE provide sufficient information that such a fundamental shift
in the way apps are charged was a possibility, when folk signed up to
GAE . Such detail may have influenced many folks switch to GAE in the
first place.

On May 14, 5:03 am, Kayode Odeyemi  wrote:
> how does the instance work? If I have multiple modules in one app, how
> many instance is that? Or does it just mean that for as long as my app
> is a singleton, no matter the amount of modules I have, it is still a
> single instance.
>
> At what point is Google distributing my app unto more than one server,
> which will definitely cause more than one instance? Is it possible to
> control the instances created? I mean like force App Engine to manage
> resources within a fixed number of instances instead of trying to be
> so perfect (unmanaged) that it costs me lots of money.
>
> Greg, I'll be looking forward to your answers on these FAQs because
> I'll be giving a talk on Google App Engine at upcoming CloudCamp
> event.
>
> Regards
>
> On 5/12/11, Kenneth  wrote:
>
>
>
>
>
>
>
>
>
> > Greg mentioned he was putting together anFAQso let's help him out!
>
> > If you're going to answer this just put in your question into a single line,
> > let's not try and answer them here or give opinions, there's plenty of other
> > threads for that. I do understand that Google doesn't have answers to some
> > these.
>
> > Here's my list:
>
> > 1) What is the time granularity of the instance pricing?  ie if I have an
> > instance up for 5 minutes, what am I charged, $0.08 / 60*5?
> > 2) Will I be able to tune the scheduler myself, ie set it to performance or
> > low cost,  Will I be able to limit the min or max number of instances
> > created (with the obvious impact on user experience)?
> > 3) Python concurrency, will this require any code changes, do you have any
> > estimates based on your testing of the number of well behaved requests per
> > second a single instance will be able to handle for a given framework?
> > 4) Database charges, when can you give us more details over what Max gave in
> > the other thread, are you charging for deletes, what do you expect the ratio
> > to be between the new pricing metric and the Datastore API calls metric we
> > have today?
> > 5) Will you be charging differently for instances that use different amounts
> > of memory, since this seems to be the cost that you're going after that
> > isn't charged for in the current model.
>
> > Thanks,
> > Kenneth
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Odeyemi 'Kayode O.http://www.sinati.com. t: @charyorde

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



[google-appengine] Re: Is App Engine suddenly becoming more expensive???

2011-05-16 Thread carlosten
So, now we are paying for instances, but, Can we share for example one
instance with 5 or 6 applications with low traffic? Or have one to pay
5 instances for have online 5 applications?

If the second, I waste my time in learning appengine...

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



[google-appengine] Re: Getting one bill a month for the App Engine Usage

2011-05-16 Thread vinhboy
I get charged $.02 a month for appengine use. Can google please
implement a "minimum" charge for appengine.
Although I like the idea of bankrupting google via processing fees, I
kind of need gmail so I don't really want that to happen.

On Apr 3, 10:40 am, "Brandon Wirtz"  wrote:
> You saw that was an April 1st email ;-)
>
> Though likely the 30 cent processing charge on my app that uses 7-10 cents a
> day is slowly bankrupting Google...   (as an MSFT alumni that was my evil
> plan all along, to bring down Google one "quarter" at a time, unfortunately
> my apps were to popular and I can only bring them down two dimes at a time)
>
>
>
>
>
>
>
> -Original Message-
> From: google-appengine@googlegroups.com
>
> [mailto:google-appengine@googlegroups.com] On Behalf Of Tammo Freese
> Sent: Saturday, April 02, 2011 2:12 AM
> To: Google App Engine
> Subject: [google-appengine] Re: Getting onebilla month for the App Engine
> Usage
>
> Hi Ikai,
>
> On Apr 1, 7:41 pm, "Ikai Lan (Google)"  wrote:
> > Good news: we're looking at options for this. As it turns out, daily
> > billing really annoys some accounting departments at large companies. Stay
> tuned.
>
> that's great news! Monthly billing would be much more convenient.
> Any issue we can star on that?
>
> Take care,
>
> Tammo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread Rafael Nunes
7) API quota are daily?
8) What is a XMPP instanza? One client connected? One message sent/
received? We will have 1000 instanzas daily?
9)Reserved Frontend instances are something like Always On, they will
be always running?
11) Email API will be 100 recipients emailed? Received? Both?
12) How much RAM my instance will have?


--Rafael


On May 12, 4:14 am, Kenneth  wrote:
> Greg mentioned he was putting together an FAQ so let's help him out!
>
> If you're going to answer this just put in your question into a single line,
> let's not try and answer them here or give opinions, there's plenty of other
> threads for that. I do understand that Google doesn't have answers to some
> these.
>
> Here's my list:
>
> 1) What is the time granularity of the instance pricing?  ie if I have an
> instance up for 5 minutes, what am I charged, $0.08 / 60*5?
> 2) Will I be able to tune the scheduler myself, ie set it to performance or
> low cost,  Will I be able to limit the min or max number of instances
> created (with the obvious impact on user experience)?
> 3) Python concurrency, will this require any code changes, do you have any
> estimates based on your testing of the number of well behaved requests per
> second a single instance will be able to handle for a given framework?
> 4) Database charges, when can you give us more details over what Max gave in
> the other thread, are you charging for deletes, what do you expect the ratio
> to be between the new pricing metric and the Datastore API calls metric we
> have today?
> 5) Will you be charging differently for instances that use different amounts
> of memory, since this seems to be the cost that you're going after that
> isn't charged for in the current model.
>
> Thanks,
> Kenneth

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



[google-appengine] Memcache proper use?

2011-05-16 Thread blue
I've been designing my app under the impression that memcache was relatively 
large, however, I keep reading the contrary.  My app needs about 1gig worth 
of memcache space in order to be cost effective, otherwise my hits to the 
datastore will kill my budget.  When a user is logged into my app, they need 
to read and write their user object on every request and if I have 10 
simultaneous users then I will need about 1gb of memcache  to store all 
entities.

If memcache is only 10mb or 100mb then memcache will be completely useless 
for this scenario, I will never get a cache hit because I will be simply 
cycling new data though memcache.

Is this how memcache works?  Should I not be caching user data in memcache?



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



Re: [google-appengine] Re: TypeError in urlfetch_stub.py for SDK 1.4.3?

2011-05-16 Thread Robert Schuppenies
Mh, looks like a bug. Could you file an issue for that?

thanks a lot,
robert

On Mon, May 16, 2011 at 1:54 AM, IgorNovak  wrote:

> Hi. Recently I've faced with the same problem. It appeared in v1.4.3
> firstly but since it didn't bother me a lot I did nothing hoping it
> would be fixed in v1.5.0. However it still isn't.
>
> The error appears in this place:
>
> urlfetch_stub.py (Version 1.5.0)
> 293 if payload is not None:
> 294   escaped_payload = payload.encode('string_escape')
> 295 else:
> 296   escaped_payload = payload
> 297 logging.debug('Making HTTP request: host = %s, '
> 298   'url = %s, payload = %s, headers = %s',
> 299   host, url, escaped_payload, adjusted_headers)
>
> In my case the type of payload variable is unicode, that's why the
> TypeError appears. There was no problem before v1.4.3 because the
> encode method wasn't used:
>
> urlfetch_stub.py (Version 1.4.2)
> 228 logging.debug('Making HTTP request: host = %s, '
> 229   'url = %s, payload = %s, headers = %s',
> 230   host, url, payload, adjusted_headers)
>
> As you can see this code doesn't play an important role, so I can just
> comment out it and everything will work fine. However I'm afraid this
> can cause more serious problems in future.
>
> So the question: is it a bug or new behavior? In first case I can just
> wait for fixing it. In second case I have to change my code in order
> to avoid this problem.
>
> On Mar 31, 3:15 am, Dave Peck  wrote:
> > Looking at this further, it looks like Braintree is using
> > httplib.HTTPSConnection().request() with a unicode body. My read of
> > the documentation is that the body should be bytes by the time you
> > call request, so I think this is a Braintree API error rather than an
> > App Engine SDK error.
> >
> > Does this sound like a reasonable conclusion?
> >
> > Thanks,
> > Dave
> >
> > On Mar 30, 4:54 pm, Dave Peck  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I just updgraded to 1.4.3, and now see this error when performing URL
> > > fetches:
> >
> > > TypeError
> > > Exception Value:
> > > escape_encode() argument 1 must be string, not unicode
> > > Exception Location:
> /Applications/GoogleAppEngineLauncher.app/Contents/
> > > Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> > > google_appengine/google/appengine/api/urlfetch_stub.py in
> > > _RetrieveURL, line 283
> >
> > > This is happening inside app engine SDK code, which is in turn being
> > > tickled by Braintree's payment API. This was not a problem in previous
> > > versions of the App Engine SDK, though potentially it is a problem
> > > with Braintree, not the SDK.
> >
> > > Could someone investigate and advise?
> >
> > > Thanks,
> > > Dave
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] DeadlineExceededException - how to avoid?

2011-05-16 Thread Francois Masurel
Does this still work with SDK 1.5.0 ? It doesn't seem to be the case.

And why are instances restarted causing "Server Error" responses after these 
exceptions ?

Thanx for your help.

Francois

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



Re: [google-appengine] older version data showing in default version

2011-05-16 Thread Felippe Bueno
Senderrp,

Are you seeing something like this ?
http://groups.google.com/group/google-appengine-python/browse_thread/thread/15c2b4f8a8998ee8/cdc06e9b81849ec0?lnk=gst&q=old+instances#cdc06e9b81849ec0

On Mon, May 16, 2011 at 4:27 AM, Brandon Wirtz  wrote:

> Are they Static?   Did you set the App.yaml  to have too long an expire?
>
>
>
> Are you on HR or MS?
>
>
>
> If you put ?1234 at the end of the file do you get the wrong one?
>
>
>
>
>
> The Mark up of your page should have the version number of the file in the
> CSS…. Either as CacheBuster   my.css?v1234 or as the file name
> my-v1234.css   This is just a general best practice for programming.
>
>
>
>
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appengine@googlegroups.com] *On Behalf Of *Sandeep Koduri
> *Sent:* Monday, May 16, 2011 12:14 AM
>
> *To:* google-appengine@googlegroups.com
> *Subject:* Re: [google-appengine] older version data showing in default
> version
>
>
>
> sorry, by data i mean to say files in app like css and templates.
>
>
>
> on every refresh the the css or templates or static files of other version
> is showing up. this is the concern the data from the store is stable..
>
> On Mon, May 16, 2011 at 12:36 PM, Brandon Wirtz 
> wrote:
>
> All versions share a data store, if you versioned your data store you need
> to assign a new kind.
>
>
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appengine@googlegroups.com] *On Behalf Of *Sandeep Koduri
> *Sent:* Sunday, May 15, 2011 11:08 PM
> *To:* google-appengine@googlegroups.com
> *Subject:* [google-appengine] older version data showing in default
> version
>
>
>
> Hello,
>
>
>
> We are facing some abnormal behavior at appengine,
>
>
>
> We have one default version, which is showing data from different version
> at each refresh. We made lot of work considering it as a bug in our code but
> could not find any flaw.
>
>
> I am not able to explain wt the error is to either the client or the
> management.
>
>
>
> *Any one having any idea about this please respond to this post. *
>
> We cant handle this with appengine if the live mode is some kinds of errors
> like this...
>
>
>
> also some times there is abnormal usage of quotas even if there is no
> traffic to the site..
>
>
>
>
>
>
> --
> Regards
> Sandeep Koduri
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
>
>
> --
> Regards
> Sandeep Koduri
> Phone: +91- 99 666 02 456
> Gtalk: sandeep.koduri | Skype: sandeep.koduri
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] Appengine Drawing Contest

2011-05-16 Thread Nickolas Daskalou
Lol, that is awesome!


On 16/05/2011, at 9:37 PM, Kaan Soral  wrote:

> Couldn't resist
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] Appengine Drawing Contest

2011-05-16 Thread Kaan Soral
Couldn't resist

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

<>

Re: [google-appengine] How can I block bot which do not follow robots.txt ?

2011-05-16 Thread Gopal Patel
thanks for correction.


On Sun, May 15, 2011 at 10:57 PM, Stephen  wrote:

> On Sat, May 14, 2011 at 6:12 AM, Gopal Patel  wrote:
> > there is exabot crawler crawling my unfinished website
> continuouslywhat
> > can I do to stop it ? I have disallowed everything in robot.txt .
>
> That should be robots.txt, with an 's'.
>
> They claim it respects robots.txt:
>
>
> http://www.exalead.com/software/services/knowledgebase/websearchengine/webmasterguide/#how-may-i-exclude-my-site-from-being-crawled-by-the-exalead-robot
>
> But it seems to be a badly behaved bot in general, so you may want to
> add it's IP addresses to your dos.yaml file:
>
>  http://code.google.com/appengine/docs/python/config/dos.html
>
> (This only blocks access to dynamic pages)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread Marcel Overdijk
When can we expect to have the official FAQ place be available?

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



[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread johnP
100% granular pricing is what made Appengine revolutionary.





On May 16, 1:49 am, Sylvain  wrote:
> Hi,
>
> With the actual prices, a very small paid app that only need 1GB above
> the free quota costs : $0.15 / month.
> With the new prices : $9 (monthly fee) + $0.15 = $9.15.
>
> Old price $2 / year -> new price $110/year  (+ $108)
> So it increases the price by x55.
>
> For these app, the increase is very high.
> What will you answer for them ?
>
> Regards.
>
> On 12 mai, 09:14, Kenneth  wrote:
>
>
>
>
>
>
>
> > Greg mentioned he was putting together an FAQ so let's help him out!
>
> > If you're going to answer this just put in your question into a single line,
> > let's not try and answer them here or give opinions, there's plenty of other
> > threads for that. I do understand that Google doesn't have answers to some
> > these.
>
> > Here's my list:
>
> > 1) What is the time granularity of the instance pricing?  ie if I have an
> > instance up for 5 minutes, what am I charged, $0.08 / 60*5?
> > 2) Will I be able to tune the scheduler myself, ie set it to performance or
> > low cost,  Will I be able to limit the min or max number of instances
> > created (with the obvious impact on user experience)?
> > 3) Python concurrency, will this require any code changes, do you have any
> > estimates based on your testing of the number of well behaved requests per
> > second a single instance will be able to handle for a given framework?
> > 4) Database charges, when can you give us more details over what Max gave in
> > the other thread, are you charging for deletes, what do you expect the ratio
> > to be between the new pricing metric and the Datastore API calls metric we
> > have today?
> > 5) Will you be charging differently for instances that use different amounts
> > of memory, since this seems to be the cost that you're going after that
> > isn't charged for in the current model.
>
> > Thanks,
> > Kenneth

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



[google-appengine] any way to find all the namespaces used ?

2011-05-16 Thread Prashant
hi,

is there any way to find out what namespaces i have used in my app ??

thanks
Prashant

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



[google-appengine] Re: TypeError in urlfetch_stub.py for SDK 1.4.3?

2011-05-16 Thread IgorNovak
Hi. Recently I've faced with the same problem. It appeared in v1.4.3
firstly but since it didn't bother me a lot I did nothing hoping it
would be fixed in v1.5.0. However it still isn't.

The error appears in this place:

urlfetch_stub.py (Version 1.5.0)
293 if payload is not None:
294   escaped_payload = payload.encode('string_escape')
295 else:
296   escaped_payload = payload
297 logging.debug('Making HTTP request: host = %s, '
298   'url = %s, payload = %s, headers = %s',
299   host, url, escaped_payload, adjusted_headers)

In my case the type of payload variable is unicode, that's why the
TypeError appears. There was no problem before v1.4.3 because the
encode method wasn't used:

urlfetch_stub.py (Version 1.4.2)
228 logging.debug('Making HTTP request: host = %s, '
229   'url = %s, payload = %s, headers = %s',
230   host, url, payload, adjusted_headers)

As you can see this code doesn't play an important role, so I can just
comment out it and everything will work fine. However I'm afraid this
can cause more serious problems in future.

So the question: is it a bug or new behavior? In first case I can just
wait for fixing it. In second case I have to change my code in order
to avoid this problem.

On Mar 31, 3:15 am, Dave Peck  wrote:
> Looking at this further, it looks like Braintree is using
> httplib.HTTPSConnection().request() with a unicode body. My read of
> the documentation is that the body should be bytes by the time you
> call request, so I think this is a Braintree API error rather than an
> App Engine SDK error.
>
> Does this sound like a reasonable conclusion?
>
> Thanks,
> Dave
>
> On Mar 30, 4:54 pm, Dave Peck  wrote:
>
>
>
>
>
>
>
> > I just updgraded to 1.4.3, and now see this error when performing URL
> > fetches:
>
> > TypeError
> > Exception Value:
> > escape_encode() argument 1 must be string, not unicode
> > Exception Location:     /Applications/GoogleAppEngineLauncher.app/Contents/
> > Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> > google_appengine/google/appengine/api/urlfetch_stub.py in
> > _RetrieveURL, line 283
>
> > This is happening inside app engine SDK code, which is in turn being
> > tickled by Braintree's payment API. This was not a problem in previous
> > versions of the App Engine SDK, though potentially it is a problem
> > with Braintree, not the SDK.
>
> > Could someone investigate and advise?
>
> > Thanks,
> > Dave

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



[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread Sylvain
Hi,

With the actual prices, a very small paid app that only need 1GB above
the free quota costs : $0.15 / month.
With the new prices : $9 (monthly fee) + $0.15 = $9.15.

Old price $2 / year -> new price $110/year  (+ $108)
So it increases the price by x55.

For these app, the increase is very high.
What will you answer for them ?

Regards.


On 12 mai, 09:14, Kenneth  wrote:
> Greg mentioned he was putting together an FAQ so let's help him out!
>
> If you're going to answer this just put in your question into a single line,
> let's not try and answer them here or give opinions, there's plenty of other
> threads for that. I do understand that Google doesn't have answers to some
> these.
>
> Here's my list:
>
> 1) What is the time granularity of the instance pricing?  ie if I have an
> instance up for 5 minutes, what am I charged, $0.08 / 60*5?
> 2) Will I be able to tune the scheduler myself, ie set it to performance or
> low cost,  Will I be able to limit the min or max number of instances
> created (with the obvious impact on user experience)?
> 3) Python concurrency, will this require any code changes, do you have any
> estimates based on your testing of the number of well behaved requests per
> second a single instance will be able to handle for a given framework?
> 4) Database charges, when can you give us more details over what Max gave in
> the other thread, are you charging for deletes, what do you expect the ratio
> to be between the new pricing metric and the Datastore API calls metric we
> have today?
> 5) Will you be charging differently for instances that use different amounts
> of memory, since this seems to be the cost that you're going after that
> isn't charged for in the current model.
>
> Thanks,
> Kenneth

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



RE: [google-appengine] older version data showing in default version

2011-05-16 Thread Brandon Wirtz
Are they Static?   Did you set the App.yaml  to have too long an expire?

 

Are you on HR or MS?

 

If you put ?1234 at the end of the file do you get the wrong one?

 

 

The Mark up of your page should have the version number of the file in the
CSS.. Either as CacheBuster   my.css?v1234 or as the file name my-v1234.css
This is just a general best practice for programming.

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Sandeep Koduri
Sent: Monday, May 16, 2011 12:14 AM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] older version data showing in default
version

 

sorry, by data i mean to say files in app like css and templates.

 

on every refresh the the css or templates or static files of other version
is showing up. this is the concern the data from the store is stable..

On Mon, May 16, 2011 at 12:36 PM, Brandon Wirtz  wrote:

All versions share a data store, if you versioned your data store you need
to assign a new kind.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Sandeep Koduri
Sent: Sunday, May 15, 2011 11:08 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] older version data showing in default version

 

Hello,

 

We are facing some abnormal behavior at appengine,

 

We have one default version, which is showing data from different version at
each refresh. We made lot of work considering it as a bug in our code but
could not find any flaw. 


I am not able to explain wt the error is to either the client or the
management. 

 

Any one having any idea about this please respond to this post. 

We cant handle this with appengine if the live mode is some kinds of errors
like this...

 

also some times there is abnormal usage of quotas even if there is no
traffic to the site..

 

 


-- 
Regards
Sandeep Koduri

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

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




-- 
Regards
Sandeep Koduri
Phone: +91- 99 666 02 456
Gtalk: sandeep.koduri | Skype: sandeep.koduri

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

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



Re: [google-appengine] older version data showing in default version

2011-05-16 Thread Sandeep Koduri
sorry, by data i mean to say files in app like css and templates.

on every refresh the the css or templates or static files of other version
is showing up. this is the concern the data from the store is stable..

On Mon, May 16, 2011 at 12:36 PM, Brandon Wirtz  wrote:

> All versions share a data store, if you versioned your data store you need
> to assign a new kind.
>
>
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appengine@googlegroups.com] *On Behalf Of *Sandeep Koduri
> *Sent:* Sunday, May 15, 2011 11:08 PM
> *To:* google-appengine@googlegroups.com
> *Subject:* [google-appengine] older version data showing in default
> version
>
>
>
> Hello,
>
>
>
> We are facing some abnormal behavior at appengine,
>
>
>
> We have one default version, which is showing data from different version
> at each refresh. We made lot of work considering it as a bug in our code but
> could not find any flaw.
>
>
> I am not able to explain wt the error is to either the client or the
> management.
>
>
>
> *Any one having any idea about this please respond to this post. *
>
> We cant handle this with appengine if the live mode is some kinds of errors
> like this...
>
>
>
> also some times there is abnormal usage of quotas even if there is no
> traffic to the site..
>
>
>
>
>
>
> --
> Regards
> Sandeep Koduri
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Regards
Sandeep Koduri
Phone: +91- 99 666 02 456
Gtalk: sandeep.koduri | Skype: sandeep.koduri

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



RE: [google-appengine] older version data showing in default version

2011-05-16 Thread Brandon Wirtz
All versions share a data store, if you versioned your data store you need
to assign a new kind.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Sandeep Koduri
Sent: Sunday, May 15, 2011 11:08 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] older version data showing in default version

 

Hello,

 

We are facing some abnormal behavior at appengine,

 

We have one default version, which is showing data from different version at
each refresh. We made lot of work considering it as a bug in our code but
could not find any flaw. 


I am not able to explain wt the error is to either the client or the
management. 

 

Any one having any idea about this please respond to this post. 

We cant handle this with appengine if the live mode is some kinds of errors
like this...

 

also some times there is abnormal usage of quotas even if there is no
traffic to the site..

 

 


-- 
Regards
Sandeep Koduri

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

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