[uWSGI] Fatal Python error: Can't initialize slice type

Bo Shi bo at brooklynpacket.com
Wed Nov 10 03:02:49 CET 2010


Hi Folks, anyone ever seen this before?  Very strange...

$ uname -a
Linux app.example.com 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16
20:06:58 UTC 2010 x86_64 GNU/Linux


$ uwsgi --ini /srv/app-home/etc/uwsgi.ini
Wed Nov 10 01:57:19 2010 - *** Starting uWSGI 0.9.6.5 (64bit) on [Wed
Nov 10 01:57:19 2010] ***
Wed Nov 10 01:57:19 2010 - compiled with version: 4.4.3
Wed Nov 10 01:57:19 2010 - Python version: 2.6.5 (r265:79063, Apr 16
2010, 14:15:55)
[GCC 4.4.3]
Wed Nov 10 01:57:19 2010 - limiting address space of processes...
Wed Nov 10 01:57:19 2010 - your process address space limit is
20971520 bytes (20 MB)
Wed Nov 10 01:57:19 2010 - your memory page size is 4096 bytes
Wed Nov 10 01:57:19 2010 -  *** WARNING: you have enabled harakiri
without post buffering. Slow upload could be rejected on
post-unbuffered webservers ***
Wed Nov 10 01:57:19 2010 - allocated 640 bytes (0 KB) for 1 request's buffer.
Wed Nov 10 01:57:19 2010 - Setting PythonHome to /srv/app-home/...
Fatal Python error: Can't initialize slice type
Aborted



$ cat ../etc/uwsgi.ini
[uwsgi]
socket=127.0.0.1:3010
pythonpath=/srv/app-home/app
home=/srv/app-home
module=dwsgi
processes=2
master=true
harakiri=20
limit-as=20
vacuum=true
logdate=true


More information about the uWSGI mailing list