[Bug 1227388] New: Kmail: Error opening attachments: "Invalid environment block."
https://bugzilla.suse.com/show_bug.cgi?id=1227388 Bug ID: 1227388 Summary: Kmail: Error opening attachments: "Invalid environment block." Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: cookie170@web.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Tumbleweed, up-to-date. Wayland-session. Kmail, any email with an attachment, click on it, error message: "Invalid environment block." Operating System: openSUSE Tumbleweed 20240701 KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.7-1-default (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics I've been searching ./profile and ./bashrc for any suspicious env variables. None. But see the result of printenv, last entry: printenv: SHELL=/bin/bash SESSION_MANAGER=local/localhost.localdomain:@/tmp/.ICE-unix/3312,unix/localhost.localdomain:/tmp/.ICE-unix/3312 WINDOWID=0 COLORTERM=truecolor XDG_CONFIG_DIRS=/home/AW/.config/kdedefaults:/etc/xdg:/usr/local/etc/xdg:/usr/etc/xdg LESS=-M -I -R XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_MENU_PREFIX=plasma- MACHTYPE=x86_64-suse-linux G_BROKEN_FILENAMES=1 HOSTNAME=localhost.localdomain HISTSIZE=1000 ICEAUTHORITY=/run/user/1000/iceauth_OxSPvR LANGUAGE=de FROM_HEADER= MINICOM=-c on VDPAU_DRIVER=va_gl AUDIODRIVER=pulseaudio JRE_HOME=/usr/lib64/jvm/java-11-openjdk-11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXZNqvPF/agent.3109 CPU=x86_64 SHELL_SESSION_ID=9d9965fea906496ea02af6325fa4f989 DESKTOP_SESSION=plasmawayland SSH_AGENT_PID=3110 GTK_RC_FILES=/etc/gtk/gtkrc:/home/AW/.gtkrc:/home/AW/.config/gtkrc GPG_TTY=/dev/pts/3 EDITOR=emacsclient -t -a"" XDG_SEAT=seat0 PWD=/home/AW QEMU_AUDIO_DRV=pa XDG_SESSION_DESKTOP=KDE LOGNAME=AW XDG_SESSION_TYPE=wayland MANPATH=/local/texlive/2024/texmf-dist/doc/man:/usr/local/texlive/2022/texmf-dist/doc/man:/home/AW/.local/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man SYSTEMD_EXEC_PID=3890 XAUTHORITY=/run/user/1000/xauth_Lfmqip LS_OPTIONS=-N --color=tty -T 0 XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XKB_DEFAULT_MODEL=pc105 GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/AW/.gtkrc-2.0:/home/AW/.config/gtkrc-2.0 XNLSPATH=/usr/share/X11/nls HOME=/home/AW LANG=de_DE.UTF-8 LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tgz=00;31:*.arc=00;31:*.arj=00;31:*.taz=00;31:*.lha=00;31:*.lz4=00;31:*.lzh=00;31:*.lzma=00;31:*.tlz=00;31:*.txz=00;31:*.tzo=00;31:*.t7z=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.dz=00;31:*.gz=00;31:*.lrz=00;31:*.lz=00;31:*.lzo=00;31:*.xz=00;31:*.zst=00;31:*.tzst=00;31:*.bz2=00;31:*.bz=00;31:*.tbz=00;31:*.tbz2=00;31:*.tz=00;31:*.deb=00;31:*.rpm=00;31:*.jar=00;31:*.war=00;31:*.ear=00;31:*.sar=00;31:*.rar=00;31:*.alz=00;31:*.ace=00;31:*.zoo=00;31:*.cpio=00;31:*.7z=00;31:*.rz=00;31:*.cab=00;31:*.wim=00;31:*.swm=00;31:*.dwm=00;31:*.esd=00;31:*.asf=01;35:*.avi=01;35:*.bmp=01;35:*.cgm=01;35:*.dl=01;35:*.emf=01;35:*.flc=01;35:*.fli=01;35:*.flv=01;35:*.gif=01;35:*.gl=01;35:*.jpeg=01;35:*.jpg=01;35:*.m2v=01;35:*.m4v=01;35:*.mjpeg=01;35:*.mjpg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mp4v=01;35:*.mpeg=01;35:*.mpg=01;35:*.nuv=01;35:*.ogm=01;35:*.pbm=01;35:*.pcx=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.qt=01;35:*.rm=01;35:*.rmvb=01;35:*.svg=01;35:*.svgz=01;35:*.tga=01;35:*.tif=01;35:*.tiff=01;35:*.vob=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xwd=01;35:*.yuv=01;35:*.ogv=01;35:*.ogx=01;35:*.aiff=00;32:*.ape=00;32:*.aac=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.midi=00;32:*.mka=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.ra=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:*.oga=00;32:*.opus=00;32:*.spx=00;32:*.xspf=00;32: XDG_CURRENT_DESKTOP=KDE KONSOLE_DBUS_SERVICE=:1.50 PYTHONSTARTUP=/etc/pythonstart WAYLAND_DISPLAY=wayland-0 KONSOLE_DBUS_SESSION=/Sessions/3 PROFILEHOME= OSTYPE=linux XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 LESS_ADVANCED_PREPROCESSOR=no INVOCATION_ID=03b7b12654a540a6bf990df09f035411 KONSOLE_VERSION=240501 MANAGERPID=3027 KDE_SESSION_UID=1000 INFOPATH=/local/texlive/2024/texmf-dist/doc/info:/usr/local/texlive/2022/texmf-dist/doc/info: MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed XKB_DEFAULT_LAYOUT=de LESSCLOSE=lessclose.sh %s %s XDG_SESSION_CLASS=user TERM=xterm-256color G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 HOST=localhost.localdomain XAUTHLOCALHOSTNAME=localhost.localdomain LESSOPEN=lessopen.sh %s USER=AW COLORFGBG=15;0 QT_WAYLAND_RECONNECT=1 KDE_SESSION_VERSION=6 PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket MORE=-sl VISUAL=emacsclient CSHEDIT=emacs DISPLAY=:1 SHLVL=1 WINDOWMANAGER=/usr/bin/gnome PAGER=less CVS_RSH=ssh XDG_VTNR=3 XDG_SESSION_ID=3 XDG_RUNTIME_DIR=/run/user/1000 DEBUGINFOD_URLS=https://debuginfod.opensuse.org/ XKB_DEFAULT_VARIANT=nodeadkeys QT_AUTO_SCREEN_SCALE_FACTOR=0 JOURNAL_STREAM=9:20970 MANPATHISSET=yes XDG_DATA_DIRS=/home/AW/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop KDE_FULL_SESSION=true VENDOR=suse CONFIG_SITE=/usr/share/site/x86_64-pc-linux-gnu ALTERNATE_EDITOR=emacs PATH=/home/AW/.cask/bin:/home/AW/bin:/home/AW/bin/pdfsizeopt:/local/texlive/2024/bin/x86_64-linux/:/usr/local/texlive/2022/bin/x86_64-linux:/home/AW/.local/bin:/home/AW/bin:/usr/local/bin:/usr/bin:/bin:/snap/bin:/usr/local/bin:/home/AW/.local/bin DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus PROFILEREAD=true KDE_APPLICATIONS_AS_SCOPE=1 MAIL=/var/mail/AW OSFONTDIR=/home/AW/.fonts HOSTTYPE=x86_64 XKB_DEFAULT_OPTIONS=terminate:ctrl_alt_bksp LESSKEY=/usr/etc/lesskey.bin BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh } _=/usr/bin/printenv This variable BASH_FUNC_mc seems weird. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227388 https://bugzilla.suse.com/show_bug.cgi?id=1227388#c1 --- Comment #1 from Keks Dose <cookie170@web.de> --- ... and after starting kmail on command line the error message there is: kf.kio.gui: Failed to launch process as service: "app-org.kde.okular@6af406497e054a04a6adc583bf0242da.service" "org.freedesktop.DBus.Error.InvalidArgs" "Invalid environment block." -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227388 https://bugzilla.suse.com/show_bug.cgi?id=1227388#c2 Keks Dose <cookie170@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Keks Dose <cookie170@web.de> --- Culprit is midnight commander which sets this strange env variable BASH_FUNC_mc%% I uninstalled mc and kmail works as expected. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227388 https://bugzilla.suse.com/show_bug.cgi?id=1227388#c3 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- CC| |fabian@ritter-vogt.de Status|RESOLVED |REOPENED --- Comment #3 from Fabian Vogt <fabian@ritter-vogt.de> --- BASH_FUNC_mc%% is meant to be there. Uninstalling mc is obviously not a fix. Sounds like a kio bug to me. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227388 https://bugzilla.suse.com/show_bug.cgi?id=1227388#c4 --- Comment #4 from Keks Dose <cookie170@web.de> --- (In reply to Fabian Vogt from comment #3)
BASH_FUNC_mc%% is meant to be there. Uninstalling mc is obviously not a fix.
Sounds like a kio bug to me.
Ah, just found your comment. Without knowing about it, I opened a second bug report here: https://bugs.kde.org/show_bug.cgi?id=489834 Thank you for time and effort! -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227388 https://bugzilla.suse.com/show_bug.cgi?id=1227388#c5 Keks Dose <cookie170@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Keks Dose <cookie170@web.de> --- Fixed in KDE Frameworks 6.4.0. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com