Re: PGadmi4 - Unable to set up dev environment

2023-02-12 Thread Vaij Bharamshetty
I was able to get through the issue after installing this on a new VM. Thank you for your help. Vaij On Wed, Feb 8, 2023 at 10:10 AM Vaij Bharamshetty wrote: > Hi Aditya. > > I am using requirements.txt within the pgadmin4 directory. Attaching here > for your reference. > > Vaij > > > On Wed,

Re: PGadmi4 - Unable to set up dev environment

2023-02-08 Thread Vaij Bharamshetty
Hi Aditya. I am using requirements.txt within the pgadmin4 directory. Attaching here for your reference. Vaij On Wed, Feb 8, 2023 at 1:47 AM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi Vaij, > > Which requirements are you installing? If you're installing the correct > one

Re: PGadmi4 - Unable to set up dev environment

2023-02-07 Thread Aditya Toshniwal
Hi Vaij, Which requirements are you installing? If you're installing the correct one then you will not face any issue. I have already shared the requirements, it has Flask-SocketIO as well. On Wed, Feb 8, 2023 at 10:46 AM Vaij Bharamshetty wrote: > Hi Aditya, > > Would it be possible to assist

Re: PGadmi4 - Unable to set up dev environment

2023-02-07 Thread Vaij Bharamshetty
Hi Aditya, Would it be possible to assist me in real time by sharing my screen? I got a module not found for "Flask-SocketIO" and a few others, and after installing them looks like many others are getting updated hence their versions are different than in requirement.txt. Thank you, Vaij On T

Re: PGadmi4 - Unable to set up dev environment

2023-02-06 Thread Aditya Toshniwal
Hi Vaij, I am not sure from where are you getting the incorrect versions required but you're using - Flask-SQLAlchemy==3.0.3 but pgAdmin requirements clearly has - Flask-SQLAlchemy==2.5.* I suggest, deleting the venv completely and reinstalling using pgAdmin requirements.txt On Tue, Feb 7, 2023 a

Re: PGadmi4 - Unable to set up dev environment

2023-02-06 Thread Vaij Bharamshetty
Thank you Aditya. I tried creating from the pgadmin4 directory, but now I get a different error message. *(venv) [vaij@rocky4 pgadmin4]$ python3 $PGADMIN4_SRC/web/setup.py*Traceback (most recent call last): File "/home/vaij/pgadmin4/web/setup.py", line 24, in import config File "/home/v

Re: PGadmi4 - Unable to set up dev environment

2023-02-06 Thread Aditya Toshniwal
Hi Vaij, You're using requirements.txt from the runtime directory. There is no such file in the runtime directory. The correct requirements.txt reside in the pgadmin home directory which has below content. Please create the venv using the correct requirements.txt file. Flask==2.0.3; python_versio

Re: PGadmi4 - Unable to set up dev environment

2023-02-06 Thread Vaij Bharamshetty
Thank you Aditya, appreciate your help. I still face issues detailed as below, *-- Python Version*(venv) [vaij@rocky4 runtime]$ python -V Python 3.9.14 *-- Clean up existing Packages*pip freeze | xargs pip uninstall -y *-- Install from Requirements*(venv) [vaij@rocky4 runtime]$ pip install -r

Re: PGadmi4 - Unable to set up dev environment

2023-02-05 Thread Aditya Toshniwal
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 wrote: > Hi Aditya, > > Thank you for reachin

Re: PGadmi4 - Unable to set up dev environment

2023-02-05 Thread Vaij Bharamshetty
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

Re: PGadmi4 - Unable to set up dev environment

2023-02-05 Thread Aditya Toshniwal
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 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

PGadmi4 - Unable to set up dev environment

2023-02-04 Thread Vaij Bharamshetty
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 import config File "/home/vaij