Results 1 to 2 of 2

Thread: Export Server fails with missing dll

Threaded View

  1. #2
    Join Date
    Dec 2021
    Posts
    4
    I'm not sure where the problem lies, but I tried running from command line - /path/to/python /path/to/setup.py --dump-servers output_file.json and it gave me the same message several times, but nevertheless outputted the file correctly...
    ----------
    Dumping servers with:
    User: pgadmin4@pgadmin.org
    SQLite pgAdmin config: C:\Users\JohnDoe\AppData\Roaming\pgAdmin\pgadmin4. db
    ----------
    Configuration for 2 servers dumped to C:\3dCityDB\pgAdmin4\bin\servers.json.


    Output :
    {
    "Servers": {
    "1": {
    "Name": "PostgreSQL 14",
    "Group": "Servers",
    "Host": "***********",
    "Port": ****,
    "MaintenanceDB": "************",
    "Username": "**************",
    "SSLMode": "prefer",
    "Comment": "Auto-detected PostgreSQL 14 installation with the data directory at *************"
    },
    "2": {
    "Name": "3DCityDB",
    "Group": "Servers",
    "Host": "***********",
    "HostAddr": "***********",
    "Port": ****,
    "MaintenanceDB": "************",
    "Username": "**************",
    "SSLMode": "prefer",
    "Comment": "Main City3D Database",
    "PassFile": "******************",
    "SSLCompression": 0,
    "Timeout": 10,
    "UseSSHTunnel": 0,
    "TunnelPort": "***",
    "TunnelAuthentication": 0
    }
    }
    }


    Which is different to the previous fail.
    {
    "Servers": {}
    }


    So it seems I will have to use command line, since the gui does not work. Edit: Actually, I forgot I had used the command line in the first place.
    I was going to try reinstalling pgAdmin, However, I'm not sure anything will change.
    There is talk pgAdmin is broken, and it looks that way.
    I had to set up my database, and user from the command line, using the psql command, since pgAdmin was not helping me set users password.

    At least it's good to know success is still possible.
    Last edited by Jillinger; 12-13-2021 at 08:43 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •