Adding "sys.stderr.write(sys.version)" to the reviewboard.wsgi outputs the 
following to my error.log:

[Thu Mar 08 20:00:33 2012] [error] 2.6.5 (r265:79063, Apr 16 2010, 14:15:55)

While trying "print sys.version" I got the following error:

[Thu Mar 08 19:51:21 2012] [error] [client 79.110.95.2] IOError: sys.stdout 
access restricted by mod_wsgi

So mod_wsgi is really active, if that was still in question.

-J



Am Donnerstag, 8. März 2012 19:46:14 UTC+1 schrieb David Trowbridge:
>
> If that file exists, the next thing I would check is that your web server 
> is using python 2.6
>
> -David
>
>
> On Thu, Mar 8, 2012 at 10:43 AM, Jan Piotrowski <piotrow...@gmail.com>wrote:
>
>> I should probably know what that means, but I don't exactly. 
>> I searched for the folder of Django and found this in there:
>> /usr/local/lib/python2.6/dist-packages/django/core/handlers with 2 files 
>> wsgi.py and wsgi.pyc
>> Does this help?
>>
>> -J
>>
>> Am Donnerstag, 8. März 2012 19:32:02 UTC+1 schrieb David Trowbridge:
>>>
>>> Some Linux distributions bundle django's wsgi handlers in a separate 
>>> package.
>>>
>>> -David
>>>
>>>
>>> On Thu, Mar 8, 2012 at 10:20 AM, Jan Piotrowski wrote:
>>>
>>>> Hey,
>>>>
>>>> today I tried to install ReviewBoard for the first time on one of our
>>>> companies servers (Apache on Ubuntu, MySQL and memcached). I'm a
>>>> developer and no system administrator, so it didn't come as a surprise
>>>> that id didn't work out of the box. At first mod_wsgi wasn't
>>>> installed, but that was easy to fix. But now, even an hour of googling
>>>> didn't help:
>>>>
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2] mod_wsgi
>>>> (pid=8579): Target WSGI script '/home/www/review/htdocs/
>>>> reviewboard.wsgi' cannot be loaded as Python module.
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2] mod_wsgi
>>>> (pid=8579): Exception occurred processing WSGI script '/home/www/
>>>> review/htdocs/reviewboard.**wsgi'.
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2] Traceback
>>>> (most recent call last):
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2]   File "/home/
>>>> www/review/htdocs/reviewboard.**wsgi", line 11, in <module>
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2]     import
>>>> django.core.handlers.wsgi
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2] ImportError:
>>>> No module named django.core.handlers.wsgi
>>>> [Thu Mar 08 19:13:11 2012] [error] [client 79.110.95.2] Symbolic link
>>>> not allowed or link target not accessible: /home/www/review/htdocs/
>>>> errordocs
>>>>
>>>> Any what could be the reason for this problem?
>>>>
>>>> From my googling, I think this could be a problem with a path or some
>>>> permissions, but as I'm normally a Windows user I have no idea where
>>>> and how to look). Maybe it's important that import django directly in
>>>> the python console only works if I'm root, not after "su - www-data".
>>>> And the sys.path is different as www-data, too. (You see, I tried
>>>> everything I found on the net ;)
>>>>
>>>> Regards,
>>>> Jan
>>>>
>>>> --
>>>> Want to help the Review Board project? Donate today at 
>>>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/>
>>>> Happy user? Let us know at 
>>>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/>
>>>> -~----------~----~----~----~--**----~----~------~--~---
>>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@*
>>>> *googlegroups.com <reviewboard%2bunsubscr...@googlegroups.com>
>>>> For more options, visit this group at http://groups.google.com/**
>>>> group/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>>
>>>
>>>  -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to