Hi Vaij,

You're using Flask 2.2.2. But the pgAdmin requirements say:

Flask==2.0.3; python_version <= '3.6'
Flask==2.1.*; python_version >= '3.7'

Please use pgAdmin requirements.txt to create venv.


On Mon, Feb 6, 2023 at 10:57 AM Vaij Bharamshetty <vai...@gmail.com> wrote:

> Hi Aditya,
>
> Thank you for reaching out.  Please find the attached output.
>
> Vaij
>
> On Mon, Feb 6, 2023 at 12:01 AM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>> Hi Vaij,
>>
>> Please share pip freeze output. Looks like some issue with Flask version.
>>
>> On Sun, Feb 5, 2023 at 10:00 AM Vaij Bharamshetty <vai...@gmail.com>
>> wrote:
>>
>>> Hi team,
>>>
>>> I am trying to set up dev. environment Rocky Linux 9. Despite repeated
>>> attempts, I am still getting the following errors and need help in
>>> fixing this.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Traceback (most recent call last):  File
>>> "/home/vaij/pgadmin4/web/setup.py", line 24, in <module>    import config
>>> File "/home/vaij/pgadmin4/web/config.py", line 25, in <module>    from
>>> pgadmin.utils import env, IS_WIN, fs_short_path  File
>>> "/home/vaij/pgadmin4/web/pgadmin/__init__.py", line 24, in <module>    from
>>> flask import Flask, abort, request, current_app, session, url_for  File
>>> "/home/vaij/pgadmin4/runtime/venv/lib64/python3.9/site-packages/flask/__init__.py",
>>> line 4, in <module>    from . import json as json  File
>>> "/home/vaij/pgadmin4/runtime/venv/lib64/python3.9/site-packages/flask/json/__init__.py",
>>> line 8, in <module>    from ..globals import current_app  File
>>> "/home/vaij/pgadmin4/runtime/venv/lib64/python3.9/site-packages/flask/globals.py",
>>> line 56, in <module>    app_ctx: "AppContext" = LocalProxy(  # type:
>>> ignore[assignment]TypeError: __init__() got an unexpected keyword argument
>>> 'unbound_message'*
>>>
>>> Please do the needful. I would like to join as a contributor.
>>>
>>> Thank you,
>>>
>>> Vaij
>>>
>>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>> <http://edbpostgres.com>
>> "Don't Complain about Heat, Plant a TREE"
>>
>

-- 
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

Reply via email to