I was mistaken, there was only 70MB left to delete, and I finally finished, although I am still testing my code to delete the parent properly but it hasn't been able to get past that fetch(). There should be NO MORE descendants so why is this continuing to fail???
This must be a bug in the AppEngine! -Prateek On Sep 14, 11:52 am, someone1 <[email protected]> wrote: > A better question... why is my name "My dick is bigger than your > dick"? Did my account get hacked!? > > On Sep 14, 11:46 am, My dick is bigger than your dick > > <[email protected]> wrote: > > Does anybody have any idea on what could be wrong? This is EXTREMELY > > aggravating as I still have over 700MB of data that needs to be > > removed and I have resorted to doing it manually since i can't even > > query this Model type anymore... though other queries seem to work > > fine and I can query using the data viewer on the admin panel just > > fine > > > -Prateek > > > On Sep 14, 12:47 am, someone1 <[email protected]> wrote: > > > > I am unable to do even a single get() command in my application. I > > > don't think I've reached any quota, and I am even paying now so I > > > don't think i have any short-term limitations, here is my code (I > > > already tried switching .fetch(100) to .get() and still it fails on > > > the first get attempt before deleting). > > > > class DeleteKeywords(webapp.RequestHandler): > > > def get(self): > > > try: > > > trackers = Tracking.all().filter('delete_track',True) > > > for x in trackers: > > > keys = db.Query(keys_only=True).ancestor(x).filter > > > (datastore_types._KEY_SPECIAL_PROPERTY + ' >', x.key()).fetch(100) > > > while keys: > > > db.delete(keys) > > > keys = db.Query(keys_only=True).ancestor(x).filter > > > (datastore_types._KEY_SPECIAL_PROPERTY + ' >', x.key()).fetch(100) > > > x.delete() > > > except (DeadlineExceededError, Timeout): > > > queue = taskqueue.Queue(name='delete-tasks') > > > queue.add(taskqueue.Task(url='/tasks/delete_tracks', > > > method='GET')) > > > self.response.out.write("Ran out of time, need to delete > > > more!") > > > > This piece of code was running fine earlier today. What's even more > > > odd is that the error stopped showing up in my logs around 9:43pm, so > > > maybe something broke at that time? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
