Bulkloader语法错误
我一直在努力尝试将数据批量加载到数据存储中,现在已经到了需要专家帮助的地步。
我不认为我正在做的事情很棘手,我有以下配置文件:
当我使用 appcfg.py 命令,错误消息以以下内容结尾:
File "config.txt", line 1
python_preamble:
^
Syntax error: invalid syntax.
我使用了 .txt 文件,因为最初在记事本中编辑速度更快 - 我不知道这是否是一个问题,并且 appspot 的 remote_api 似乎都是好的。
我认为这是一个相当基本的问题,因为它已经停止在一线工作。我删除了原始文件顶部的注释行 - 也许这就是原因。
我试图找到工作示例来纠正我的错误,但它们似乎都遵循上面的语法,或者在它们略有不同的地方,我尝试了两种变体。
非常感谢有关我的第一个云应用程序批量加载的帮助。 预先感谢任何花时间阅读我的帖子的人,无论他们是否解决了问题。
Having been struggling trying to bulkload data to the datastore, I have reached the point where expert help is needed.
I don't think what is am doing is tricky, I have the following configuration file:
and when I use the appcfg.py command, the error messages end with:
File "config.txt", line 1
python_preamble:
^
Syntax error: invalid syntax.
I have used a .txt file as it is faster to edit in notepad initially - I don't know if that is a problem and the remote_api for the appspot all seems to be okay.
I am thinking it is a fairly fundemental problem as it has stopped working at the top line. I removed the comment lines at the top of the original file - maybe that caused it.
I have tried to find working examples to set me right but they all seem to follow the syntax above, or where they are slightly different, I have tried both variants.
Help on bulkloading for my first cloud app would be much appreciated.
Thanks in advance for anyone taking time to read my post whether they solve it or not.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保配置文件扩展名为 .yaml
Be sure the configuration file extension is .yaml