Re: 500 Internal Server Error

From: GregS <greg(dot)swidnia(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: 500 Internal Server Error
Date: 2018-03-22 17:26:48
Message-ID: 1521739608696-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

very often it is a result of database messages converting problems. They
seem to be related to ASCII to Unicode conversion for languages and codesets
other than English, and this may be related to Python 2 which under pgAdmin4
(default at least on the Windows platforms).

If so, your transaction is broken, and until you invoke ROLLBACK
explicitely, you will get the error 500 because this situation generates
another message which cannot be converted similarly.

You may try to change yout lc_messages (error messages) to English either
for a current session:

set lc_messages to 'English_United States.UTF-8'

or persistently for the whole instance:

1. $datadir\postgresql.conf: lc_messages = 'English.United States.UTF-8'
2. select pg_reload_conf();

It looks that 'English_United States.UTF-8' is Windows-bound and
'en_US.utf8' is for Linux.

I hope it will help.

Kind regards,
Greg

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Patrick Headley 2018-03-26 00:38:22 Re: How to copy the graphical display of a plan?
Previous Message Basques, Bob (CI-StPaul) 2018-03-21 21:36:30 Been running PGAdmin4(2.1) for a couple of days now.