I just attempted to PM this message to you, but it said your inbox was full:
Hello, Riq!
You responded to my post in this thread last week regarding the ability to delete high volumes of scores from cocoslive:
http://www.cocos2d-iphone.org/forum/topic/3872
The issue I was experiencing was that the delete request timed out before the scores could be deleted when the number of scores exceeded several hundred.
As you requested, I installed cocoslive and google app engine on my local machine and wrote a script to delete all scores for my game. The script I wrote was a modified version of one of the high-ranking responses on the following thread.
http://stackoverflow.com/questions/108822/delete-all-data-for-a-kind-in-google-app-engine
The approach suggested in the thread was to pull a few hundred scores, delete them, and put the thread to sleep, and then loop the approach until all scores have been deleted. Apparently the periodic polling for more scores prevents the timeout issue.
I have tested the script locally and it appears to work. However, the existing script for deleting scores also works on my local test server, so I am not 100% certain if this has truly solved the problem. I have uploaded onto pastebin the modified user.py file I made to accomplish this. It can be found at: http://pastebin.com/i5XauKvH
The significant changes I made to the file were the inclusion of the Time package on line 26, used to only fetch additional scores to delete periodically, the BulkDeleteScores class on line 473, and line 1043 which hooks the Delete Scores button to my script rather than the actual implementation.
If you could let me know if this script has an obvious flaw or if you would be willing to run it for me, I'd really appreciate it.
Thanks so much for your time!
~Wes