[google-appengine] easily clear the datastore in a deployed application

2010-04-04 Thread kostmo
Hi all, I'd like to share a script I wrote as a plugin to the admin panel. It lists the Kinds in a dropdown and allows you to queue a Task that deletes all entity of a single Kind, or all entities of all Kinds. http://code.google.com/p/jobfeed/wiki/Nuke I also posted about it on Stack Overflow:

[google-appengine] Re: How to list all entity kinds programmatically?

2010-03-29 Thread kostmo
I tried to use the body of the get_kinds() function (after adding the line from google.appengine.api import datastore_admin), but I get the error: BadRequestError: app [myappname] cannot call GetSchema Karl On Mar 25, 2:19 pm, mstodd toaste...@gmail.com wrote: Well, the admin interface

[google-appengine] Re: How to list all entity kinds programmatically?

2010-03-29 Thread kostmo
if stat.kind_name and not stat.kind_name.startswith('__')] kind_set = set(kind_list) return list(kind_set) On Mar 29, 6:12 pm, kostmo kos...@gmail.com wrote: I tried to use the body of the get_kinds() function (after adding the line from google.appengine.api import datastore_admin), but I

[google-appengine] Re: permutations vs Cartesian product in exploding indexes documentation

2010-03-23 Thread kostmo
On Tue, Mar 23, 2010 at 2:22 AM, kostmo kos...@gmail.com wrote: OK, I just watched Brett Slatkin's I/O talk [1] and he mentions cross product a couple of times, so it seems that the use of the word permutation in the docs is incorrect; the number of index entries is indeed proportional

[google-appengine] Re: storage consumption in dashboard for local development server?

2010-03-22 Thread kostmo
make an issue for this I will star it, and I am sure a lot of people would star it too. You might also look at this article:http://code.google.com/appengine/articles/storage_breakdown.html Robert On Sun, Mar 21, 2010 at 4:25 AM, kostmo kos...@gmail.com wrote: I'd like to get a rough

[google-appengine] permutations vs Cartesian product in exploding indexes documentation

2010-03-22 Thread kostmo
It is still unclear to me exactly how many index entries will be produced by including multiple ListProperty's in an entity. In one post [1], between the inquiring user and the Google rep, the possibilities for the number of index entries included the power set, Cartesian product, or the number of

[google-appengine] Re: permutations vs Cartesian product in exploding indexes documentation

2010-03-22 Thread kostmo
to a factorial (n!) number of index entries. I've filed a doco issue here [2]. Karl [1] http://code.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html [2] http://code.google.com/p/googleappengine/issues/detail?id=3003 On Mar 22, 11:50 am, kostmo kos...@gmail.com wrote: It is still

[google-appengine] storage consumption in dashboard for local development server?

2010-03-21 Thread kostmo
I'd like to get a rough estimate of the amount of storage consumed by the datastore of a local dev server fully populated with my set of data. Is there some straightforward way to do this? The local dashboard lacks the storage/quota statistics offered for deployed (live) applications. -- You

[google-appengine] data viewer couldn't retrieve list of Kinds

2009-09-08 Thread kostmo
When I click on the Data Viewer in the production console, I keep getting the message Oops! We couldn't retrieve your list of Kinds. This has happened often, for extended periods, over the past several days while I'm trying to bulk upload/delete. What specific conditions would cause this error,