【发布时间】:2016-10-18 03:46:50
【问题描述】:
在本地开发环境中,upload_data 命令不会启动 OAuth 浏览器。为什么会这样?!?
代码在 App Engine 上运行良好,但在本地开发环境中运行良好。在开发环境中使用远程 API 是否有技巧。
这是我如何使用命令...
appcfg.py upload_data --config_file=bulkloader.yaml --filename=./stops.txt --kind=StopLocationLoader --url=http://localhost:8082/_ah/remote_api
10:39 PM Uploading data records.
[INFO ] Logging to bulkloader-log-20161017.223916
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 250000 bytes/second
[INFO ] HTTP connections: 8/second
[INFO ] Entities inserted/fetched/modified: 20/second
[INFO ] Batch Size: 10
Error 401: --- begin server output ---
You must be logged in as an administrator to access this.
--- end server output ---
【问题讨论】:
标签: google-app-engine bulkloader