Exception in review-board.
Hey folks, I am trying to install review-board on a fedora-core 8 machine, m not able to run with either mod_python or mod_fastcgi. Will appreciate any help :) I tried with mod_python and saw this exception, causing me to show a white blank page. [Wed Oct 28 20:39:20 2009] [notice] child pid 441 exit signal Aborted (6) httpd: Objects/stringobject.c:107: PyString_FromString: Assertion `str != ((void *)0)' failed. google searches told me this might be mod_python issue and suggested use mod_wsgi ?? Is there a way I can use mod_wsgi ?? then I tried using mod_fastcgi after lot of rpm/yum issues everything got installed nicely and apache bootup cleanly giving this error. [Wed Oct 28 21:08:53 2009] [notice] Apache/2.2.14 (Unix) mod_python/ 3.3.1 Python/2.5.1 mod_wsgi/2.3 mod_fastcgi/2.4.6 configured -- resuming normal operations [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: Traceback (most recent call last): [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py, line 574, in run [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: protocolStatus, appStatus = self.server.handler(self) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py, line 1141, in handler [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: result = self.application(environ, start_response) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/Django-1.1.1- py2.5.egg/django/core/handlers/wsgi.py, line 241, in __call__ [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: response = self.get_response(request) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/Django-1.1.1- py2.5.egg/django/core/handlers/base.py, line 73, in get_response [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: response = middleware_method(request) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1- py2.5.egg/reviewboard/admin/middleware.py, line 32, in process_request [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: if (check_updates_required() and [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1- py2.5.egg/reviewboard/admin/checks.py, line 59, in check_updates_required [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: if not is_exe_in_path('patch'): [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/Djblets-0.5.5- py2.5.egg/djblets/util/filesystem.py, line 44, in is_exe_in_path [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: for dir in os.environ['PATH'].split(os.pathsep): [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/UserDict.py, line 22, in __getitem__ [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: raise KeyError(key) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: KeyError: 'PATH' --~--~-~--~~~---~--~~ 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
Re: Exception in review-board.
Hi, Strange, this is the first time I've seen that issue with mod_python myself. We generally recommend mod_python, as it's worked pretty well for us. mod_wsgi should work, but we don't support generating mod_wsgi configuration out of the box yet. As for mod_fastcgi, it looks like for whatever reason, the $PATH environment variable was never set for that user. That's important. It should be at least set to /bin:/usr/bin. You may have to set it in reviewboard.fcgi or something. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Oct 28, 2009 at 6:16 PM, Bhupesh Bansal @ Linkedin bbansal@gmail.com wrote: Hey folks, I am trying to install review-board on a fedora-core 8 machine, m not able to run with either mod_python or mod_fastcgi. Will appreciate any help :) I tried with mod_python and saw this exception, causing me to show a white blank page. [Wed Oct 28 20:39:20 2009] [notice] child pid 441 exit signal Aborted (6) httpd: Objects/stringobject.c:107: PyString_FromString: Assertion `str != ((void *)0)' failed. google searches told me this might be mod_python issue and suggested use mod_wsgi ?? Is there a way I can use mod_wsgi ?? then I tried using mod_fastcgi after lot of rpm/yum issues everything got installed nicely and apache bootup cleanly giving this error. [Wed Oct 28 21:08:53 2009] [notice] Apache/2.2.14 (Unix) mod_python/ 3.3.1 Python/2.5.1 mod_wsgi/2.3 mod_fastcgi/2.4.6 configured -- resuming normal operations [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: Traceback (most recent call last): [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py, line 574, in run [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: protocolStatus, appStatus = self.server.handler(self) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py, line 1141, in handler [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: result = self.application(environ, start_response) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/Django-1.1.1- py2.5.egg/django/core/handlers/wsgi.py, line 241, in __call__ [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: response = self.get_response(request) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/Django-1.1.1- py2.5.egg/django/core/handlers/base.py, line 73, in get_response [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: response = middleware_method(request) [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1- py2.5.egg/reviewboard/admin/middleware.py, line 32, in process_request [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: if (check_updates_required() and [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1- py2.5.egg/reviewboard/admin/checks.py, line 59, in check_updates_required [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: if not is_exe_in_path('patch'): [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: File /usr/lib/python2.5/site-packages/Djblets-0.5.5- py2.5.egg/djblets/util/filesystem.py, line 44, in is_exe_in_path [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi stderr: for dir in os.environ['PATH'].split(os.pathsep): [Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI: server