It sounds like you're trying to import google.appengine.tools somewhere in
your script. This module is only available on the local SDK, not in
production. What are you trying to do with it?

-Nick Johnson

On Mon, Jun 1, 2009 at 11:49 AM, RainbowCrane <[email protected]> wrote:

>
> Hmm... I tried to put up a script to do the deletes, now I get a 500
> error with this weirdness (script works on my machine):
>
> #
>
>   1.
>      06-01 11:20AM 51.604 /food_nutrient_delete 500 37ms 76cpu_ms 0kb
> 1.latest.rc-fooddatabase.appspot.com Mozilla/5.0 (Macintosh; U; Intel
> Mac OS X 10.5; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4,gzip
> (gfe)
>      See details
>
>      132.174.137.154 - - [01/Jun/2009:11:20:51 -0700] "GET /
> food_nutrient_delete HTTP/1.1" 500 0 - "Mozilla/5.0 (Macintosh; U;
> Intel Mac OS X 10.5; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/
> 3.5b4,gzip(gfe)" "1.latest.rc-fooddatabase.appspot.com"
>
>   2.
>      E 06-01 11:20AM 51.639 <type 'exceptions.ImportError'>: No
> module named tools Traceback (most recent call last): File "/base/data/
> home/apps/rc-fooddatabase/1.3339015139478
>
>
>
> On Jun 1, 12:33 pm, "Nick Johnson (Google)" <[email protected]>
> wrote:
> > Hi Matt,
> >
> > That's certainly a good option. Alternatively, you can use remote_api -
> do
> > keys_only queries, and feed the keys in batches to db.delete.
> >
> > -Nick
> >
> > On Mon, Jun 1, 2009 at 9:20 AM, RainbowCrane <[email protected]>
> wrote:
> >
> > > I just realized it's pretty straightforward to do this server-side...
> > > I just need to write a handler that deletes the first 100 rows at a
> > > time or something then call it repeatedly from a client.
> >
> >
> >
>

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

Reply via email to