pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jh276 <jh276@gmx.de>
To: pgsql-admin@lists.postgresql.org
Subject: pgadmin4 and kwallet
Date: Tue, 30 May 2023 10:35:37 +0200
Message-ID: <d70cfd06-f11b-d0ca-15d5-3c3176bbeb92@gmx.de> (raw)

Hello,


I am using pgadmin since several years now and had no real issues so
far. Actually, this has changed under Kubuntu 23.04.


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". The content lists my environmental
variables, see end of the mail.

 From my point of view there are no issues.


If I start pgadmin from console I get:

--snip--

joachim@Theophila:/usr/pgadmin4/bin$ ./pgadmin4

(pgadmin4:6329): Gtk-WARNING**: 10:29:38.901: Theme parsing error:
gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(pgadmin4:6329): Gtk-WARNING**: 10:29:38.901: Theme parsing error:
gtk.css:1652:16: '-gtk-icon-size' is not a valid property name
[6329:6329:0530/102939.012366:ERROR:object_proxy.cc(623)] Failed to call
method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5:
org.freedesk
top.DBus.Error.NoReply: Message recipient disconnected from message bus
without replying
[6329:6329:0530/102939.012382:ERROR:kwallet_dbus.cc(100)] Error
contacting kwalletd5 (isEnabled)
[6329:6329:0530/102939.012635:ERROR:object_proxy.cc(623)] Failed to call
method: org.kde.KLauncher.start_service_by_desktop_name: object_path=
/KLauncher
: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher
was not provided by any .service files
[6329:6329:0530/102939.012641:ERROR:kwallet_dbus.cc(72)] Error
contacting klauncher to start kwalletd5
[6329:6329:0530/102939.092640:ERROR:object_proxy.cc(623)] Failed to call
method: org.kde.KWallet.close: object_path= /modules/kwalletd5:
org.freedesktop.
DBus.Error.NoReply: Message recipient disconnected from message bus
without replying
[6329:6329:0530/102939.092655:ERROR:kwallet_dbus.cc(418)] Error
contacting kwalletd5 (close)
Wird in einer aktuellen Browsersitzung geöffnet.
joachim@Theophila:/usr/pgadmin4/bin$

--snap--

which indicates that kwallet is the root cause of the problem. But
kwallet is not active, it is disabled.


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/.config/pgadmin/runtime_config.json"
pgAdmin Config File: "/usr/pgadmin4/web/config.py"
Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py"
pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s
/usr/pgadmin4/web/pgAdmin4.py"
Environment:
   - HOME: /home/joachim
   - LANG: de_DE.UTF-8
   - LOGNAME: joachim
   - PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/joachim/.dotnet/tools
   - SHELL: /bin/bash
   - SYSTEMD_EXEC_PID: 2360
   - USER: joachim
   - XDG_RUNTIME_DIR: /run/user/1000
   - 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_MODULE: ibus
   - DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
   - DEBUGINFOD_URLS: https://debuginfod.ubuntu.com
   - DESKTOP_SESSION: plasma
   - DISPLAY: :0
   - DOTNET_BUNDLE_EXTRACT_BASE_DIR:
/home/joachim/.cache/dotnet_bundle_extract
   - DOTNET_ROOT: /usr/lib/dotnet
   - GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
   - GTK2_RC_FILES:
/etc/gtk-2.0/gtkrc:/home/joachim/.gtkrc-2.0:/home/joachim/.config/gtkrc-2.0
   - GTK_IM_MODULE: ibus
   - GTK_RC_FILES:
/etc/gtk/gtkrc:/home/joachim/.gtkrc:/home/joachim/.config/gtkrc
   - IM_CONFIG_PHASE: 1
   - KDE_APPLICATIONS_AS_SCOPE: 1
   - KDE_FULL_SESSION: true
   - KDE_SESSION_UID: 1000
   - KDE_SESSION_VERSION: 5
   - LANGUAGE: de:en_US
   - PAM_KWALLET5_LOGIN: /run/user/1000/kwallet5.socket
   - PWD: /home/joachim
   - QT_AUTO_SCREEN_SCALE_FACTOR: 0
   - QT_IM_MODULE: ibus
   - SESSION_MANAGER:
local/Theophila:@/tmp/.ICE-unix/2310,unix/Theophila:/tmp/.ICE-unix/2310
   - SHLVL: 0
   - SSH_AGENT_PID: 2153
   - SSH_AUTH_SOCK: /tmp/ssh-XXXXXXVUJQh4/agent.2093
   - XAUTHORITY: /home/joachim/.Xauthority
   - XCURSOR_SIZE: 24
   - XCURSOR_THEME: breeze_cursors
   - XDG_CONFIG_DIRS:
/home/joachim/.config/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings
   - XDG_CURRENT_DESKTOP: KDE
   - XDG_SEAT: seat0
   - XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
   - XDG_SESSION_CLASS: user
   - XDG_SESSION_DESKTOP: KDE
   - XDG_SESSION_ID: 3
   - XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session1
   - XDG_SESSION_TYPE: x11
   - XDG_VTNR: 1
   - XMODIFIERS: @im=ibus
   - _: /usr/bin/dbus-update-activation-environment
   - MANAGERPID: 2057
   - INVOCATION_ID: 974c859e3222422685420699aaf7c92b
   - JOURNAL_STREAM: 8:26435
   - GDK_BACKEND: x11
   - NO_AT_BRIDGE: 1
   - PGADMIN_INT_PORT: 33583
   - PGADMIN_INT_KEY: 3885368a-dac7-4cc7-9266-378460d7837f
   - PGADMIN_SERVER_MODE: OFF
--------------------------------------------------------

Total spawn time to start the pgAdmin4 server: 0.003 Sec
Failed to launch pgAdmin4. Error:
Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT


--snap--






view thread (2+ messages)  latest in thread

Message-ID: <d70cfd06-f11b-d0ca-15d5-3c3176bbeb92@gmx.de>
Permalink:  ../d70cfd06-f11b-d0ca-15d5-3c3176bbeb92@gmx.de/
Also on:    postgresql.org/message-id/d70cfd06-f11b-d0ca-15d5-3c3176bbeb92@gmx.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jh276@gmx.de, pgsql-admin@lists.postgresql.org
  Subject: Re: pgadmin4 and kwallet
  In-Reply-To: <d70cfd06-f11b-d0ca-15d5-3c3176bbeb92@gmx.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox