1097: doesn't work with python2.6?

markb*****@gmai***** (Google Code) (Is this you? Claim this profile.)
July 16, 2009
What version are you running?
Review Board 1.0 beta 2

What's the URL of the page containing the problem?
reviewboard doesn't work at all - shows the "Review Board is taking a nap" 
page.

What steps will reproduce the problem?
1. On a test machine, i updated to python 2.6
2. That may not be supported, if so you can ignore this issue
3. Browse to the reviewboard site and i get "taking a nap"
4. Also, easy_install no longer works with "ImportError: No module named 
ez_setup"

What is the expected output? What do you see instead?


What operating system are you using? What browser?
2.6.29-gentoo-r2 #1 SMP Thu Apr 30 12:06:25 EDT 2009 i686 Intel(R) Xeon(R) 
CPU X7350 @ 2.93GHz GenuineIntel GNU/Linux
Browser: IE or Firefox

Please provide any additional information below.
/var/log/apache/error_log:
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] mod_python (pid=25400, 
interpreter='reviewboard_reviewboard', phase='PythonHandler', 
handler='django.core.handlers.modpython'): Application error
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] 
ServerName: 'reviewboard1'
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] 
DocumentRoot: '/usr/reviewboard/htdocs'
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] URI: '/'
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] Location: '/'
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] Directory: None
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] 
Filename: '/usr/reviewboard/htdocs/'
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] PathInfo: ''
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] Traceback (most recent 
call last):
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x]   
File "/usr/lib/python2.6/site-packages/mod_python/importer.py", line 1537, 
in HandlerDispatch\n    default=default_handler, arg=req, 
silent=hlist.silent)
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x]   
File "/usr/lib/python2.6/site-packages/mod_python/importer.py", line 1229, 
in _process_target\n    result = _execute_target(config, req, object, arg)
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x]   
File "/usr/lib/python2.6/site-packages/mod_python/importer.py", line 1128, 
in _execute_target\n    result = object(arg)
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x]   
File "/usr/lib/python2.6/site-packages/django/core/handlers/modpython.py", 
line 228, in handler\n    return ModPythonHandler()(req)
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x]   
File "/usr/lib/python2.6/site-packages/django/core/handlers/modpython.py", 
line 191, in __call__\n    self.load_middleware()
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x]   
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 
40, in load_middleware\n    raise exceptions.ImproperlyConfigured, 'Error 
importing middleware %s: "%s"' % (mw_module, e)
[Thu Apr 30 11:58:39 2009] [error] [client x.x.x.x] ImproperlyConfigured: 
Error importing middleware djblets.siteconfig.middleware: "No module named 
djblets.siteconfig.middleware"
#1 frank******@gmai***** (Google Code) (Is this you? Claim this profile.)
It seems to be a problem with mismatching mod_python.
chipx86
#2 chipx86
Yeah, looks like perhaps Djblets wasn't installed for 2.6.

I should point out that right now, we don't officially support 2.6. Only 2.4 and 2.5.
That will change after 1.0.
chipx86
#3 chipx86
  • +Milestone-Release1.1
chipx86
#4 chipx86
Unit tests and my own personal testing seem to confirm that Review Board works with
Python 2.6, so I'm closing this.
  • +Fixed
  • -Priority-Medium
    +Priority-Critical