Re: PGadmi4 - Unable to set up dev environment

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Vaij Bharamshetty <vaijrb(at)gmail(dot)com>
Cc: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: PGadmi4 - Unable to set up dev environment
Date: 2023-02-06 06:05:14
Message-ID: CAM9w-_kAb_hbq8UssV6YdUCiZAWx649fBApkkWtFANV=Bod-PA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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 <vaijrb(at)gmail(dot)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(dot)toshniwal(at)enterprisedb(dot)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 <vaijrb(at)gmail(dot)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"

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2023-02-06 09:59:39 [pgadmin-org/pgadmin4] f3bb47: Fix an issue where drag and drop object names is n...
Previous Message rlbxku1r 2023-02-06 05:35:31 [pgadmin-org/pgadmin4] c2acaa: Update Japanese translation for v6.20