Git Product home page Git Product logo

flask-nvray-blog's People

Contributors

rui7157 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flask-nvray-blog's Issues

提示keyError

(venv) [root@VM_0_17_centos Flask-NvRay-Blog-master]# gunicorn -w 4 -b 127.0.0.1:80 wsgi:application
[2019-03-28 16:48:52 +0800] [1391] [INFO] Starting gunicorn 19.9.0
[2019-03-28 16:48:52 +0800] [1391] [INFO] Listening at: http://127.0.0.1:80 (1391)
[2019-03-28 16:48:52 +0800] [1391] [INFO] Using worker: sync
[2019-03-28 16:48:52 +0800] [1394] [INFO] Booting worker with pid: 1394
[2019-03-28 16:48:52 +0800] [1395] [INFO] Booting worker with pid: 1395
[2019-03-28 16:48:52 +0800] [1394] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/workers/base.py", line 129, in init_process
self.load_wsgi()
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
self.wsgi = self.app.wsgi()
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
return self.load_wsgiapp()
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File "/home/www/blog/venv/lib/python3.7/site-packages/gunicorn/util.py", line 350, in import_app
import(module)
File "/home/www/Flask-NvRay-Blog-master/wsgi.py", line 2, in
application = create_app('production')
File "/home/www/Flask-NvRay-Blog-master/app/init.py", line 12, in create_app
app.config.from_object(config[config_name])
KeyError: 'production'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.