S P
S P

Reputation: 1811

AppEngine Python SDK for Windows fails to run apps with an EOFError

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?

Upvotes: 1

Views: 689

Answers (3)

DLastCodeBender
DLastCodeBender

Reputation: 327

Open:

c:\users\{your_pc_name}\appdata\local\temp

Delete the directory named:

appengine.{your_app_name}

Upvotes: 0

Drew Sears
Drew Sears

Reputation: 12838

Start Python and run this:

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

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

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

Upvotes: 5

Dave W. Smith
Dave W. Smith

Reputation: 24956

In your position, I'd be tempted to reinstall Python. You can install a more recent vintage Python (i.e., post-2.5) as long as you don't use any post-2.5 language features or packages.

Upvotes: 0

Related Questions