开发者

Problem uploading and downloading data from to deployment app in GAE

开发者 https://www.devze.com 2023-02-13 23:54 出处:网络
File \"C:\\Program Files\\Google\\google_appengine\\google\\net\\proto\\ProtocolBuffer .py\", line 436, in skipData

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号