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.
FastCGI,Lighttpd接口错误/操作错误。
原标题:
问题回答
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工具,检查您的项目中所有导入
当然,这只会帮助您迅速找到原始问题的解决方案,而不是问题本身的实际解决方案。
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding