Pages

2010年9月3日星期五

Google App Engine Launcher无法启动问题解决 - 思想之地

今天在电脑装好了Google App Engine,在启动Google App Engine Launcher的时候它提示以下内容

点击查看原图

Error occurred

See the logfile GoolgleAppEngineLauncher.exe.log for details

打开错误日志文件GoolgleAppEngineLauncher.exe.log

发现其内容为

Traceback (most recent call last):
File "GoogleAppEngineLauncher.py", line 42, in
File "wx\_core.pyc", line 7913, in __init__
File "wx\_core.pyc", line 7487, in _BootstrapApp
File "launcher\app.pyc", line 53, in OnInit
File "launcher\app.pyc", line 97, in _CreateModels
File "launcher\maintable.pyc", line 35, in __init__
File "launcher\maintable.pyc", line 86, in _LoadProjects
File "launcher\project.pyc", line 63, in ProjectWithConfigParser
File "launcher\project.pyc", line 260, in _LoadFromConfigParser
File "ConfigParser.pyc", line 520, in get
ConfigParser.NoOptionError: No option 'name' in section: '0'

原来是配置文件内容出了问题,然后在C:\Documents and Settings\中搜索到google_appengine_projects.ini

打开该文件,内容为

[1]
path = D:\PYTHON\engineapp
name = engineapp
port = 8080

[0]

按照记录提示所说问题是 No option 'name' in section: '0'

删除[0]保存,再次启动Google App Engine Lancher 问题解决

没有评论: