最近通过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全部改为小写,即可解决错误.