Hi Boris, As I see, you are using Debian 6.0.3 as a base for mixed system. The solution should be to specify option plugin=python26 to force Python 2.6 plugin if your virtualenv environment is built with Python 2.6. Previous release (0.9.8.3-1) was built with with python2.6 as default interpreter so plugin with python 2.6 was default. In release (0.9.8.3-2) Python 2.7 is default plugin as it is a default interpreter.
Best, Janos On Tue, Jan 3, 2012 at 00:44, Boris Bobrov <[email protected]> wrote: > Package: uwsgi-plugin-python > Version: 0.9.8.3-2 > Severity: important > Tags: sid > > After upgrade to version 0.9.8.3-2 I was unable to launch any app with > 'home' option pointing to virtualenv environment. Logs: > > ---------- > Tue Jan 3 03:17:04 2012 - /usr/lib/uwsgi/plugins/python27_plugin.so > Tue Jan 3 03:17:04 2012 - *** Starting uWSGI 0.9.8.3-debian (32bit) on [Tue > Jan 3 03:17:04 2012] *** > Tue Jan 3 03:17:04 2012 - compiled with version: 4.6.2 on 01 January 2012 > 21:33:55 > Tue Jan 3 03:17:04 2012 - writing pidfile to /run/uwsgi/app/cm/pid > Tue Jan 3 03:17:04 2012 - setgid() to 1005 > Tue Jan 3 03:17:04 2012 - setuid() to 1005 > Tue Jan 3 03:17:04 2012 - your memory page size is 4096 bytes > Tue Jan 3 03:17:04 2012 - uwsgi socket 0 bound to UNIX address > /run/uwsgi/app/cm/socket fd 6 > Tue Jan 3 03:17:04 2012 - uwsgi socket 1 bound to TCP address > 127.0.0.1:49155 fd 7 > Tue Jan 3 03:17:04 2012 - Python version: 2.7.2+ (default, Aug 16 2011, > 07:32:53) [GCC 4.6.1] > Tue Jan 3 03:17:04 2012 - Set PythonHome to /home/cm/www/env/ > ImportError: No module named site > ---------- > But everything works fine with version 0.9.8.3-1. > > -- System Information: > Debian Release: 6.0.3 > APT prefers proposed-updates > APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable') > Architecture: i386 (i686) > > Kernel: Linux 2.6.32-5-686-bigmem (SMP w/8 CPU cores) > Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages uwsgi-plugin-python depends on: > ii libc6 2.13-18 Embedded GNU C Library: Shared > lib > ii libpython2.6 2.6.7-3 Shared Python runtime library > (ver > ii libpython2.7 2.7.2-5 Shared Python runtime library > (ver > ii uwsgi-core 0.9.8.3-2 fast, self-healing application > con > > uwsgi-plugin-python recommends no packages. > > Versions of packages uwsgi-plugin-python suggests: > pn python-uwsgidecorators <none> (no description available) > > -- no debconf information > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

