From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: uwsgi and Pyramid Date: Tue, 21 Jun 2016 21:23:56 +0800 Message-ID: <87mvmeisk3.fsf@member.fsf.org> References: <8760t3pi2z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLf5-00068z-Gz for help-guix@gnu.org; Tue, 21 Jun 2016 09:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFLf0-0003ns-Er for help-guix@gnu.org; Tue, 21 Jun 2016 09:24:14 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:47289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLf0-0003nL-8a for help-guix@gnu.org; Tue, 21 Jun 2016 09:24:10 -0400 In-Reply-To: <8760t3pi2z.fsf@gmail.com> (Myles English's message of "Tue, 21 Jun 2016 00:16:04 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Myles English Cc: help-guix Myles English 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.