Skip to content Skip to sidebar Skip to footer

Eve App Deployment Errors Can Anyone Help Me To Fix It

[Sat Apr 09 18:27:29.953008 2016] [:error] [pid 3230:tid 140635784853248] [client 103.14.196.22:53950] mod_wsgi (pid=3230): Target WSGI script '/var/www/FlaskApps/FlaskApps.wsgi' c

Solution 1:

Check the settings path that the Eve app is using. Check if it matches your settings.py. This error can be raised if you point the app to a wrong settings.py path.

Also, I guess it's a typo but you wrote settins.py. If that is correct, there's your problem. You need to have a settings.py on the same folder as the application, or you need to pass the settings path to the app.

See the Eve docs here for a detailed explanation of configuration with files.

Solution 2:

The error ConfigException: DOMAIN dictionary missing or wrong. is very misleading. When I run into such errors, I debug the validate_domain_struct in flaskapp.py, by stepping thru it line by line. This has always helped me find the root cause.

Which version of eve are you using ? https://github.com/nicolaiarocci/eve/issues/823 says it is fixed in eve 0.6+

Post a Comment for "Eve App Deployment Errors Can Anyone Help Me To Fix It"