You are not logged in.

#1 2017-07-15 20:40:10

bismarck
Member
Registered: 2017-05-09
Posts: 2

pgadmin4 crashes on launch

Hey, I've been using pgadmin4 to manage my postgres databases for a while, but ever since I reinstalled arch pgadmin4 has been crashing everytime it starts with this error:

Python path:  ""
Python Home:  "/usr/lib/pgadmin4/venv"
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007ff0be55c880 (most recent call first):
[1]    11680 abort (core dumped)  pgadmin4

I've tried reinstalling it, and deleting the venv directory and restarting pgadmin4, but it still crashes, the web version however, works perfectly fine, but it's rather annoying to use.

Offline

#2 2017-07-15 20:50:40

rollenwiese
Member
Registered: 2008-02-24
Posts: 69

Re: pgadmin4 crashes on launch

I have opened a bug report for the package, but out of curiosity does pgadmin4 work for anyone else after the upgrade to 1.6?

I'm simply presented with this error, on both of my machines:

[gregory@seneca ~]$ pgadmin4
Python path: ""
Python Home: "/usr/lib/pgadmin4/venv"
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fe033a52880 (most recent call first):
Aborted (core dumped)

Offline

#3 2017-07-15 21:09:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pgadmin4 crashes on launch

Merging with the other thread...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-07-16 10:07:29

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: pgadmin4 crashes on launch

For now a downgrade works.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2017-07-19 01:13:11

welkie
Member
Registered: 2017-05-07
Posts: 17

Re: pgadmin4 crashes on launch

Just confirming that I'm also getting the issue. I do remember the version before this one worked for me.

$ pgadmin4
Python path:  ""
Python Home:  "/usr/lib/pgadmin4/venv"
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fdbab795880 (most recent call first):
Aborted (core dumped)

Offline

Board footer

Powered by FluxBB