Currently we are migrating Reviewboard from centos 6 to Oracle linux 7.0 and the version of Reviewboard is 2.5.17.
-------------------------------------------------------------------------------------------------------------------------------------------------
[Wed Mar 24 14:48:57.638814 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] mod_wsgi (pid=19682): Exception occurred processing WSGI script '/var/www/rboard/htdocs/reviewboard.wsgi'.
[Wed Mar 24 14:48:57.638879 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] Traceback (most recent call last):
[Wed Mar 24 14:48:57.638905 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__
[Wed Mar 24 14:48:57.639036 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] self.load_middleware()
[Wed Mar 24 14:48:57.639048 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 45, in load_middleware
[Wed Mar 24 14:48:57.639183 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] mw_class = import_by_path(middleware_path)
[Wed Mar 24 14:48:57.639199 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_by_path
[Wed Mar 24 14:48:57.639260 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] sys.exc_info()[2])
[Wed Mar 24 14:48:57.639268 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, in import_by_path
[Wed Mar 24 14:48:57.639282 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] module = import_module(module_path)
[Wed Mar 24 14:48:57.639292 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
[Wed Mar 24 14:48:57.639336 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] __import__(name)
[Wed Mar 24 14:48:57.639363 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/reviewboard/admin/middleware.py", line 22, in <module>
[Wed Mar 24 14:48:57.639434 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] from reviewboard.admin.siteconfig import load_site_config
[Wed Mar 24 14:48:57.639442 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] File "/usr/lib/python2.7/site-packages/reviewboard/admin/siteconfig.py", line 44, in <module>
[Wed Mar 24 14:48:57.639557 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] from reviewboard.admin.checks import get_can_enable_search, \\
[Wed Mar 24 14:48:57.639576 2021] [:error] [pid 19682:tid 140463326873344] [client
10.76.51.92:52519] ImproperlyConfigured: Error importing module reviewboard.admin.middleware: "cannot import name get_can_enable_search"
-------------------------------------------------------------------------------------------------------------------------------------------