Hi,
I have installed Revieboard v5.0.2 and python v3.9 . I configured it with apache but while running URL on web, it is throwing Internal Server Error with below log:
Content in my reviewboard.wsgi is as below:
-----------------------------------------------------------------------------------------------
import __main__
__main__.__requires__ = ['ReviewBoard']
import pkg_resources
import os
os.environ['REVIEWBOARD_SITEDIR'] = '/var/www/reviewboard'
from reviewboard.wsgi import application
----------------------------------------------------------------------------------------------------
Error in apache log:
[wsgi:error] mod_wsgi Failed to exec Python script file '/var/www/html/reviewboard/htdocs/reviewboard.wsgi'.
[wsgi:error] mod_wsgi (pid=868397): Exception occurred processing WSGI script '/var/www/html/reviewboard/htdocs/reviewboard.wsgi'.
[wsgi:error] Traceback (most recent call last):
[wsgi:error] File "/var/www/html/reviewboard/htdocs/reviewboard.wsgi", line 9, in <module>
[wsgi:error] from reviewboard.wsgi import application
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/reviewboard/wsgi.py", line 33, in <module>
[wsgi:error] application = get_wsgi_application()
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
[wsgi:error] django.setup(set_prefix=False)
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/django/__init__.py", line 24, in setup
[wsgi:error] apps.populate(settings.INSTALLED_APPS)
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/django/apps/registry.py", line 122, in populate
[wsgi:error] app_config.ready()
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/reviewboard/accounts/apps.py", line 25, in ready
[wsgi:error] sso_backends.populate()
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/djblets/registries/registry.py", line 384, in populate
[wsgi:error] self.register(item)
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/reviewboard/accounts/sso/backends/registry.py", line 109, in register
[wsgi:error] sso_dynamic_urls.add_patterns(dynamic_urls)
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/djblets/urls/resolvers.py", line 79, in add_patterns
[wsgi:error] self._repopulate_caches()
[wsgi:error] File "/usr/local/lib/python3.9/site-packages/djblets/urls/resolvers.py", line 107, in _repopulate_caches