|
Hi All, I'm hosting osqa on my VPS with CentOS 5 and nginx serves as web server. Running it with fast cgi but the page keeps getting me the following:
Following is the server section for this virtual server I'm using:
And I started the fast cgi using:
Most interestingly, the python traceback is alway cut in half in the generated log file: .
That's correct, it ends with "File "/usr/lib/pyt". So my question is, is there anything I'm doing wrong? How can I continue the troubleshooting? |
|
I am able to resolve this issue today. It was actually caused by a "bug" in osqa. From /var/www/html/osqa/forum/urls.py:
It seems Django does not like admin.site.root:
So I did a bit google search and found that you'll have to use admin.site.urls instead of admin.site.root in django 1.1 and after. After changing it to admin.site.urls it magically begin to work. (Some other issues still persist but they are separate ones) Ran into this bug too with the fantasy-island-0.9.0-beta3 release using Python 2.7.1. This seems to have fixed it
(21 Jun '11, 13:07)
TrinitronX
Thanks for commenting on this. We'll check and make sure this makes it into the next release.
(21 Jun '11, 20:57)
matt ♦♦
1
This issue has already been fixed in Revisions #941 and #942: It seems like you're using an old OSQA version.
(22 Jun '11, 07:15)
Jordan ♦♦
|
Switching to Python 2.6.x does not help resolving this issue. (I had 2.4.x)
Nothing really progressed after a while so I'm going to setup a localhost development server to test it out.