Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jerome Leclanche (Adys)
Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 15
Private No

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
Comment by Andy Care (acare1976) - Wednesday, 08 August 2018, 20:52 GMT
Suffering the exact same issue after the recent Python 3.7 upgrade, present under both Wayland and XWindows
Comment by Dimitar Petrovski (dime) - Tuesday, 14 August 2018, 07:52 GMT
According to pgAdmin4 documentation
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
Comment by Levente Polyak (anthraxx) - Tuesday, 14 August 2018, 11:46 GMT
they stopped shipping upstream siganture, I'm trying to reach them through multiple ways. Before getting signatures again or an official answer I can't upstrade by removing signatures, that would be a bad idea security wise. I'm sorry it currently doesn't work, hopefully I get a response very soon.
Comment by Nicola (drakkan) - Thursday, 16 August 2018, 10:40 GMT
If you don't care about missing signature you can use the package here

https://aur.archlinux.org/packages/pgadmin4-systray-fix/

as temporary workaround
Comment by Mark Sievers (marksievers) - Wednesday, 22 August 2018, 21:09 GMT Comment by Pau (prodrigestivill) - Wednesday, 29 August 2018, 18:34 GMT
Still failing with:
* 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)
```
Comment by Flo (trourance) - Wednesday, 19 September 2018, 15:15 GMT
Similar problem with pgadmin 3.3-1, but Python path is empty.

```
$ 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.
Comment by Levente Polyak (anthraxx) - Tuesday, 25 September 2018, 22:32 GMT
if there are wrong entries in ~/.config/pgadmin/pgadmin4.conf its an upstream issue
latest version works fine here

Loading...