GAE启动错误 GoogleAppEngineLauncher.py", line 42...解决方案

来源:互联网 发布:大数据 传统零售业 编辑:程序博客网 时间:2024/05/22 16:06


启动GAE,提示一个错误,

打开错误日志GoogleAppEngineLauncher.exe.log,内容如下:

Traceback (most recent call last):  File "GoogleAppEngineLauncher.py", line 42, in <module>  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 getConfigParser.NoOptionError: No option 'name' in section: '0'Traceback (most recent call last):  File "GoogleAppEngineLauncher.py", line 35, in <module>  File "launcher\__init__.pyc", line 38, in <module>  File "launcher\mainframe.pyc", line 22, in <module>zipimport.ZipImportError: can't find module 'launcher.project'

我的操作系统是64位win7。

解决方案是:http://code.google.com/p/google-appengine-wx-launcher/issues/detail?id=6

大体流程:

1、备份 C:\Program Files\Google\google_appengine\launcher\library.zip\launcher\project.pyc到任意位置。

2、用project.py [下载]文件替换掉它(就是说,把.pyc从zip文件中删咯,然后把.py压进去)。

3、启动GAE,这个时候,你会看到一个工程 c:\123。

4、很好,把包括工程c:\123在内的工程统统删掉。

5、关闭GAE

6、再把project.pyc还原回去,而把project.py删掉

7、齐活儿!

原创粉丝点击