Dev_appserver.py does not load appengine_config.py

I have an App Engine application running locally with dev_appserver.py . In the application directory, I have a standard appengine_config.py that should be executed on every application request. He used to run a module, but suddenly he stopped doing it.

In another application on one computer it works fine.

I checked using Process Monitor to check if the file is downloaded from another location, but it is not (I can see how another application file is downloaded).

Any ideas why appengine_config.py not running?

+5
source share
1 answer
I used to have the same problem. Solved by changing the loading method in app.yaml to wsgi, for example, from:

script: my_app / main.py

To:

script: my_app.main.application

Let me know if this works for you.

+3
source

Source: https://habr.com/ru/post/1203197/


All Articles