English 中文(简体)
FastCGI,Lighttpd接口错误/操作错误。
原标题:
  • 时间:2008-12-29 12:37:04
  •  标签:

I am getting an Interface Error/ Operational Error while running my Django application with FastCGI.On checking the access log ( of lighttpd) i find these errors pop up which are usually related to closing some db connection or the other. The browser displays one of the two things - Unhandled Exception or Connection Terminated unsuccessfully message. Upon refreshing the page once ( usually) the errors seem to go off. How can I prevent this from happening ? The system really behaves in an erratic fashion.

问题回答

There could be 2 reasons for this problem occuring. 1. Not all URLs mentioned in your urls.py are reversing properly. 2. This is the tough part - Somewhere in the project an import is failing. It may be importing a method which does not exist.

我遇到了同样的问题,并发现有许多进口物品和第二点提到的一样。

我面临了同样的问题,在网上没有找到任何解决方案之后,我自己写了一个解决方案。请在这里检查我的博文: 简单的Python工具,检查您的项目中所有导入

当然,这只会帮助您迅速找到原始问题的解决方案,而不是问题本身的实际解决方案。





相关问题
热门标签