Thread: PgAdmin 4.28 doesn't work

PgAdmin 4.28 doesn't work

From
Yaroslav Novichihin
Date:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?
Attachment

Re: PgAdmin 4.28 doesn't work

From
Akshay Joshi
Date:
Hi Yaroslav


On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <yaroslav.novichihin@gmail.com> wrote:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?

Re: PgAdmin 4.28 doesn't work

From
Anthony DeBarros
Date:
Hi,

Are you guys looking into a fix for this issue that will not require Windows users to edit their registry keys? That won't fly with most of the beginners I run across.

Thanks,
Anthony DeBarros

On Sat, Nov 14, 2020 at 10:09 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Yaroslav


On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <yaroslav.novichihin@gmail.com> wrote:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?

Re: PgAdmin 4.28 doesn't work

From
Aditya Toshniwal
Date:
Hi Anthony,

On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <anthonymdebarros@gmail.com> wrote:
Hi,

Are you guys looking into a fix for this issue that will not require Windows users to edit their registry keys? That won't fly with most of the beginners I run across.
This is not a pgAdmin issue. We cannot just patch and hack pgadmin code to overcome issues caused by other installers. pgAdmin works completely fine on all other OS's. Plus, not all windows users are facing this issue. The registry is corrupted, and users need to check it.

Thanks,
Anthony DeBarros

On Sat, Nov 14, 2020 at 10:09 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Yaroslav


On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <yaroslav.novichihin@gmail.com> wrote:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"

Re: PgAdmin 4.28 doesn't work

From
Aditya Toshniwal
Date:
Anthony,
There is one hack though,
Add this to your config_distro.py file in the pgAdmin installed directory (https://www.pgadmin.org/docs/pgadmin4/4.28/config_py.html)
import mimetypes
mimetypes.add_type('text/javascript', '.js')

On Mon, Nov 16, 2020 at 9:59 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Anthony,

On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <anthonymdebarros@gmail.com> wrote:
Hi,

Are you guys looking into a fix for this issue that will not require Windows users to edit their registry keys? That won't fly with most of the beginners I run across.
This is not a pgAdmin issue. We cannot just patch and hack pgadmin code to overcome issues caused by other installers. pgAdmin works completely fine on all other OS's. Plus, not all windows users are facing this issue. The registry is corrupted, and users need to check it.

Thanks,
Anthony DeBarros

On Sat, Nov 14, 2020 at 10:09 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Yaroslav


On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <yaroslav.novichihin@gmail.com> wrote:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"

Re: PgAdmin 4.28 doesn't work

From
Dave Page
Date:
Yeah, I think that may be the best workaround for us. I'm hesitant to try to have the installer automatically "fix" the registry (which won't work of course, if whatever messed it up later does it again).

On Mon, Nov 16, 2020 at 4:46 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Anthony,
There is one hack though,
Add this to your config_distro.py file in the pgAdmin installed directory (https://www.pgadmin.org/docs/pgadmin4/4.28/config_py.html)
import mimetypes
mimetypes.add_type('text/javascript', '.js')

On Mon, Nov 16, 2020 at 9:59 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Anthony,

On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <anthonymdebarros@gmail.com> wrote:
Hi,

Are you guys looking into a fix for this issue that will not require Windows users to edit their registry keys? That won't fly with most of the beginners I run across.
This is not a pgAdmin issue. We cannot just patch and hack pgadmin code to overcome issues caused by other installers. pgAdmin works completely fine on all other OS's. Plus, not all windows users are facing this issue. The registry is corrupted, and users need to check it.

Thanks,
Anthony DeBarros

On Sat, Nov 14, 2020 at 10:09 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Yaroslav


On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <yaroslav.novichihin@gmail.com> wrote:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

Re: PgAdmin 4.28 doesn't work

From
Dave Page
Date:
Should have added - we're looking at building that into the code, so users don't have to do it themselves.

On Mon, Nov 16, 2020 at 9:09 AM Dave Page <dpage@pgadmin.org> wrote:
Yeah, I think that may be the best workaround for us. I'm hesitant to try to have the installer automatically "fix" the registry (which won't work of course, if whatever messed it up later does it again).

On Mon, Nov 16, 2020 at 4:46 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Anthony,
There is one hack though,
Add this to your config_distro.py file in the pgAdmin installed directory (https://www.pgadmin.org/docs/pgadmin4/4.28/config_py.html)
import mimetypes
mimetypes.add_type('text/javascript', '.js')

On Mon, Nov 16, 2020 at 9:59 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Anthony,

On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <anthonymdebarros@gmail.com> wrote:
Hi,

Are you guys looking into a fix for this issue that will not require Windows users to edit their registry keys? That won't fly with most of the beginners I run across.
This is not a pgAdmin issue. We cannot just patch and hack pgadmin code to overcome issues caused by other installers. pgAdmin works completely fine on all other OS's. Plus, not all windows users are facing this issue. The registry is corrupted, and users need to check it.

Thanks,
Anthony DeBarros

On Sat, Nov 14, 2020 at 10:09 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Yaroslav


On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <yaroslav.novichihin@gmail.com> wrote:
Hello.

I've updated PgAdmin from 4.27 to 4.28 (x64) and it doesn't work. After launching the server I see the following error (see screenshot in attachments). My browser is MS Edge (WebKit), but it doesn't work also in Chrome and Firefox.

Tell me, pls, how Can I fix this error?


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

Re: PgAdmin 4.28 doesn't work

From
Anthony DeBarros
Date:
Hi,

On Mon, Nov 16, 2020 at 4:10 AM Dave Page <dpage@pgadmin.org> wrote:
Should have added - we're looking at building that into the code, so users don't have to do it themselves.


Relieved to hear that, and thank you. In the course of fielding reader questions for my book Practical SQL over the last two years, 99% of the people I hear from who are having trouble with PostgreSQL, psql, or pgAdmin are running Windows. They're a sizable contingent and often less oriented towards understanding the innards of their systems, or even Googling for answers.