Running this test script:

import  time

def application(environ,start_response):
start_response("200 OK", [ ('Content-type','text/plain') ] )
yield bytes( 'Hello %s' % time.time(),
                      'utf-8')

produces a 500 error with this output to the terminal -- Fatal Python error: 
PyEval_AcquireLock: current thread state is NULL


uwsgi build using make -f Makefile.Py32:

Full consol output:

robert-mela-macbook-pro:uwsgi-0.9.7-beta1 rmela$ ./uwsgi -w foo --http 
127.0.0.1:8002 --threads 10
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Mar  3 10:20:27 2011] ***
compiled with version: 4.2.1 (Apple Inc. build 5664)
 *** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
allocated 6960 bytes (6 KB) for 10 cores per worker.
spawned uWSGI http 1 (pid: 87452)
uwsgi socket 0 bound to UNIX address 1299165627_87452.sock fd 4
Python version: 3.2 (r32:88452, Feb 20 2011, 11:12:31)  [GCC 4.2.1 (Apple Inc. 
build 5664)]
Python main interpreter initialized at 0x10030b740
threads support enabled
your server socket listen backlog is limited to 100 connections
*** Operational MODE: threaded ***
WSGI application 0 (SCRIPT_NAME=) ready on interpreter 0x10030b740 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 87454, cores: 10)
Fatal Python error: PyEval_AcquireLock: current thread state is NULL
connect(): Connection refused [socket.c line 268]



_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to