config_distro.py missing in pgadmin4 v4.12 - Mailing list pgadmin-support

From Ron.Wildt
Subject config_distro.py missing in pgadmin4 v4.12
Date
Msg-id 4E3F1D82-FC12-4FE4-A9F8-F3C80525A305@contoso.com
Whole thread Raw
Responses Re: config_distro.py missing in pgadmin4 v4.12  (Dave Page <dpage@pgadmin.org>)
List pgadmin-support

Pgadmin Support,

 

I’m compiling the docker container using the included Dockerfile in the github repo on https://github.com/postgres/pgadmin4 and I ran into 2 issues when using the pgadmin4 repo and couldn’t find anything on them in the online support, documentation, etc. so I’m hopeful this is the right path to find out more and how to address:

 

  1. I had to fully qualify the location of files requiring copying in the below section of the Dockerfile to compile correctly (error shown below):

 

 

# original section

# Copy the code

# COPY ./pgadmin4/web /pgadmin4

# COPY ./run_pgadmin.py /pgadmin4

# COPY ./config_distro.py /pgadmin4

# COPY ./entrypoint.sh /entrypoint.sh

 

# Copy the code

# Added path to file location for compilation (COPY ./pgadmin4/pkg/docker/...)

COPY ./pgadmin4/web /pgadmin4

COPY ./pgadmin4/pkg/docker/run_pgadmin.py /pgadmin4

COPY ./pgadmin4/pkg/docker/config_distro.py /pgadmin4

COPY ./pgadmin4/pkg/docker/entrypoint.sh /entrypoint.sh

 

After altering the above, I was able to get past this issue, fyi

 

  1. Missing config_distro.py file, see error message below:

 

 

After copying config_distro.py from v4.10, I was able to successfully compile the Docker container, execute and connect to Postgres instances without issue, fyi.

 

If this is not the proper venue, please let me know how to have the team there address this properly, thank you! 😊

 

Have a great day!

Thanks,

Ron

 

Ron Wildt | Lead Engineer | Data Sciences Platform Engineering | 612.304.8592 | ¤Target | 33 South 6th Street, Mpls, MN  55402

Slack:  #datasciences-infra 

 

 

Attachment

pgadmin-support by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: Re: Re: Negative values for obj_id: SELECT statements throwingerrors in query editor
Next
From: Petr Fedorov
Date:
Subject: Is it possible to switch off 'Waiting for the query to complete..."?screen saver ?