According to the script you mention, the uwsgi.xml should be much different
because it doesn't referee to any specific app.
it should be something like
<uwsgi>
<socket>127.0.0.1:${nginx_uwsgi_port}</socket>
<workers>4</workers>
<no-orphans/>
<pythonpath>/home/${USER}/webapps/${webfaction_app_name}/web2py</pythonpath>
<pidfile>/home/${USER}/webapps/${webfaction_app_name}/uwsgi/uwsgi.pid</pidfile>
<daemonize>/home/${USER}/webapps/${webfaction_app_name}/uwsgi/uwsgi.log</daemonize>
<app mountpoint=\"/\">
<script>wsgihandler</script>
</app>
</uwsgi>
Paolo
On Sunday, January 11, 2015 at 11:17:36 AM UTC+1, Richard Penman wrote:
>
> Hello,
>
> I used the recipe here for installing web2py on webfaction with nginx and
> uwsgi:
>
> https://community.webfaction.com/questions/7193/install-web2py-with-nginx-and-uwsgi
>
> It worked great for me before but now have some problems.
> I copied uwsgihandler.py from handlers/ directory but get this error when
> try to access the app:
>
> uWSGI Error
>
> Python application not found
>
>
> This is the uwsgi.xml file used:
> <uwsgi>
> <socket>127.0.0.1:port</socket>
> <workers>4</workers>
> <no-orphans/>
> <pythonpath>app/web2py</pythonpath>
> <pidfile>/app/uwsgi/uwsgi.pid</pidfile>
> <daemonize>/app/uwsgi/uwsgi.log</daemonize>
> <app mountpoint="/">
> <script>wsgihandler</script>
> </app>
> </uwsgi>
>
> Should this be changed for current version of web2py?
>
> Richard
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.