Re: PgAdmin 4.28 doesn't work

2020-11-16 Thread Anthony DeBarros
Hi,

On Mon, Nov 16, 2020 at 4:10 AM Dave Page  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.


Re: PgAdmin 4.28 doesn't work

2020-11-16 Thread Dave Page
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.toshni...@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.toshni...@enterprisedb.com> wrote:
>
>> Hi Anthony,
>>
>> On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <
>> anthonymdebar...@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.jo...@enterprisedb.com> wrote:
>>>
 Hi Yaroslav

 Please look into https://www.pgadmin.org/faq/#12

 On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <
 yaroslav.novichi...@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

2020-11-16 Thread Dave Page
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  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.toshni...@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.toshni...@enterprisedb.com> wrote:
>>
>>> Hi Anthony,
>>>
>>> On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <
>>> anthonymdebar...@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.jo...@enterprisedb.com> wrote:

> Hi Yaroslav
>
> Please look into https://www.pgadmin.org/faq/#12
>
> On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <
> yaroslav.novichi...@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

2020-11-15 Thread Aditya Toshniwal
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.toshni...@enterprisedb.com> wrote:

> Hi Anthony,
>
> On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros <
> anthonymdebar...@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.jo...@enterprisedb.com> wrote:
>>
>>> Hi Yaroslav
>>>
>>> Please look into https://www.pgadmin.org/faq/#12
>>>
>>> On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <
>>> yaroslav.novichi...@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

2020-11-15 Thread Aditya Toshniwal
Hi Anthony,

On Mon, Nov 16, 2020 at 1:40 AM Anthony DeBarros 
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.jo...@enterprisedb.com> wrote:
>
>> Hi Yaroslav
>>
>> Please look into https://www.pgadmin.org/faq/#12
>>
>> On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <
>> yaroslav.novichi...@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

2020-11-15 Thread Anthony DeBarros
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 
wrote:

> Hi Yaroslav
>
> Please look into https://www.pgadmin.org/faq/#12
>
> On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <
> yaroslav.novichi...@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

2020-11-14 Thread Akshay Joshi
Hi Yaroslav

Please look into https://www.pgadmin.org/faq/#12

On Sat, 14 Nov, 2020, 6:51 pm Yaroslav Novichihin, <
yaroslav.novichi...@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?
>