Re: pgAdmin4 fatal error

Поиск
Список
Период
Сортировка
От Michaela Burrell
Тема Re: pgAdmin4 fatal error
Дата
Msg-id CAHU0OypvouKppv7GwCKe+B4cRXHKWB7tHk+n7XBdb2c5gC_bjA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgAdmin4 fatal error  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Список pgadmin-support
Hi Raul and Aditya,

Many thanks for looking into this for me.

I have uninstalled and installed again (newer version) and only have 1 pgAdmin installed now, thank you for flagging that.

This is the error message I receive:
Python Path: "C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe"
Runtime Config File: "C:\Users\micha\AppData\Roaming\pgadmin\runtime_config.json"
pgAdmin Config File: "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\config.py"
Webapp Path: "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py"
pgAdmin Command: "C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py"
Traceback (most recent call last):
  File "../web/pgAdmin4.py", line 98, in <module>
    app = create_app()
  File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin\__init__.py", line 347, in create_app
    if not os.path.exists(SQLITE_PATH) or get_version() == -1:
  File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin\setup\db_version.py", line 19, in get_version
    return version.value
AttributeError: 'NoneType' object has no attribute 'value'

Is this what you meant Raul? Apologies in case it's something else, I'm not very technical.

Many thanks again,
Michaela

On Tue, May 4, 2021 at 6:27 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Michaela,

I suspect you're using pgAdmin shipped with PostgeSQL 10 installer which is an older version. Please check if you have two pgAdmin installed - one which comes with PostgreSQL bundle (you can uninstall this) and another which you have separately downloaded and installed.

On Tue, May 4, 2021 at 9:53 AM Rahul Shirsat <rahul.shirsat@enterprisedb.com> wrote:
Hi Michaela,

Could you please share the log files generated at %APPDATA\Roaming\pgadmin\% by name pgadmin4<number>.log?

Also do share pgadmin4.startup file residing under %APPDATA%\AppData\Local ..

On Tue, May 4, 2021, 12:59 AM Michaela Burrell <michaela@datalorian.co.uk> wrote:
Hi,

I wonder if you could help please.

I'm doing an SQL training course and I'm struggling to open pgadmin.

I've been in contact with course provider but they've not been able to resolve my issue despite multiple email exchanges and I wonder if you might be able to help please?

I've downloaded  PostgreSQL (v10.16) from https://www.postgresql.org/download/ and then pgAdmin4 (v 5.1) as advised by the trainer.

However, when I open pgAdmin, I receive this message:
image.png

I;ve been advised to update my system settings (.i.e. Path in Environment Variables) to the following but it's not resolved the issue. I'd be most grateful if you could please help. 

image.png

Many thanks in advance,
Michaela


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Вложения

В списке pgadmin-support по дате отправления:

Предыдущее
От: Rahul Shirsat
Дата:
Сообщение: Re: Ubuntu install problem
Следующее
От: Fahar Abbas
Дата:
Сообщение: Re: pgAdmin4 fatal error