Problem uploading and downloading data from to deployment app in GAE
File "C:\Program Files\Google\google_appengine\google\net\proto\ProtocolBuffer .py", line 436, in skipData raise ProtocolBufferDecodeError, "corrupted" google.net.proto.ProtocolBuffer.ProtocolBufferDecodeError: corrupted
What's the problem and how to fix it? maybe the download is not ok?
I get this error when im uploading data to my deplying app in GAE.
I use this in my app:
builtins:
- remote_api: on
command for downloading data from developement:
appcfg.py download_data --application=,yapp --kind=Survey --url="http://localhost:9999/_ah/remote_api" --filename="C:\myapp\src\test.开发者_如何学Gocsv"
this is the command I use to upload data to deployment:
appcfg.py upload_data --application=myapp --kind=Survey --filename="C:\myapp\src\test.csv" --url=http://myapp.appspot.com
myapp is not the actual name...
When uploading, the --url parameter must link to the remote_api of your application, like so:
appcfg.py upload_data --application=myapp --kind=Survey --filename="C:\myapp\src\test.csv" --url=http://myapp.appspot.com/_ah/remote_api
精彩评论