Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2364 by WSGI exception

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?
ReviewBoard 1.6.1
Apache and mod_wsgi
Python 2.6.5

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Attempt to install on Ubuntu 10.04.3

This appears to be some kind of Django or mod_wsgi issue, but I've tried re-installing with no luck. The only questionable part of the installation seemed to be the install of pycrypto -- I started with version 2.3, but then dropped back down to 2.1 after seeing that users had issues with newer versions.

What is the expected output? What do you see instead?
Initial screen displays "Review Board is taking a nap" message.

What operating system are you using? What browser?
Ubuntu 10.04.3
IE 8 browser

Please provide any additional information below.

Apache error log:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0 [Wed Nov 02 09:21:27 2011] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Nov 02 09:21:27 2011] [notice] mod_python: using mutex_directory /tmp
[Wed Nov 02 09:21:27 2011] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.10 with Suhosin-Patch mod_python/3.3.1 Python/2.6.5 mod_wsgi/2.8 configured -- resuming normal operations [Wed Nov 02 08:21:33 2011] [error] /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.1-py2.6.egg/reviewboard/accounts/ UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/, but /usr/lib/pymodules/python2.6 is being added to sys.path
[Wed Nov 02 08:21:33 2011] [error]   import pkg_resources
[Wed Nov 02 08:21:33 2011] [error] [client] mod_wsgi (pid=16009): Exception occurred processing WSGI script '/var/www/'. [Wed Nov 02 08:21:33 2011] [error] [client] Traceback (most recent call last): [Wed Nov 02 08:21:33 2011] [error] [client] File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/handlers/", line 250, in __call__ [Wed Nov 02 08:21:33 2011] [error] [client] self.load_middleware() [Wed Nov 02 08:21:33 2011] [error] [client] File "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/handlers/", line 47, in load_middleware [Wed Nov 02 08:21:33 2011] [error] [client] raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e)) [Wed Nov 02 08:21:33 2011] [error] [client] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: "cannot import name Random"

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to