现在的位置: 首页 > 综合 > 正文

GAE的for application does not match expression ‘^(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d 错误

2011年07月29日 ⁄ 综合 ⁄ 共 411字 ⁄ 字号 评论关闭

最近通过GAE部署python程序,出现错误提示:

Unable to assign value 'sentiSensor' to attribute 'application':
Value 'sentiSensor' for application does not match expression '^(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{1,100}$'in "E:\Code\Python\sentiSensor\app.yaml", line 1, column 14

通过google app engine 窗口上方的Edit按钮打开app.yaml文件发现

application: sentiSensor
version: 1
runtime: python
api_version: 1
将applicationName的sentiSensor全部改为小写,即可解决错误.

抱歉!评论已关闭.