Very often, while doing a restore (to a local sdk app), I get this error. Retrying on non-fatal URL error: (54, 'Connection reset by peer')
I believe the retry indeed works, but it's a very unsightly thing to witness. See error below. I usually see it for a Kind that has "many" entities ("many", in my case is 1000 or so, so it's not that much). I wish some effort were put into improving the speed of the local sdk datastore. Many times I want to test out code with a sizable dataset. The obvious thing to do is to dump the production datastore, and restore it to a local sdk datastore (now that dump and restore works much better :-) and preserves keys). Restore to a local sdk database is very slow, with simply a few thousand entities. At this rate, I won't be able to dump a "large" database, say 30K entities and restore it locally. The local sdk database should be able to handle 100K+ entities with ease. It does impact the development cycle. It's a shame that local datastore wasn't built with some performance consideration in mind. Please, guys, amend this. And while you're at it, do provide full text search, another of my pet peeves. :-) INFO ] Starting import; maximum 10 entities per post ...........................[ERROR ] Retrying on non-fatal URL error: (54, 'Connection reset by peer') Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 671, in PerformWork transfer_time = self._TransferItem(thread_pool) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 828, in _TransferItem self.request_manager.PostEntities(self.content) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py", line 1252, in PostEntities datastore.Put(entities) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.p.y", line 201, in Put resp = _MakeSyncCall('datastore_v3', 'Put', req, datastore_pb.PutResponse()) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py", line 160, in _MakeSyncCall resp = apiproxy_stub_map.MakeSyncCall(service, call, request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_stub_map.py", line 78, in MakeSyncCall return apiproxy.MakeSyncCall(service, call, request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_stub_map.py", line 278, in MakeSyncCall rpc.CheckSuccess() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_rpc.py", line 111, in CheckSuccess raise self.exception URLError: <urlopen error (54, 'Connection reset by peer')> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.