[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    Re: pgadmin4 and kwallet
From:       Holger Jakobs <holger () jakobs ! com>
Date:       2023-05-30 9:43:20
Message-ID: D7817B09-9C08-4768-AF6B-01D2EE9FB650 () jakobs ! com
[Download RAW message or body]

This is the PostgreSQL server admin list, not the pgAdmin list.

Please post there.

Regards

Holger

Am 30. Mai 2023 10:35:37 MESZ schrieb jh276 <jh276@gmx.de>:
> 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--
> 
> 
> 


[Attachment #3 (text/html)]

<html><head></head><body><div dir="auto">This is the PostgreSQL server admin list, \
not the pgAdmin list.<br><br>Please post \
there.<br><br>Regards<br><br>Holger</div><br><br><div class="gmail_quote"><div \
dir="auto">Am 30. Mai 2023 10:35:37 MESZ schrieb jh276 \
&lt;jh276@gmx.de&gt;:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt \
0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <pre \
class="k9mail"><div dir="auto">Hello,<br><br><br>I am using pgadmin since several \
years now and had no real issues so<br>far. Actually, this has changed under Kubuntu \
23.04.<br><br><br>If I am trying to start pgadmin4, the splash screen comes up and \
after<br>90s a "Fatal Error" windows appears with the message "The pgAdmin4<br>server \
could not be contated". The content lists my environmental<br>variables, see end of \
the mail.<br><br>From my point of view there are no issues.<br><br><br>If I start \
pgadmin from console I \
get:<br><br>--snip--<br><br>joachim@Theophila:/usr/pgadmin4/bin$ \
./pgadmin4<br><br>(pgadmin4:6329): Gtk-WARNING**: 10:29:38.901: Theme parsing \
error:<br>gtk.css:1649:16: '-gtk-icon-size' is not a valid property \
name<br><br>(pgadmin4:6329): Gtk-WARNING**: 10:29:38.901: Theme parsing \
error:<br>gtk.css:1652:16: '-gtk-icon-size' is not a valid property \
name<br>[6329:6329:0530/102939.012366:ERROR:object_proxy.cc(623)] Failed to \
call<br>method: org.kde.KWallet.isEnabled: object_path= \
/modules/kwalletd5:<br>org.freedesk<br>top.DBus.Error.NoReply: Message recipient \
disconnected from message bus<br>without \
replying<br>[6329:6329:0530/102939.012382:ERROR:kwallet_dbus.cc(100)] \
Error<br>contacting kwalletd5 \
(isEnabled)<br>[6329:6329:0530/102939.012635:ERROR:object_proxy.cc(623)] Failed to \
call<br>method: org.kde.KLauncher.start_service_by_desktop_name: \
object_path=<br>/KLauncher<br>: org.freedesktop.DBus.Error.ServiceUnknown: The name \
org.kde.klauncher<br>was not provided by any .service \
files<br>[6329:6329:0530/102939.012641:ERROR:kwallet_dbus.cc(72)] Error<br>contacting \
klauncher to start kwalletd5<br>[6329:6329:0530/102939.092640:ERROR:object_proxy.cc(623)] \
Failed to call<br>method: org.kde.KWallet.close: object_path= \
/modules/kwalletd5:<br>org.freedesktop.<br>DBus.Error.NoReply: Message recipient \
disconnected from message bus<br>without \
replying<br>[6329:6329:0530/102939.092655:ERROR:kwallet_dbus.cc(418)] \
Error<br>contacting kwalletd5 (close)<br>Wird in einer aktuellen Browsersitzung \
geöffnet.<br>joachim@Theophila:/usr/pgadmin4/bin$<br><br>--snap--<br><br>which \
indicates that kwallet is the root cause of the problem. But<br>kwallet is not \
active, it is disabled.<br><br><br>Do you have any advice, how to solve the issue \
that pgadmin is trying to<br>contact kwallet even if it is not intended to do \
so?<br><br><br>Joachim<br><br><br>Content of error \
window<br><br>--snip--<br><br>pgAdmin Runtime Environment<hr>Python Path: \
"/usr/pgadmin4/venv/bin/python3"<br>Runtime Config File: \
"/home/joachim/.config/pgadmin/runtime_config.json"<br>pgAdmin Config File: \
"/usr/pgadmin4/web/config.py"<br>Webapp Path: \
"/usr/pgadmin4/web/pgAdmin4.py"<br>pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 \
-s<br>/usr/pgadmin4/web/pgAdmin4.py"<br>Environment:<br>&nbsp; - HOME: \
/home/joachim<br>&nbsp; - LANG: de_DE.UTF-8<br>&nbsp; - LOGNAME: joachim<br>&nbsp; - \
PATH:<br>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/joachim/.dotnet/tools<br>&nbsp; \
- SHELL: /bin/bash<br>&nbsp; - SYSTEMD_EXEC_PID: 2360<br>&nbsp; - USER: \
joachim<br>&nbsp; - XDG_RUNTIME_DIR: /run/user/1000<br>&nbsp; - QT_ACCESSIBILITY: \
1<br>&nbsp; - QTWEBENGINE_DICTIONARIES_PATH: /usr/share/hunspell-bdic/<br>&nbsp; - \
XDG_DATA_DIRS:<br>/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop<br>&nbsp; \
- CLUTTER_IM_MODULE: ibus<br>&nbsp; - DBUS_SESSION_BUS_ADDRESS: \
unix:path=/run/user/1000/bus<br>&nbsp; - DEBUGINFOD_URLS: <a \
href="https://debuginfod.ubuntu.com">https://debuginfod.ubuntu.com</a><br>&nbsp; - \
DESKTOP_SESSION: plasma<br>&nbsp; - DISPLAY: :0<br>&nbsp; - \
DOTNET_BUNDLE_EXTRACT_BASE_DIR:<br>/home/joachim/.cache/dotnet_bundle_extract<br>&nbsp; \
- DOTNET_ROOT: /usr/lib/dotnet<br>&nbsp; - GPG_AGENT_INFO: \
/run/user/1000/gnupg/S.gpg-agent:0:1<br>&nbsp; - \
GTK2_RC_FILES:<br>/etc/gtk-2.0/gtkrc:/home/joachim/.gtkrc-2.0:/home/joachim/.config/gtkrc-2.0<br>&nbsp; \
- GTK_IM_MODULE: ibus<br>&nbsp; - \
GTK_RC_FILES:<br>/etc/gtk/gtkrc:/home/joachim/.gtkrc:/home/joachim/.config/gtkrc<br>&nbsp; \
- IM_CONFIG_PHASE: 1<br>&nbsp; - KDE_APPLICATIONS_AS_SCOPE: 1<br>&nbsp; - \
KDE_FULL_SESSION: true<br>&nbsp; - KDE_SESSION_UID: 1000<br>&nbsp; - \
KDE_SESSION_VERSION: 5<br>&nbsp; - LANGUAGE: de:en_US<br>&nbsp; - PAM_KWALLET5_LOGIN: \
/run/user/1000/kwallet5.socket<br>&nbsp; - PWD: /home/joachim<br>&nbsp; - \
QT_AUTO_SCREEN_SCALE_FACTOR: 0<br>&nbsp; - QT_IM_MODULE: ibus<br>&nbsp; - \
SESSION_MANAGER:<br>local/Theophila:@/tmp/.ICE-unix/2310,unix/Theophila:/tmp/.ICE-unix/2310<br>&nbsp; \
- SHLVL: 0<br>&nbsp; - SSH_AGENT_PID: 2153<br>&nbsp; - SSH_AUTH_SOCK: \
/tmp/ssh-XXXXXXVUJQh4/agent.2093<br>&nbsp; - XAUTHORITY: \
/home/joachim/.Xauthority<br>&nbsp; - XCURSOR_SIZE: 24<br>&nbsp; - XCURSOR_THEME: \
breeze_cursors<br>&nbsp; - \
XDG_CONFIG_DIRS:<br>/home/joachim/.config/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings<br>&nbsp; \
- XDG_CURRENT_DESKTOP: KDE<br>&nbsp; - XDG_SEAT: seat0<br>&nbsp; - XDG_SEAT_PATH: \
/org/freedesktop/DisplayManager/Seat0<br>&nbsp; - XDG_SESSION_CLASS: user<br>&nbsp; - \
XDG_SESSION_DESKTOP: KDE<br>&nbsp; - XDG_SESSION_ID: 3<br>&nbsp; - XDG_SESSION_PATH: \
/org/freedesktop/DisplayManager/Session1<br>&nbsp; - XDG_SESSION_TYPE: x11<br>&nbsp; \
- XDG_VTNR: 1<br>&nbsp; - XMODIFIERS: @im=ibus<br>&nbsp; - _: \
/usr/bin/dbus-update-activation-environment<br>&nbsp; - MANAGERPID: 2057<br>&nbsp; - \
INVOCATION_ID: 974c859e3222422685420699aaf7c92b<br>&nbsp; - JOURNAL_STREAM: \
8:26435<br>&nbsp; - GDK_BACKEND: x11<br>&nbsp; - NO_AT_BRIDGE: 1<br>&nbsp; - \
PGADMIN_INT_PORT: 33583<br>&nbsp; - PGADMIN_INT_KEY: \
3885368a-dac7-4cc7-9266-378460d7837f<br>&nbsp; - PGADMIN_SERVER_MODE: OFF<hr>Total \
spawn time to start the pgAdmin4 server: 0.003 Sec<br>Failed to launch pgAdmin4. \
Error:<br>Error: spawn /usr/pgadmin4/venv/bin/python3 \
ENOENT<br><br><br>--snap--<br><br><br><br></div></pre></blockquote></div></body></html>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic