ERROR: Attempting to Install the pgAdmin 4 Web Interface on CentOS 7 - Mailing list pgsql-bugs

From Burgess, Freddie
Subject ERROR: Attempting to Install the pgAdmin 4 Web Interface on CentOS 7
Date
Msg-id CY1P110MB0552BEF9E910B3739D11ABF7E6860@CY1P110MB0552.NAMP110.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: ERROR: Attempting to Install the pgAdmin 4 Web Interface onCentOS 7
List pgsql-bugs
[root@pgdb-0 python3.6]# uname -a
Linux pgdb-0 3.10.0-1127.8.2.el7.x86_64 #1 SMP Tue May 12 16:57:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@pgdb-0 python3.6]# python /usr/lib/python3.6/site-packages/pgadmin4-web/setup.py
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/setup.py", line 409, in <module>
    setup_db()
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/setup.py", line 343, in setup_db
    app = create_app()
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/__init__.py", line 397, in create_app
    driver.init_app(app)
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/utils/driver/__init__.py", line 40, in init_app
    DriverRegistry.load_drivers()
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/utils/driver/registry.py", line 88, in load_drivers
    module = import_module(module_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/utils/driver/psycopg2/__init__.py", line 27, in <module>
    from .connection import Connection
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/utils/driver/psycopg2/connection.py", line 38, in <module>
    from pgadmin.utils import csv
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/utils/csv.py", line 651, in <module>
    register_dialect("excel", excel)
  File "/usr/lib/python3.6/site-packages/pgadmin4-web/pgadmin/utils/csv.py", line 486, in register_dialect
    raise TypeError('"name" must be a string')
TypeError: "name" must be a string

Does anyone know of a workaround?

Thanks

Freddie

pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Potential G2-item cycles under serializable isolation
Next
From: "David G. Johnston"
Date:
Subject: Re: ERROR: Attempting to Install the pgAdmin 4 Web Interface onCentOS 7