From: | "Lazaro Garcia" <lazaro3487(at)gmail(dot)com> |
---|---|
To: | "'Murtuza Zabuawala'" <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
Cc: | "'pgAdmin Support'" <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: UnicodeDecodeError: 'utf8' codec can't decode byte 0xc1 in position 0: invalid start byte |
Date: | 2017-04-18 15:24:18 |
Message-ID: | 002501d2b857$d9c4bae0$8d4e30a0$@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Pgadmin4-1.4
Ubuntu 16.04
PostgreSQL 9.6.2
Pgadmin is runing in web mode with apache.
After installing the python's libraries ( requirements.txt ) with the packages versions specified, the error disappeared.
Regards.
De: Murtuza Zabuawala [mailto:murtuza(dot)zabuawala(at)enterprisedb(dot)com]
Enviado el: martes, 18 de abril de 2017 01:38 a. m.
Para: Lazaro Garcia
CC: pgAdmin Support
Asunto: Re: [pgadmin-support] UnicodeDecodeError: 'utf8' codec can't decode byte 0xc1 in position 0: invalid start byte
This error means that your username/password contains non-ascii characters which pgAdmin4 not able to encode/decode.
Could you provide steps to re-produce this issue and also information like pgAdmin4 version, OS version, Postgres version, are you running pgAdmin4 in Desktop mode or Web mode ?
--
Regards,
Murtuza Zabuawala
EnterpriseDB: <http://www.enterprisedb.com/> http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Tue, Apr 18, 2017 at 2:36 AM, Lazaro Garcia < <mailto:lazaro3487(at)gmail(dot)com> lazaro3487(at)gmail(dot)com> wrote:
Hello everyone, what this error means?
Regards.
[Mon Apr 17 16:55:02.106778 2017] [wsgi:error] [pid 53356] Traceback (most recent call last):
[Mon Apr 17 16:55:02.106782 2017] [wsgi:error] [pid 53356] File "/var/www/vhost/pgadmin4/web/pgadmin/utils/driver/psycopg2/__init__.py", line 279, in connect
[Mon Apr 17 16:55:02.106785 2017] [wsgi:error] [pid 53356] password = password.decode('utf-8').encode('utf-8')
[Mon Apr 17 16:55:02.106787 2017] [wsgi:error] [pid 53356] File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
[Mon Apr 17 16:55:02.106790 2017] [wsgi:error] [pid 53356] return codecs.utf_8_decode(input, errors, True)
[Mon Apr 17 16:55:02.106793 2017] [wsgi:error] [pid 53356] UnicodeDecodeError: 'utf8' codec can't decode byte 0xc1 in position 0: invalid start byte
From | Date | Subject | |
---|---|---|---|
Next Message | Campbell, Lance | 2017-04-19 13:42:16 | pgadmin4-1.4 |
Previous Message | Lazaro Garcia | 2017-04-18 15:13:29 | Is there any way to close the pgadmin session after any time? |