“在osqa上导入中间件时出错”
我使用下面的教程在Ubuntu 14.0.4上安装了postgresql的osqa作为后端 http://wiki.osqa.net/display/docs/ubuntu+12.04,+django+1.3,+mod_wsgi,+virtual_env,+postgresql 要求创build一个虚拟环境。 我做了同样的,得到500服务器错误。 因此,我在settings_local.py中设置了debug = True,并在显示mod_wsgi错误的apache错误日志文件中出现以下错误。 [Mon Nov 24 11:26:33.823663 2014] [:error] [pid 6389:tid 3034110784] [remote 192.168.227.129:15031] mod_wsgi (pid=6389): Exception occurred processing WSGI script '/srv/osqa.1/osqa/osqa.wsgi'. [Mon Nov 24 11:26:33.823844 2014] [:error] [pid 6389:tid 3034110784] [remote 192.168.227.129:15031] Traceback (most recent call last): [Mon Nov 24 11:26:33.823882 2014] [:error] [pid 6389:tid 3034110784] [remote 192.168.227.129:15031] File […]