Hi Raghuveer,

There’s unfortunately not enough to go on to diagnose this. It sounds like
a bad Python environment (some wrong packages, perhaps).

How was Review Board set up on the new server? Can you give me a
step-by-step?

I also must point out that Review Board 2.5 is no longer maintained or
officially supported without a Premium Support contract. I’ll try to give
guidance if I think there’s a better way to move to the new server, though.

Christian


On Fri, Apr 9, 2021 at 06:52 Raghuveer Mudiraj <raghuveer.mudi...@gmail.com>
wrote:

> Any update on the abelow error:
>
> Thanks & Regards,
> M Raghuveer
>
>
> On Wednesday, March 24, 2021 at 8:43:30 PM UTC+5:30 Raghuveer Mudiraj
> wrote:
>
>> Hi,
>>
>> Currently we are migrating Reviewboard from centos 6 to Oracle linux 7.0
>> and the version of Reviewboard is 2.5.17.
>>
>> While making the reviewboard up, I am seeing the following errors:
>>
>>
>> -------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> [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"
>>
>>
>> -------------------------------------------------------------------------------------------------------------------------------------------
>> Can someone let me know what went wrong and how it should be resolved?
>>
>> Thanks & Regards,
>> M Raghuveer
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/38219a87-fafb-4ae8-821e-9376d60a4dc6n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/38219a87-fafb-4ae8-821e-9376d60a4dc6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vndm6Mm-mzrJ20Ey9Fv1Q0YVs11Qe%2BFXPPZx5EWNYGgV%2BgA%40mail.gmail.com.

Reply via email to