[appengine-java] Error when bulk deleting items

2009-11-20 Thread fence
I'm using the remote_api to bulk delete my items, batch size 100.
Here is what my python class looks like:

class BulkItemDeleter(Mapper):
KIND = Item

def map(self, entity):
return ([], [entity])

Here is the error:

Traceback (most recent call last):
  File console, line 1, in module
  File /Users//Documents//BulkItemDeleter.py, line 14, in module
bid.run()
  File /Users//Documents/Mapper.py, line 41, in run
db.delete(to_delete)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/ext/db/__init__.py, line 1241, in delete
datastore.Delete(keys)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/api/datastore.py, line 281, in Delete
raise _ToDatastoreError(err)


My logs from the dashboard show this:

Exception while handling service_name: datastore_v3
method: Delete
request  lots of item references here 
 File /base/python_lib/versions/1/google/appengine/ext/remote_api/
handler.py, line 291, in post
response_data = self.ExecuteRequest(request)
  File /base/python_lib/versions/1/google/appengine/ext/remote_api/
handler.py, line 322, in ExecuteRequest
response_data)
  File /base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py, line 72, in MakeSyncCall
apiproxy.MakeSyncCall(service, call, request, response)
  File /base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py, line 266, in MakeSyncCall
rpc.CheckSuccess()
  File /base/python_lib/versions/1/google/appengine/api/
apiproxy_rpc.py, line 111, in CheckSuccess
raise self.exception
ApplicationError: ApplicationError: 5



--

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




[appengine-java] logs in dashboard ... how do they work?

2009-11-11 Thread fence

I love the way that the google app engine does logs.  It's very useful
to filter by info / error / warn and then just click the + to expand
the message complete with stack trace.

I want be able to do this with my spring app in a normal tomcat /
glassfish container.  Is this backed by some open source software that
might make this possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] ServerError (500) after bulk upload

2009-10-27 Thread fence

I used the python bulk uploader ( appcfg.py upload_data ) to upload
data last night.  Eventually I ran out of CPU trying to load 66 megs,
1.2 million rows.  Now when I try and click on anything under
Datastore in the dashboard I get a 500 error.


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