Re: 500 - Internal Server Error | Review Board
On 03/24/2011 08:27 PM, Christian Hammond wrote: > Hi, > > Looks like a new python-dateutil was just released today that only > works with Python 3, and it's being fetched. That's not good. We'll > have to get out an update to be more specific about the version needed. > > Try getting rid of the old version (rm -rf > /usr/lib/python2.4/site-packages/python_dateutil-2.0-py2.4.egg/) > > Then: > > easy_install -U python_dateutil==1.5 > > Christian Also, I notice from your other thread that you're running on Red Hat. You might have better luck installing from the EPEL RPMs for ReviewBoard. That will ensure that all dependent package versions match up. http://fedoraproject.org/wiki/EPEL (Extra Packages for Enterprise Linux) -- 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
RE: 500 - Internal Server Error | Review Board
Thanks... That fix the problem now I am able to see the login and registration GUI etc... Vincent From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Thursday, March 24, 2011 5:28 PM To: reviewboard@googlegroups.com Cc: Vincent Yee Subject: Re: 500 - Internal Server Error | Review Board Hi, Looks like a new python-dateutil was just released today that only works with Python 3, and it's being fetched. That's not good. We'll have to get out an update to be more specific about the version needed. Try getting rid of the old version (rm -rf /usr/lib/python2.4/site-packages/python_dateutil-2.0-py2.4.egg/) Then: easy_install -U python_dateutil==1.5 Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Mar 24, 2011 at 5:24 PM, storms mailto:v...@sendmail.com>> wrote: Just installed 1.5.4 with Apache + mod_python started apache, and try to access web and got the following and got the following error via browser: 500 - Internal Server Error | Review Board - Mozilla Firefox Something broke! (Error 500) It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator. here's the log file: [Thu Mar 24 17:10:53 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Mar 24 17:10:53 2011] [notice] Digest: generating secret for digest authentication ... [Thu Mar 24 17:10:53 2011] [notice] Digest: done [Thu Mar 24 17:10:53 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Thu Mar 24 17:10:53 2011] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/ __init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. DeprecationWarning /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/ __init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' DeprecationWarning /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-i686.egg/ Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/core/ context_processors.py:27: DeprecationWarning: The context processor at `django.core.context_processors.auth` is deprecated; use the path `django.contrib.auth.context_processors.auth` instead. DeprecationWarning /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/template/ loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead. DeprecationWarning ERROR:root:Exception thrown for user AnonymousUser at http://vmreviews.qa-lab.sendmail.com/reviews/account/login/?next_page=/reviews/dashboard/ invalid syntax (parser.py, line 23) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/ djblets/auth/views.py", line 80, in login return render_to_response(template_name, context) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ shortcuts/__init__.py", line 20, in render_to_response return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/loader.py", line 183, in render_to_string return t.render(Context(dictionary)) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/base.py", line 123, in render return self._render(context) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/base.py", line 117, in _render return self.nodelist.render(context) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/base.py", line 744, in render bits.append(self.render_node(node, context)) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/base.py", line 757, in render_node return node.render(context) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/loader_tags.py", line 127, in render return compiled_parent._render(context) File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ template/base.py",
Re: 500 - Internal Server Error | Review Board
Hi, Looks like a new python-dateutil was just released today that only works with Python 3, and it's being fetched. That's not good. We'll have to get out an update to be more specific about the version needed. Try getting rid of the old version (rm -rf /usr/lib/python2.4/site-packages/python_dateutil-2.0-py2.4.egg/) Then: easy_install -U python_dateutil==1.5 Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Mar 24, 2011 at 5:24 PM, storms wrote: > Just installed 1.5.4 with Apache + mod_python > started apache, and try to access web and got the following and got > the following error via browser: > > 500 - Internal Server Error | Review Board - Mozilla Firefox > Something broke! (Error 500) > > It appears something broke when you tried to go to here. This is > either a bug in Review Board or a server configuration error. Please > report this to your administrator. > > here's the log file: > [Thu Mar 24 17:10:53 2011] [notice] suEXEC mechanism enabled > (wrapper: /usr/sbin/suexec) > [Thu Mar 24 17:10:53 2011] [notice] Digest: generating secret for > digest authentication ... > [Thu Mar 24 17:10:53 2011] [notice] Digest: done > [Thu Mar 24 17:10:53 2011] [notice] mod_python: Creating 4 session > mutexes based on 256 max processes and 0 max threads. > [Thu Mar 24 17:10:53 2011] [notice] Apache/2.2.3 (Red Hat) configured > -- resuming normal operations > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/ > __init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; > use settings.DATABASES instead. > DeprecationWarning > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/ > __init__.py:60: DeprecationWarning: Short names for ENGINE in database > configurations are deprecated. Prepend default.ENGINE with > 'django.db.backends.' > DeprecationWarning > /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-i686.egg/ > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This > application uses RandomPool, which is BROKEN in older releases. See > http://www.pycrypto.org/randpool-broken > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/core/ > context_processors.py:27: DeprecationWarning: The context processor at > `django.core.context_processors.auth` is deprecated; use the path > `django.contrib.auth.context_processors.auth` instead. > DeprecationWarning > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/template/ > loaders/filesystem.py:58: DeprecationWarning: > 'django.template.loaders.filesystem.load_template_source' is > deprecated; use 'django.template.loaders.filesystem.Loader' instead. > DeprecationWarning > ERROR:root:Exception thrown for user AnonymousUser at > > http://vmreviews.qa-lab.sendmail.com/reviews/account/login/?next_page=/reviews/dashboard/ > > invalid syntax (parser.py, line 23) > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > core/handlers/base.py", line 111, in get_response >response = callback(request, *callback_args, **callback_kwargs) > File "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/ > djblets/auth/views.py", line 80, in login >return render_to_response(template_name, context) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > shortcuts/__init__.py", line 20, in render_to_response >return HttpResponse(loader.render_to_string(*args, **kwargs), > **httpresponse_kwargs) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/loader.py", line 183, in render_to_string >return t.render(Context(dictionary)) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 123, in render >return self._render(context) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 117, in _render >return self.nodelist.render(context) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 744, in render >bits.append(self.render_node(node, context)) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 757, in render_node >return node.render(context) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/loader_tags.py", line 127, in render >return compiled_parent._render(context) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 117, in _render >return self.nodelist.render(context) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 744, in render >bits.append(self.render_node(node, context)) > File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/ > template/base.py", line 757, in render_node >return node.render(context) > File "/usr/lib/python2.4/site-packages/Django-1