Recently there have been strange errors on GAE, like this one:
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 96, in LoadObject
__import__(cumulative_path)
EOFError: EOF read where object expected
Not sure if the fault is in my app or on GAE. Anyone else seeing this?
I think scope of API that are defined too much.
Recently there have been strange errors on GAE, like this one:
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 96, in LoadObject
__import__(cumulative_path)
EOFError: EOF read where object expected
Not sure if the fault is in my app or on GAE. Anyone else seeing this?
If there is an instance currently running for your project, shut it down and startup a new instance. That seemed to fix it for me.
P.S. I had a weird error the other day that looked like this:
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = __import__(path[0])
File "/base/data/home/apps/s~ccp-ir-upload/1.382634162944669763/upload.py", line 11, in <module>
import traceback
SystemExit: -1
This error seems similar, in that it contains some of the same lines, but leads me to think that some instances were started incorrectly or something like that. Stopping the instance and starting up a new one fixed this error as well.
I am seeing exactly this error. Nothing to do with your app, I think, just some kind of transient problem with App Engine. I noticed a few instances of it around 4am GMT yesterday.
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 96, in LoadObject
__import__(cumulative_path)
EOFError: EOF read where object expected
I'm having the same exact issue. It must be something wrong with App Engine. They've been having issues.
I'm having the same exact issue. It must be something wrong with App Engine. They've been having issues.
Update: Following rgutierrez1014's tip to shutdown any instances currently running fixed the issue.