I'm working with Google App Engine SDK version 1.8.2 on a Mac OS X 10.6.8 system. The application itself is written in Python 2.7, although I don't think that's relevant to the problem. When I attempt to bulkload the datastore in the development environment, it fails. The command I'm using is:

```
appcfg.py upload_data --config_file=bulkloader.yaml --kind=Capitulary --url=http://localhost:8080/_ah/remote_api --filename=upload.xml

```

This command worked with every version of the SDK going back to 2010. It broke when SDK version 1.8.0 came out, it worked again when 1.8.1 came out, and broke again when 1.8.2 came out. 

Thanks in advance for your help.

Error message below:

> 
> INFO 2013-08-05 14:19:05,312 module.py:595] default: "GET
>  /\_ah/remote\_api?rtok=215098893971 HTTP/1.1" 200 70 INFO 2013-08-05
>  14:19:05,569 module.py:595] default: "GET /\_ah/remote\_api HTTP/1.1"
>  200 42 ERROR 2013-08-05 14:19:05,716 handler.py:384] Exception
>  while handling service\_name: "datastore\_v4" method: "AllocateIds"
>  request: "" Traceback (most recent call last): File
>  "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/handler.py",
>  line 380, in post
>  response\_data = self.ExecuteRequest(request) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/handler.py",
>  line 411, in ExecuteRequest
>  response\_data) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/api/apiproxy\_stub\_map.py",
>  line 94, in MakeSyncCall
>  return stubmap.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 328, in MakeSyncCall
>  rpc.CheckSuccess() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/api/apiproxy\_rpc.py",
>  line 156, in \_WaitImpl
>  self.request, self.response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/remote\_api\_stub.py",
>  line 200, in MakeSyncCall
>  self.\_MakeRealSyncCall(service, call, request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/remote\_api\_stub.py",
>  line 234, in \_MakeRealSyncCall
>  raise pickle.loads(response\_pb.exception()) AttributeError: 'NoneType' object has no attribute 'THREADSAFE' INFO 2013-08-05
>  14:19:05,773 module.py:595] default: "POST /\_ah/remote\_api HTTP/1.1"
>  200 96 ERROR 2013-08-05 14:19:05,793 handler.py:384] Exception
>  while handling service\_name: "datastore\_v4" method: "AllocateIds"
>  request: "" Traceback (most recent call last): File
>  "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/handler.py",
>  line 380, in post
>  response\_data = self.ExecuteRequest(request) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/handler.py",
>  line 411, in ExecuteRequest
>  response\_data) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/api/apiproxy\_stub\_map.py",
>  line 94, in MakeSyncCall
>  return stubmap.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 328, in MakeSyncCall
>  rpc.CheckSuccess() File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/api/apiproxy\_rpc.py",
>  line 156, in \_WaitImpl
>  self.request, self.response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/remote\_api\_stub.py",
>  line 200, in MakeSyncCall
>  self.\_MakeRealSyncCall(service, call, request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google\_appengine/google/appengine/ext/remote\_api/remote\_api\_stub.py",
>  line 234, in \_MakeRealSyncCall
>  raise pickle.loads(response\_pb.exception()) AttributeError: 'NoneType' object has no attribute 'THREADSAFE' INFO 2013-08-05
>  14:19:05,802 module.py:595] default: "POST /\_ah/remote\_api HTTP/1.1"
>  200 96
> 
> 
>