Re: pgAdmin4 won't start after OS upgrade

From: Ray O'Donnell <ray(at)rodonnell(dot)ie>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: pgAdmin4 won't start after OS upgrade
Date: 2020-09-02 12:11:24
Message-ID: d905a9e7-8ad7-6f51-3dbf-9af445df7d99@rodonnell.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 02/09/2020 08:50, Dave Page wrote:
>
>
> On Tue, Sep 1, 2020 at 5:28 PM Ray O'Donnell <ray(at)rodonnell(dot)ie
> <mailto:ray(at)rodonnell(dot)ie>> wrote:

<snip>

> One thing caught my eye: the Python path in the above output includes
> both Python 3.5 and 3.7 stuff... Any thoughts?
>
>
> Hmm, yeah - looks like you may have a Python installation in
> /home/rod/.local/lib/python3.5 that got into the path?
>
> Try temporarily moving it out of the way and see if that helps. Also,
> check in ~/.config/pgadmin/pgadmin4.conf to see if there's a PythonPath
> key that's confusing things.

That sorted it! I renamed /home/rod/.local/lib/python3.5, and pgAdmin
was then able to start.

I looked into ~/.config/pgadmin/pgadmin4.conf as you suggested, and
there is indeed a PythonPath line:

PythonPath="/home/rod/.local/lib/python3.5;/home/rod/.local/lib/python3.5/site-packages"

Can I safely delete this line?

I think the Python 3.5 installation is cruft from historical
installations of pgAdmin4, before the deb packages became available...
I'll leave it there for the moment, and if nothing else breaks I'll
eventually delete it.

Thanks a million for your help!

Ray.

--
Raymond O'Donnell // Galway // Ireland
ray(at)rodonnell(dot)ie

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2020-09-02 12:27:34 Re: pgAdmin4 won't start after OS upgrade
Previous Message androxkentaki 2020-09-02 11:54:41 Query editor lagging in 4.25