> Hello
>
> I am following the instructions here:
> http://uwsgi-docs.readthedocs.org/en/latest/Embed.html
>
> I create the files as instructed:
>
> ubuntu@contiki:~/uwsgi-2.0.10$ cat buildconf/flask.ini
> [uwsgi]
> inherit = default
> bin_name = myapp
> embed_files = bootstrap.py,myapp.py
> plugin_dir = /home/ubuntu/uwsgi-2.0.10/plugins
> embed_config = /home/ubuntu/uwsgi-2.0.10/flaskconfig.ini
>
>
> ubuntu@contiki:~/uwsgi-2.0.10$ cat flaskconfig.ini
> [uwsgi]
> http-socket = 127.0.0.1:3031
> import = sym://bootstrap_py
> module = myapp:app
>
>
> I run ./myapp and it says "no request plugin is loaded, you will not be
> able to manage requests."
>
>
> ubuntu@contiki:~/uwsgi-2.0.10$ ./myapp
> *** Starting uWSGI 2.0.10 (64bit) on [Tue May 19 23:08:42 2015] ***
> compiled with version: 4.8.2 on 19 May 2015 23:07:50
> os: Linux-3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC
> 2015
> nodename: contiki
> machine: x86_64
> clock source: unix
> detected number of CPU cores: 4
> current working directory: /home/ubuntu/uwsgi-2.0.10
> detected binary path: /home/ubuntu/uwsgi-2.0.10/myapp
> !!! no internal routing support, rebuild with pcre support !!!
> *** WARNING: you are running uWSGI without its master process manager ***
> your processes number limit is 14658
> your memory page size is 4096 bytes
> detected max file descriptor number: 1024
> lock engine: pthread robust mutexes
> thunder lock: disabled (you can enable it with --thunder-lock)
> uwsgi socket 0 bound to TCP address 127.0.0.1:3031 fd 3
> your server socket listen backlog is limited to 100 connections
> your mercy for graceful operations on workers is 60 seconds
> mapped 72760 bytes (71 KB) for 1 cores
> *** Operational MODE: single process ***
> *** no app loaded. going in full dynamic mode ***
> *** uWSGI is running in multiple interpreter mode ***
> !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
> no request plugin is loaded, you will not be able to manage requests.
> you may need to install the package for your language of choice, or simply
> load it with --plugin.
> !!!!!!!!!!! END OF WARNING !!!!!!!!!!
> spawned uWSGI worker 1 (and the only) (pid: 11086, cores: 1)
> ^Cubuntu@contiki:~/uwsgi-2.0.10$


It looks like your build profile does not include the python plugin
(chained inheritance is not supported), you should change your build
profile to something like this:

[uwsgi]
main_plugin = python
inherit = base
bin_name = myapp
embed_files = bootstrap.py,myapp.py
plugin_dir = /home/ubuntu/uwsgi-2.0.10/plugins
embed_config = /home/ubuntu/uwsgi-2.0.10/flaskconfig.ini

-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to