Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem executing pgAdmin4
Date: Tue, 06 Nov 2018 00:00:16
Message-Id: 2QKYOCC6.QRD5C4CM.TECVBCIK@5MBU7TB4.HF42V67P.VE7MGJA4
In Reply to: [gentoo-user] Problem executing pgAdmin4 by Petric Frank
1 On 2018.11.05 14:21, Petric Frank wrote:
2 > Hello,
3 >
4 > pgadmin3 is masked now. So i installed pgadmin4 (current stable
5 > verion 3.0).
6 > Installed w/o problems.
7 >
8 > But when executing it (in a terminal window) i get a dialog box saying
9 > An error occurred initialising the application server:
10 > An error occurred initialising the application server:
11 > %1
12 >
13 > and the terminal window is filled pagewise with
14 > ----------------------- cut ---------------------------
15 > Python path: "/usr/lib64/python3.6/site-packages"
16 > Python Home: ""
17 > Webapp path: "/usr/share/pgadmin4/web/pgAdmin4.py"
18 > "Failed to launch the application server, server thread exiting.
19 > \u0000➑\u0000\u0000\u0000榠\u1C93翱\u0000먀ᰆ翱
20 > \u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u000F\u0000\u0000\u0000$
21 > \u09FF-&Ͽ\uFFFF\u0005\u0A0E+(\u07FE\uFFFF\uFFFF"\uFFFF,攍兇须꾭懰䀌翱\u0000\uEAB0ᜊ翱
22 > \u0000㙔\uE4C8帚꿧\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000盚饇䥟璊Ꙑ䀌翱
23 > \u0000\uA8C8ᜉ翱\u0000鯩슄鼗䷷\u0E70䀋翱\u0000偈䀌翱\u0000✠徰⼬蘉좸⠪翱\u0000ꃘᜋ翱\u0000ⷬ행膀ꈋꈨ䀌翱
24 > \u0000垀ᜋ翱\u0000沦⻋䎛緒짐⠪翱\u0000嚠ᜋ翱\u0000段ꉀꒅ텣遰⠤翱\u0000撈ᜋ翱\u0000⻲幕炈멕胰䀌翱\u0000攐ᜋ翱
25 > \u0000\uE6A3ᓐ溪껊쫨⠪翱\u0000斘ᜋ翱\u0000\uF42F끒䙭㔋昰䀌翱\u0000映ᜋ翱\u0000盰\uE66A⍷캪限ᮑ翱\u0000
26 > 좸ᜊ翱\u0000뱾ס⏤鱑룰⠁翱\u0000춸ᜊ翱\u0000ꢦ蔞蠹꾞㨈䀐翱\u0000츈ᜊ翱\u0000\uF20E㥑䶫텓움⡌翱\u0000饠\u1CBB
27 > ...
28 > ----------------------- cut ---------------------------
29 >
30 > Selecting "Ok " in the dialog box i get an other tabbed dialog box
31 > asking for
32 > a browser command (currently empty) and Python paths (preset values
33 > seem ok).
34 >
35 > Entering "/usr/bin/firefox %URL%" as browser command does not change
36 > anything.
37 >
38 > Any hints ?
39 >
40 > Info:
41 > Kernel 4.14.65 (Gentoo)
42 > KDE Plasma (kde-plasma/plasma-meta-5.13.5)
43 > Memory 16 G
44 > Apache installed but not running
45 > Browsers konqueror and firefox available
46 > pgadmin3 still installed
47 > Python 2.7, 3.6 and 3.5 installed (= "eselect python list" output)
48 >
49 > regards
50 > Petric
51 >
52 Interesting. I only get
53 -------------
54 Python path: "/usr/lib64/python3.6/site-packages"
55 Python Home: ""
56 Webapp path: "/usr/share/pgadmin4/web/pgAdmin4.py"
57 ------------
58 And then a popup that says "The application server could not be
59 contacted."
60
61 This is with eselect postgresql set to either 9.6 or 10. Also - all
62 above running as myself, although I get the same results with root or
63 postgres. It looks like although I have 10 installed, I never
64 initialized it, although 9.6 should work OK.
65
66 I'm now emerging the test version of pgAdmin4 to see if it makes any
67 difference.
68
69 Jack

Replies

Subject Author
Re: [gentoo-user] Problem executing pgAdmin4 Petric Frank <pfrank@×××.de>