适用于Windows的AppEngine Python SDK无法使用EOFError运行应用程序 [英] AppEngine Python SDK for Windows fails to run apps with an EOFError

查看:77
本文介绍了适用于Windows的AppEngine Python SDK无法使用EOFError运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在项目中使用Google AppEngine Python SDK进行Windows开发,尝试启动应用程序时出现以下错误。

I'm using Google AppEngine Python SDK for windows on a project, I get the following error when trying to launch an app.

2011-09-30 17:20:21 Running command: "['C:\\Python25\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8086', 'E:\\Programming\\Python\\notepyd']"
    WARNING  2011-09-30 11:51:10,549 urlfetch_stub.py:108] No ssl package found. urlfetch will not be able to validate SSL certificates.
    ERROR    2011-09-30 11:51:15,627 dev_appserver_main.py:644] <type 'exceptions.EOFError'>: 
    2011-09-30 17:21:15 (Process exited with code 1)

发生电源故障后。如何修复它?

This happened after a power failure. How do I fix it?

推荐答案

启动Python并运行它:

Start Python and run this:

>>> import tempfile
>>> print tempfile.gettempdir()

c:\users\..\appdata\local\temp

转到该目录并删除任何以 dev_appserver 开头的文件。

Go to that directory and delete any files that start with dev_appserver.

这篇关于适用于Windows的AppEngine Python SDK无法使用EOFError运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆