Google App Engine with Python - Google

Table of Contents

系統:XP
python版本:2.7.2
在cmd裡面切到Program Files\Google\google_appengine> dev_appserver.py APP名稱

結果出現以下訊息

Warning: You are using a Python runtime (2.7) that is more recent than the
produ
ction runtime environment (2.5). Your application may use features that are
not
available in the production environment and may not work correctly when
deployed
to production.
ERROR 2011-08-06 15:09:10,842 dev_appserver_main.py:601] Fatal error when
loa
ding application configuration:
Unable to assign value 'ma_lies' to attribute 'application':
Value 'ma_lies' for application does not match expression
'^(?:[a-z\d\-]{1,100}\
~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{1,100}$'
in "ma_lies\app.yaml", line 1, column 14



我google過 有人說在references裡面加入python的執行檔好像也失敗了

請神人幫幫我

感謝



--

All Comments

Tristan Cohan avatarTristan Cohan2011-08-08
GAE Python 只支援到 Python 2.5
Emily avatarEmily2011-08-13
所以就只是不能用GAE而已?
Aaliyah avatarAaliyah2011-08-17
用2.7 python也可以執行 gae,只是上傳到對方主機只有2.5
你的問題是 ma_lies這個值不合它的要求
Necoo avatarNecoo2011-08-19
樓上沒錯,不能用底線.
Ivy avatarIvy2011-08-24
感謝大大們