Looks like it's trying to access something from the MySQLdb module that
isn't available on your install.

Can you run the following and show the results:

    pip3.9 list | grep -i mysql

Christian

On Tue, Dec 14, 2021 at 11:26 AM Shubha Ramani <[email protected]>
wrote:

> I am using RHEL 8 (8.5)
> Unfortunately a very old mysql db server 5.7.18 MySQL Community Server
> Had to change the /etc/openssl.conf to handle TLS version 1.0
> ReviewBoard-4.0.4-venv/bin/rb-site install succeeded.
>
> I'm getting:
> Something broke! (Error 500)
>
> It appears something broke when you tried to go to here. This is either a
> bug in Review Board or a server configuration error. Please report this to
> your administrator.
> However
>  ReviewBoard-4.0.4-venv/bin/rb-site /webapp/reviewboard/site_prod/
> list-siteconfig
> produces:
>   File
> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/models/sql/compiler.py",
> line 887, in execute_sql
>     cursor = self.connection.cursor()
>   File
> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
> line 254, in cursor
>     return self._cursor()
>   File
> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
> line 229, in _cursor
>     self.ensure_connection()
>   File
> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
> line 213, in ensure_connection
>     self.connect()
>   File
> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
> line 189, in connect
>     self.connection = self.get_new_connection(conn_params)
>   File
> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/mysql/base.py",
> line 276, in get_new_connection
>     conn.encoders[SafeBytes] = conn.encoders[bytes]
> KeyError: <class 'bytes'>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/7029df4f-6442-41c6-88ef-24ddf28c83een%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/7029df4f-6442-41c6-88ef-24ddf28c83een%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3DLy6ZMd68qmi1BKCCtFH4ZDP8A2v2eXtEskuk_Fnqm5A%40mail.gmail.com.

Reply via email to