[Python][SQLite]: Fatal Python error: PyEval_SaveThread: NULL tstate Python で "Fatal Python error: PyEval_SaveThread: NULL tstate" が出た時の対処メモ。 Googleで14件なんで、レアケースだったのか。。 発端は、Django の FreeComment で traceback も出ない 500 Internal Server Error が出る。 構成は、 CentOS4.4, Python2.4, SQLite3, Django 0.96pre(fastcgi), Lighttpd。 よくわからないので Django を daemonize=false で動かしてみた。 $ python manage.py runfcgi daemonize=false
![[Python][SQLite]: Fatal Python error: PyEval_SaveThread: NULL tstate](https://cdn-ak-scissors.b.st-hatena.com/image/square/8f9430b92fc09f6329248460ee811047427f701f/height=288;version=1;width=512/https%3A%2F%2Fmichilu.com%2Fimg%2Fapple-touch-icon-200x.png)