FS#59575 - [pgadmin4] Unable to start after python and pgadmin update
Attached to Project:
Community Packages
Opened by Dinho (DInho) - Wednesday, 08 August 2018, 16:40 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 25 September 2018, 22:33 GMT
Opened by Dinho (DInho) - Wednesday, 08 August 2018, 16:40 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 25 September 2018, 22:33 GMT
|
Details
Description: Unable to start pgadmin4 after python and
pgadmin update in 08/08/2018
Additional info: Python path: "/usr/lib/pgadmin4/venv/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages:/usr/lib/python3.7" application Path: "null" Python Home: "/usr/lib/pgadmin4/venv" Webapp path: "/usr/lib/pgadmin4/web/pgAdmin4.py" An error occurred initializing the application server: %1 |
This task depends upon
Closed by Levente Polyak (anthraxx)
Tuesday, 25 September 2018, 22:33 GMT
Reason for closing: Fixed
Additional comments about closing: 3.3-1
Tuesday, 25 September 2018, 22:33 GMT
Reason for closing: Fixed
Additional comments about closing: 3.3-1
https://www.pgadmin.org/docs/pgadmin4/dev/release_notes_3_2.html
version 3.2 adds support for python 3.7, so the version has to be upgraded
https://aur.archlinux.org/packages/pgadmin4-systray-fix/
as temporary workaround
* pgadmin4 3.2-1
* python 3.7.0-3
* xfwm4 4.12.4-10
* export LANG="en_US.UTF-8"
```
$ pgadmin4
Python path: "/usr/lib/pgadmin4/venv/lib/python3.6/site-packages:/usr/lib/python3.6/site-packages:/usr/lib/python3.6"
Python Home: "/usr/lib/pgadmin4/venv"
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f6e5a5ddc80 (most recent call first):
Aborted (core dumped)
```
```
$ pgadmin4
Python path: ""
Python Home: "/usr/lib/pgadmin4/venv"
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fafb41bbc80 (most recent call first):
Abandon (core dumped)
```
Removing .config/pgadmin/pgadmin4.conf before running pgadmin4 again fixes the problem.
latest version works fine here