App Engine Flexable: ImportError: No module named PLACEHOLDER

477 views
Skip to first unread message

Andrew Wilson

unread,
Sep 22, 2016, 3:14:46 PM9/22/16
to Google App Engine
Here is the raw stack trace:

Traceback (most recent call last):
  File "/home/vmagent/python_vm_runtime/google/appengine/ext/vmruntime/meta_app.py", line 550, in GetUserAppAndServe
    app, mod_file = self.GetUserApp(script)
  File "/home/vmagent/python_vm_runtime/google/appengine/ext/vmruntime/meta_app.py", line 411, in GetUserApp
    app = _AppFrom27StyleScript(script)
  File "/home/vmagent/python_vm_runtime/google/appengine/ext/vmruntime/meta_app.py", line 271, in _AppFrom27StyleScript
    app, filename, err = wsgi.LoadObject(script)
  File "/home/vmagent/python_vm_runtime/google/appengine/runtime/wsgi.py", line 85, in LoadObject
    obj = __import__(path[0])
ImportError: No module named PLACEHOLDER

After a recent deploy to AppEngine flexable i get this spammed in the server logs. 
I have a very simple app.yaml - 

runtime: python27
vm: true
threadsafe: true
entrypoint: gunicorn -b :$PORT main:app

I have no idea why this is coming up or even how to start debugging. Any help would be greatly appriciated. Thank you

Nick (Cloud Platform Support)

unread,
Sep 30, 2016, 12:59:35 PM9/30/16
to Google App Engine
Hey Andrew,

Is this still occurring for you? If so, could you let me know the project ID via a direct email to me at pay...@google.com? I'd be happy to try to take a look into this.

Cheers,

Nick
Cloud Platform Community Support

Will Cadell

unread,
May 30, 2017, 3:19:26 PM5/30/17
to Google App Engine
I have this problem now too, was there a solution? Thanks!

yaml->

runtime: custom
env: flex

entrypoint: gunicorn -b :$PORT main:app

Traceback ->

INFO     2017-05-30 19:06:43,446 module.py:813] default: "GET / HTTP/1.1" 500 -
ERROR    2017-05-30 19:06:44,489 wsgi.py:263] 
Traceback (most recent call last):
  File "/Users/willcadell/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/Users/willcadell/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
    handler, path, err = LoadObject(self._handler)
  File "/Users/willcadell/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
    obj = __import__(path[0])
ImportError: No module named PLACEHOLDER


Jordan (Cloud Platform Support)

unread,
May 31, 2017, 3:59:51 PM5/31/17
to Google App Engine
Google Groups is meant for general product discussions and not for technical support or issue reporting. 

It is recommended you report this officially as an issue in the Public Issue Tracker with additional information such as your GCloud version (by running 'gcloud info' in the command line), dockerfile, etc. 
Reply all
Reply to author
Forward
0 new messages