无效的调度配置 [英] Invalid dispatch configuration

查看:47
本文介绍了无效的调度配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更新一个利用两个模块(默认模块和批处理模块)的应用程序.

I'm attempting to update an application which takes advantage of two modules (default and batchratings).

运行"appcfg更新app.yaml batchratings.yaml"后,我收到以下输出:

After running 'appcfg update app.yaml batchratings.yaml', I receive the following output:

错误400:---开始服务器输出---验证错误:无效的调度配置-模块"batchratings"不存在.上载此模块的版本,然后重试.

Error 400: --- begin server output --- Validation error: Invalid dispatch configuration - module 'batchratings' does not exist. Upload a version of this module and try again.

考虑到这正是我按照模块演练中概述的步骤尝试执行的操作,因此,我可以肯定的是,我正在忽略一些显而易见的内容.

Given that that's precisely what I'm attempting to do by following the steps outlined in the Modules walkthrough, I'm fairly certain I'm overlooking something obvious.

可在此处找到源: https://dl.dropboxusercontent.com/u/7537204/literumble.zip ,如果有帮助的话.

The source is available here: https://dl.dropboxusercontent.com/u/7537204/literumble.zip, if that helps anyone.

如果有人能提供我应该寻找哪个方向的信息,我将不胜感激.

I'd be very appreciative if anyone had some insight to provide regarding which direction I should be looking to ferret out the issue.

推荐答案

我遇到了同样的问题,我正在尝试执行以下操作:

I had the same issue, I was trying to do something like:

appcfg.py update <my_app_dir> app.yaml batchratings.yaml

但是appcfg.py帮助更新显示,如果您传递目录,它将始终使用app.yaml.要使用其他模块,您需要为每个模块使用文件路径:

but the appcfg.py help update shows that if you pass a directory it will always take app.yaml. To take the other modules you need to use the file path for each:

appcfg.py update <my_app_dir>/app.yaml
appcfg.py update <my_app_dir>/batchratings.yaml

要弄清楚这一点,它帮助我传递-v以确保它正在更新传递的模块.

To figure this out, it helped me to pass -v to make sure it was updating the module i passed.

这篇关于无效的调度配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆