Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q3vtB-0001jx-FK for pgsql-admin@arkaria.postgresql.org; Tue, 30 May 2023 09:43:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q3vt8-00026b-2O for pgsql-admin@arkaria.postgresql.org; Tue, 30 May 2023 09:43:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q3vt7-00026S-G2 for pgsql-admin@lists.postgresql.org; Tue, 30 May 2023 09:43:33 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q3vsz-002g67-KR for pgsql-admin@lists.postgresql.org; Tue, 30 May 2023 09:43:32 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id C6BDE3802F2 for ; Tue, 30 May 2023 11:43:22 +0200 (CEST) Received: from rs.plausibolo.de ([127.0.0.1]) by localhost (h2367442.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zok2hOdtjTbV for ; Tue, 30 May 2023 11:43:22 +0200 (CEST) Received: from [127.0.0.1] (dynamic-002-247-252-070.2.247.pool.telefonica.de [2.247.252.70]) by rs.plausibolo.de (Postfix) with ESMTPSA id 5424B380154 for ; Tue, 30 May 2023 11:43:22 +0200 (CEST) Date: Tue, 30 May 2023 11:43:20 +0200 From: Holger Jakobs To: pgsql-admin@lists.postgresql.org Subject: Re: pgadmin4 and kwallet User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----PVH8D3TSBK4SAO48G5Y96R92ERDWOD Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ------PVH8D3TSBK4SAO48G5Y96R92ERDWOD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This is the PostgreSQL server admin list, not the pgAdmin list=2E Please post there=2E Regards Holger Am 30=2E Mai 2023 10:35:37 MESZ schrieb jh276 : >Hello, > > >I am using pgadmin since several years now and had no real issues so >far=2E Actually, this has changed under Kubuntu 23=2E04=2E > > >If I am trying to start pgadmin4, the splash screen comes up and after >90s a "Fatal Error" windows appears with the message "The pgAdmin4 >server could not be contated"=2E The content lists my environmental >variables, see end of the mail=2E > From my point of view there are no issues=2E > > >If I start pgadmin from console I get: > >--snip-- > >joachim@Theophila:/usr/pgadmin4/bin$ =2E/pgadmin4 > >(pgadmin4:6329): Gtk-WARNING**: 10:29:38=2E901: Theme parsing error: >gtk=2Ecss:1649:16: '-gtk-icon-size' is not a valid property name > >(pgadmin4:6329): Gtk-WARNING**: 10:29:38=2E901: Theme parsing error: >gtk=2Ecss:1652:16: '-gtk-icon-size' is not a valid property name >[6329:6329:0530/102939=2E012366:ERROR:object_proxy=2Ecc(623)] Failed to c= all >method: org=2Ekde=2EKWallet=2EisEnabled: object_path=3D /modules/kwalletd= 5: >org=2Efreedesk >top=2EDBus=2EError=2ENoReply: Message recipient disconnected from message= bus >without replying >[6329:6329:0530/102939=2E012382:ERROR:kwallet_dbus=2Ecc(100)] Error >contacting kwalletd5 (isEnabled) >[6329:6329:0530/102939=2E012635:ERROR:object_proxy=2Ecc(623)] Failed to c= all >method: org=2Ekde=2EKLauncher=2Estart_service_by_desktop_name: object_pat= h=3D >/KLauncher >: org=2Efreedesktop=2EDBus=2EError=2EServiceUnknown: The name org=2Ekde= =2Eklauncher >was not provided by any =2Eservice files >[6329:6329:0530/102939=2E012641:ERROR:kwallet_dbus=2Ecc(72)] Error >contacting klauncher to start kwalletd5 >[6329:6329:0530/102939=2E092640:ERROR:object_proxy=2Ecc(623)] Failed to c= all >method: org=2Ekde=2EKWallet=2Eclose: object_path=3D /modules/kwalletd5: >org=2Efreedesktop=2E >DBus=2EError=2ENoReply: Message recipient disconnected from message bus >without replying >[6329:6329:0530/102939=2E092655:ERROR:kwallet_dbus=2Ecc(418)] Error >contacting kwalletd5 (close) >Wird in einer aktuellen Browsersitzung ge=C3=B6ffnet=2E >joachim@Theophila:/usr/pgadmin4/bin$ > >--snap-- > >which indicates that kwallet is the root cause of the problem=2E But >kwallet is not active, it is disabled=2E > > >Do you have any advice, how to solve the issue that pgadmin is trying to >contact kwallet even if it is not intended to do so? > > >Joachim > > >Content of error window > >--snip-- > >pgAdmin Runtime Environment >-------------------------------------------------------- >Python Path: "/usr/pgadmin4/venv/bin/python3" >Runtime Config File: "/home/joachim/=2Econfig/pgadmin/runtime_config=2Ejs= on" >pgAdmin Config File: "/usr/pgadmin4/web/config=2Epy" >Webapp Path: "/usr/pgadmin4/web/pgAdmin4=2Epy" >pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s >/usr/pgadmin4/web/pgAdmin4=2Epy" >Environment: >=C2=A0 - HOME: /home/joachim >=C2=A0 - LANG: de_DE=2EUTF-8 >=C2=A0 - LOGNAME: joachim >=C2=A0 - PATH: >/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/= usr/local/games:/snap/bin:/home/joachim/=2Edotnet/tools >=C2=A0 - SHELL: /bin/bash >=C2=A0 - SYSTEMD_EXEC_PID: 2360 >=C2=A0 - USER: joachim >=C2=A0 - XDG_RUNTIME_DIR: /run/user/1000 >=C2=A0 - QT_ACCESSIBILITY: 1 >=C2=A0 - QTWEBENGINE_DICTIONARIES_PATH: /usr/share/hunspell-bdic/ >=C2=A0 - XDG_DATA_DIRS: >/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop >=C2=A0 - CLUTTER_IM_MODULE: ibus >=C2=A0 - DBUS_SESSION_BUS_ADDRESS: unix:path=3D/run/user/1000/bus >=C2=A0 - DEBUGINFOD_URLS: https://debuginfod=2Eubuntu=2Ecom >=C2=A0 - DESKTOP_SESSION: plasma >=C2=A0 - DISPLAY: :0 >=C2=A0 - DOTNET_BUNDLE_EXTRACT_BASE_DIR: >/home/joachim/=2Ecache/dotnet_bundle_extract >=C2=A0 - DOTNET_ROOT: /usr/lib/dotnet >=C2=A0 - GPG_AGENT_INFO: /run/user/1000/gnupg/S=2Egpg-agent:0:1 >=C2=A0 - GTK2_RC_FILES: >/etc/gtk-2=2E0/gtkrc:/home/joachim/=2Egtkrc-2=2E0:/home/joachim/=2Econfig= /gtkrc-2=2E0 >=C2=A0 - GTK_IM_MODULE: ibus >=C2=A0 - GTK_RC_FILES: >/etc/gtk/gtkrc:/home/joachim/=2Egtkrc:/home/joachim/=2Econfig/gtkrc >=C2=A0 - IM_CONFIG_PHASE: 1 >=C2=A0 - KDE_APPLICATIONS_AS_SCOPE: 1 >=C2=A0 - KDE_FULL_SESSION: true >=C2=A0 - KDE_SESSION_UID: 1000 >=C2=A0 - KDE_SESSION_VERSION: 5 >=C2=A0 - LANGUAGE: de:en_US >=C2=A0 - PAM_KWALLET5_LOGIN: /run/user/1000/kwallet5=2Esocket >=C2=A0 - PWD: /home/joachim >=C2=A0 - QT_AUTO_SCREEN_SCALE_FACTOR: 0 >=C2=A0 - QT_IM_MODULE: ibus >=C2=A0 - SESSION_MANAGER: >local/Theophila:@/tmp/=2EICE-unix/2310,unix/Theophila:/tmp/=2EICE-unix/23= 10 >=C2=A0 - SHLVL: 0 >=C2=A0 - SSH_AGENT_PID: 2153 >=C2=A0 - SSH_AUTH_SOCK: /tmp/ssh-XXXXXXVUJQh4/agent=2E2093 >=C2=A0 - XAUTHORITY: /home/joachim/=2EXauthority >=C2=A0 - XCURSOR_SIZE: 24 >=C2=A0 - XCURSOR_THEME: breeze_cursors >=C2=A0 - XDG_CONFIG_DIRS: >/home/joachim/=2Econfig/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg:/usr/sha= re/kubuntu-default-settings/kf5-settings >=C2=A0 - XDG_CURRENT_DESKTOP: KDE >=C2=A0 - XDG_SEAT: seat0 >=C2=A0 - XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0 >=C2=A0 - XDG_SESSION_CLASS: user >=C2=A0 - XDG_SESSION_DESKTOP: KDE >=C2=A0 - XDG_SESSION_ID: 3 >=C2=A0 - XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session1 >=C2=A0 - XDG_SESSION_TYPE: x11 >=C2=A0 - XDG_VTNR: 1 >=C2=A0 - XMODIFIERS: @im=3Dibus >=C2=A0 - _: /usr/bin/dbus-update-activation-environment >=C2=A0 - MANAGERPID: 2057 >=C2=A0 - INVOCATION_ID: 974c859e3222422685420699aaf7c92b >=C2=A0 - JOURNAL_STREAM: 8:26435 >=C2=A0 - GDK_BACKEND: x11 >=C2=A0 - NO_AT_BRIDGE: 1 >=C2=A0 - PGADMIN_INT_PORT: 33583 >=C2=A0 - PGADMIN_INT_KEY: 3885368a-dac7-4cc7-9266-378460d7837f >=C2=A0 - PGADMIN_SERVER_MODE: OFF >-------------------------------------------------------- > >Total spawn time to start the pgAdmin4 server: 0=2E003 Sec >Failed to launch pgAdmin4=2E Error: >Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT > > >--snap-- > > > ------PVH8D3TSBK4SAO48G5Y96R92ERDWOD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
This is the PostgreSQL server ad= min list, not the pgAdmin list=2E

Please post there=2E

Regard= s

Holger


A= m 30=2E Mai 2023 10:35:37 MESZ schrieb jh276 <jh276@gmx=2Ede>:
<= blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0=2E8ex; bord= er-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,


I am using pgadm= in since several years now and had no real issues so
far=2E Actually, th= is has changed under Kubuntu 23=2E04=2E


If I am trying to start = pgadmin4, the splash screen comes up and after
90s a "Fatal Error" windo= ws appears with the message "The pgAdmin4
server could not be contated"= =2E The content lists my environmental
variables, see end of the mail=2E=

From my point of view there are no issues=2E


If I start = pgadmin from console I get:

--snip--

joachim@Theophila:/usr/p= gadmin4/bin$ =2E/pgadmin4

(pgadmin4:6329): Gtk-WARNING**: 10:29:38= =2E901: Theme parsing error:
gtk=2Ecss:1649:16: '-gtk-icon-size' is not = a valid property name

(pgadmin4:6329): Gtk-WARNING**: 10:29:38=2E901= : Theme parsing error:
gtk=2Ecss:1652:16: '-gtk-icon-size' is not a vali= d property name
[6329:6329:0530/102939=2E012366:ERROR:object_proxy=2Ecc(= 623)] Failed to call
method: org=2Ekde=2EKWallet=2EisEnabled: object_pat= h=3D /modules/kwalletd5:
org=2Efreedesk
top=2EDBus=2EError=2ENoReply:= Message recipient disconnected from message bus
without replying
[63= 29:6329:0530/102939=2E012382:ERROR:kwallet_dbus=2Ecc(100)] Error
contact= ing kwalletd5 (isEnabled)
[6329:6329:0530/102939=2E012635:ERROR:object_p= roxy=2Ecc(623)] Failed to call
method: org=2Ekde=2EKLauncher=2Estart_ser= vice_by_desktop_name: object_path=3D
/KLauncher
: org=2Efreedesktop= =2EDBus=2EError=2EServiceUnknown: The name org=2Ekde=2Eklauncher
was not= provided by any =2Eservice files
[6329:6329:0530/102939=2E012641:ERROR:= kwallet_dbus=2Ecc(72)] Error
contacting klauncher to start kwalletd5
= [6329:6329:0530/102939=2E092640:ERROR:object_proxy=2Ecc(623)] Failed to cal= l
method: org=2Ekde=2EKWallet=2Eclose: object_path=3D /modules/kwalletd5= :
org=2Efreedesktop=2E
DBus=2EError=2ENoReply: Message recipient disc= onnected from message bus
without replying
[6329:6329:0530/102939=2E0= 92655:ERROR:kwallet_dbus=2Ecc(418)] Error
contacting kwalletd5 (close)Wird in einer aktuellen Browsersitzung ge=C3=B6ffnet=2E
joachim@Theoph= ila:/usr/pgadmin4/bin$

--snap--

which indicates that kwallet = is the root cause of the problem=2E But
kwallet is not active, it is dis= abled=2E


Do you have any advice, how to solve the issue that pga= dmin is trying to
contact kwallet even if it is not intended to do so?

Joachim


Content of error window

--snip--
pgAdmin Runtime Environment
Python Path: "/usr/pgadmin4/venv/bin/python= 3"
Runtime Config File: "/home/joachim/=2Econfig/pgadmin/runtime_config= =2Ejson"
pgAdmin Config File: "/usr/pgadmin4/web/config=2Epy"
Webapp = Path: "/usr/pgadmin4/web/pgAdmin4=2Epy"
pgAdmin Command: "/usr/pgadmin4/= venv/bin/python3 -s
/usr/pgadmin4/web/pgAdmin4=2Epy"
Environment:
=   - HOME: /home/joachim
  - LANG: de_DE=2EUTF-8
  - LO= GNAME: joachim
  - PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbi= n:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/joachim/= =2Edotnet/tools
  - SHELL: /bin/bash
  - SYSTEMD_EXEC_PID: = 2360
  - USER: joachim
  - XDG_RUNTIME_DIR: /run/user/1000<= br>  - QT_ACCESSIBILITY: 1
  - QTWEBENGINE_DICTIONARIES_PATH: = /usr/share/hunspell-bdic/
  - XDG_DATA_DIRS:
/usr/share/plasma:/= usr/local/share:/usr/share:/var/lib/snapd/desktop
  - CLUTTER_IM_MO= DULE: ibus
  - DBUS_SESSION_BUS_ADDRESS: unix:path=3D/run/user/1000= /bus
  - DEBUGINFOD_URLS: https://debuginfod=2Eubuntu=2Ecom
  - DESKTOP_SESSION: pla= sma
  - DISPLAY: :0
  - DOTNET_BUNDLE_EXTRACT_BASE_DIR:
= /home/joachim/=2Ecache/dotnet_bundle_extract
  - DOTNET_ROOT: /usr/= lib/dotnet
  - GPG_AGENT_INFO: /run/user/1000/gnupg/S=2Egpg-agent:0= :1
  - GTK2_RC_FILES:
/etc/gtk-2=2E0/gtkrc:/home/joachim/=2Egtkr= c-2=2E0:/home/joachim/=2Econfig/gtkrc-2=2E0
  - GTK_IM_MODULE: ibus=
  - GTK_RC_FILES:
/etc/gtk/gtkrc:/home/joachim/=2Egtkrc:/home/j= oachim/=2Econfig/gtkrc
  - IM_CONFIG_PHASE: 1
  - KDE_APPLI= CATIONS_AS_SCOPE: 1
  - KDE_FULL_SESSION: true
  - KDE_SESS= ION_UID: 1000
  - KDE_SESSION_VERSION: 5
  - LANGUAGE: de:e= n_US
  - PAM_KWALLET5_LOGIN: /run/user/1000/kwallet5=2Esocket
&n= bsp; - PWD: /home/joachim
  - QT_AUTO_SCREEN_SCALE_FACTOR: 0
&nb= sp; - QT_IM_MODULE: ibus
  - SESSION_MANAGER:
local/Theophila:@/= tmp/=2EICE-unix/2310,unix/Theophila:/tmp/=2EICE-unix/2310
  - SHLVL= : 0
  - SSH_AGENT_PID: 2153
  - SSH_AUTH_SOCK: /tmp/ssh-XXX= XXXVUJQh4/agent=2E2093
  - XAUTHORITY: /home/joachim/=2EXauthority<= br>  - XCURSOR_SIZE: 24
  - XCURSOR_THEME: breeze_cursors
&= nbsp; - XDG_CONFIG_DIRS:
/home/joachim/=2Econfig/kdedefaults:/etc/xdg/xd= g-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings
 = ; - XDG_CURRENT_DESKTOP: KDE
  - XDG_SEAT: seat0
  - XDG_SE= AT_PATH: /org/freedesktop/DisplayManager/Seat0
  - XDG_SESSION_CLAS= S: user
  - XDG_SESSION_DESKTOP: KDE
  - XDG_SESSION_ID: 3<= br>  - XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session1
&= nbsp; - XDG_SESSION_TYPE: x11
  - XDG_VTNR: 1
  - XMODIFIER= S: @im=3Dibus
  - _: /usr/bin/dbus-update-activation-environment  - MANAGERPID: 2057
  - INVOCATION_ID: 974c859e3222422685420= 699aaf7c92b
  - JOURNAL_STREAM: 8:26435
  - GDK_BACKEND: x1= 1
  - NO_AT_BRIDGE: 1
  - PGADMIN_INT_PORT: 33583
 = - PGADMIN_INT_KEY: 3885368a-dac7-4cc7-9266-378460d7837f
  - PGADMI= N_SERVER_MODE: OFF
Total spawn time to start the pgAdmin4 server: 0=2E00= 3 Sec
Failed to launch pgAdmin4=2E Error:
Error: spawn /usr/pgadmin4/= venv/bin/python3 ENOENT


--snap--



------PVH8D3TSBK4SAO48G5Y96R92ERDWOD--