【问题标题】:Google App Engine: Failing to Upload DataGoogle App Engine:无法上传数据
【发布时间】:2014-04-25 18:17:38
【问题描述】:

我正在尝试在 Googl App Engine 应用程序中上传数据,如本文https://developers.google.com/appengine/docs/python/tools/uploadingdata中所述

因此我正在执行这个命令(来自 Eclipse PyDev)

appcfg.py upload_data --config_file=album_loader.py --filename=album_data.csv --kind=Album http://your_app_id.appspot.com/_ah/remote_api

但我收到以下错误:

Usage: appcfg.py [options] upload_data <directory>

appcfg.py: error: Not a directory: http://your_app_id.appspot.com/_ah/remote_api 
FINISHED

【问题讨论】:

    标签: python google-app-engine


    【解决方案1】:

    示例中似乎缺少--url

    appcfg.py upload_data --config_file=album_loader.py --filename=album_data.csv --kind=Album --url=http://your_app_id.appspot.com/_ah/remote_api
    

    【讨论】:

      猜你喜欢
      • 2013-04-07
      • 1970-01-01
      • 1970-01-01
      • 2012-02-11
      • 1970-01-01
      • 2014-05-12
      • 2011-03-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多