The Google App Engine unexpectedly stops working, with the error "you probably are not getting the Python PIL module",

For more than a year now I have been developing applications on GAE (with Windows / Python), and although I am not an expert, I have always managed to run applications!

The application I'm working on now works great on the local host at lunchtime today. Without any changes, I came to it tonight, and the application will not start in the App Engine launch bar, a warning triangle appears when I try to do the following in the log:

INFO     2013-12-03 23:46:06,766 devappserver2.py:557] Skipping SDK update check.
WARNING  2013-12-03 23:46:06,776 api_server.py:317] Could not initialize images API; you are likely missing the Python "PIL" module.
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 184, in <module>
_run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 180, in _run_file
execfile(script_path, globals_)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 727, in <module>
main()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 720, in main
dev_server.start(options)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 685, in start
default_gcs_bucket_name=options.default_gcs_bucket_name)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\api_server.py", line 349, in setup_stubs
simple_search_stub.SearchServiceStub(index_file=search_index_path))
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 607, in __init__
self.Read()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 1020, in Read
read_indexes = self._ReadFromFile()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 994, in _ReadFromFile
version, indexes = pickle.load(open(self.__index_file, 'rb'))
EOFError
2013-12-03 23:46:06 (Process exited with code 1)

I tried to launch the Hello, World application, since I know that it worked fine before, as well as several other applications that I developed that all worked fine, and they all produce the same error.

, . , , !

+4
2

PIL,

stacktrace, -

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\search\simple_search_stub.py", line 994, in _ReadFromFile version, indexes = pickle.load(open(self.__index_file, 'rb')) EOFError

, . SDK, - .

. .

--search_indexes_path SEARCH_INDEXES_PATH
                    path to a file used to store search indexes (defaults
                    to a file in --storage_path if not set) (default:
                    None)
--clear_search_indexes [CLEAR_SEARCH_INDEXES] 
                    clear the search indexes (default: False)` 
+4

,

\ ... \AppData\Local\TMP\dev_appserver.datastore

+3

All Articles