Your version of the ldap module needs to be upgraded. Try installing the “ReviewBoard[ldap]” package (using the same installation method, pip or easy_install, that you used to install Review Board).
Christian On Sat, Jun 26, 2021 at 10:40 harish.va...@gmail.com < harish.varadara...@gmail.com> wrote: > Hi All, > > we are getting the below error with LDAP (per httpd error_log) post > upgrade to RB 4.0.2 and site upgrade. > > [Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError: > initialize() got an unexpected keyword argument 'bytes_mode' > [Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26 > 17:36:20,653 - ERROR - - reviewboard.accounts.backends.ldap - Unexpected > error occurred while authenticating with LDAP: initialize() got an > unexpected keyword argument 'bytes_mode' > [Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most > recent call last): > [Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262] File > "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py", > line 339, in _connect > [Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262] > bytes_mode=False) > [Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError: > initialize() got an unexpected keyword argument 'bytes_mode' > > Any idea on how to fix this. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "reviewboard-issues" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard-issues+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard-issues/b8110876-e025-4aa3-b7aa-ecd6ff7d66acn%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard-issues/b8110876-e025-4aa3-b7aa-ecd6ff7d66acn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- Christian Hammond President/CEO of Beanbag Makers of Review Board -- You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard-issues/CAE7Vnd%3D87%3DXqCZe6zbSicEG1Y2%2BgddNtH8i%2BekJzX%2BpZdz0%2B8Q%40mail.gmail.com.