Il giorno 18/ago/2010, alle ore 08.46, Keith Archer ha scritto:

> 
> 
> uWSGI log
> ================
> SYSNAME: Linux
> NODENAME: strea.my
> RELEASE: 2.6.32-24-server
> VERSION: #39-Ubuntu SMP Wed Jul 28 06:21:40 UTC 2010
> MACHINE: x86_64
> [uWSGI] parsing config file /var/www/streamy/uwsgi.xml
> *** Starting uWSGI 0.9.6-dev (64bit) on [Tue Aug 17 23:24:25 2010] ***
> ***
> *** You are running a DEBUG version of uWSGI, plese disable DEBUG in 
> uwsgiconfig.py and recompile it ***
> ***
> compiled with version: 4.4.3
> Python version: 2.7 (r27:82500, Aug 12 2010, 23:14:53) 
> [GCC 4.4.3]
> your memory page size is 4096 bytes
> *** WARNING: you have enabled harakiri without post buffering. Slow upload 
> could be rejected on post-unbuffered webservers *** 
> allocated 624 bytes (0 KB) for 1 request's buffer.
> binding on TCP port: 41989
> [uWSGI DEBUG] uwsgi socket SO_RCVBUF size: 87380
> [uWSGI DEBUG] uwsgi socket SO_SNDBUF size: 16384
> your server socket listen backlog is limited to 64 connections
> initializing hooks...done.
> added /var/www/streamy/ to pythonpath.
> added /var/www/ to pythonpath.
> interpreter for app 0 initialized.
> ImportError: Import by filename is not supported.
> *** uWSGI is running in multiple interpreter mode ***
> spawned uWSGI master process (pid: 16352)
> spawned uWSGI worker 1 (pid: 16353)
> [uWSGI DEBUG] uwsgi payload size: 1187 (0x4A3) modifier1: 0 modifier2: 0
> [uWSGI DEBUG] PATH_INFO=/bin:/usr/bin:/sbin:/usr/sbin
> [uWSGI DEBUG] PATH_INFO=/
> [uWSGI DEBUG] SCRIPT_NAME=
> added /var/www/streamy/ to pythonpath.
> added /var/www/ to pythonpath.
> interpreter for app 0 initialized.
> ImportError: No module named @?s
> [pid: 16353|app: -1|req: -1/1] 66.166.4.165 () {56 vars in 1187 bytes} [Tue 
> Aug 17 23:26:22 2010] GET / => generated 46 bytes in 17 msecs (HTTP/1.1 500) 
> 2 headers in 63 bytes (0 async switches on async core 0)
> 
> 


You are running the development version of uWSGI that got a rewrite of 
SCRIPT_NAME/PATH_INFO handling that is still not complete.

Rewrite your xml file in this way (this way is full backward compatible with 
the current stable versions)

<uwsgi>
        <pythonpath>/var/www/streamy/</pythonpath>
        <pythonpath>/var/www/</pythonpath>
       <module>django_wsgi</module>
</uwsgi>

(Remember that you can put all the options in the xml file and not only in the 
command line)

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to