From: | Alexey Murz Korepov <murznn(at)gmail(dot)com> |
---|---|
To: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | Can't launch setup.py in Docker image - module named 'flask' |
Date: | 2021-12-10 08:22:55 |
Message-ID: | CAL5pyKuYcR6Ay4a+mnT_RbyHQeqbpr=Ej6D-gzxYQC3g+st4GA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers pgadmin-support |
I'm trying to debug why the server settings are not applied from the
/pgadmin4/servers.json file in Docker container (with clean
/var/lib/pgadmin directory), via manually launch this process:
python3 /pgadmin4/setup.py --load-servers /pgadmin4/servers.json
but got the error:
---
Traceback (most recent call last):
File "/pgadmin4/setup.py", line 33, in <module>
from pgadmin.model import db, User, Version, ServerGroup, Server, \
File "/pgadmin4/pgadmin/__init__.py", line 23, in <module>
from flask import Flask, abort, request, current_app, session, url_for
ModuleNotFoundError: No module named 'flask'
---
So, if it can't be launched manually, it must fail on automatic servers
import process too?
Is this a missing package in Docker image, or some misconfiguration?
And is there any other ways to debug the applying servers.json process?
--
Best regards,
Alexey Murz Korepov.
E-mail: murznn(at)gmail(dot)com
Messengers: Matrix - https://matrix.to/#/@murz:ru-matrix.org Telegram -
@MurzNN
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2021-12-10 14:25:39 | pgAdmin 4 commit: Update message catalogs. |
Previous Message | zhangjie2@fujitsu.com | 2021-12-10 06:56:17 | [pgAdmin4][patch] fix a typo in import_export_servers.rst |
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2021-12-10 14:56:34 | Re: Iam facing Fatal Error Pg-Admin server could not contacted |
Previous Message | priscy | 2021-12-09 15:36:35 | Iam facing Fatal Error Pg-Admin server could not contacted |