[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uwsgi and Pyramid
From: |
宋文武 |
Subject: |
Re: uwsgi and Pyramid |
Date: |
Tue, 21 Jun 2016 21:23:56 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Myles English <address@hidden> writes:
> Hello,
Welcome!
>
> I have defined some packages to install Pyramid (a Python web
> framework) here:
> https://gist.github.com/mylese/861b4765e9f533bafa2cb2b305974caa
>
> Now I am trying to get my python app (my_app), served by uwsgi
> but get the infamous "no app loaded" error from uwsgi:
>
>
> $ /gnu/store/y83n9b6zl76pq1v7qb0npl7p7gd0hgd7-profile/bin/uwsgi --need-app
> --ini production.ini
It looks to me that this production.ini file is for paste.deploy, so you
need add 'python-pastedeploy' to the environment and pass '--ini-paste'
instead of '--ini' to uwsgi.