You are not logged in.
Hi,
It's me again with Kate messing up!!
I'm on Sway (with nvidia, but also integrated GPU for more monitors, primarily integrated Intel GPU instead of dedicated GPU) and yes, have done pacman -Syu
When I start Kate, nothing pops up, and in terminal, it just immediately exits. No window pops up or anything.
When using Okular, I get an undefined symbol error. Specifically this:
Unable to find the Okular component: Cannot load library /usr/lib/qt/plugins/okularpart.so: (/usr/lib/libOkular5Core.so.10: undefined symbol: _ZN8KArchive4openE6QFlagsIN9QIODevice12OpenModeFlagEE)
Kate doesn't show this, it just exits with return code 0, no output to stdout or stderr, Okular exits with code 255
Learning from my previous mistake, kactivitymanagerd and kglobalaccel are both running this time
I have strace outputs for kate but exceeded 512KB for Okular: https://pastebin.com/E2gW5JMT for kate. If it's really useful to have the strace for okular just post something here
Does anyone have any suggestions for even trying to solve this??? I'm at a bit of a loss here
Offline
Perhaps your mirror is out of date. Try switching to a different mirror and -Syu again
Offline
Perhaps your mirror is out of date. Try switching to a different mirror and -Syu again
Switching from gigenet to osuosl and doing pacman -Syyu didn't give anything new. I do know that my installed Okular version is 2304, so that made me less suspicious of out-of-date packages
Offline
What does `pacman -Qi karchive` give?
Offline
What does `pacman -Qi karchive` give?
Well, that certainly revealed something
Name : karchive-git
Version : 5.105.0_r637.g38ba048-1
Description : Qt 5 addon providing access to numerous types of archives
Architecture : x86_64
URL : https://community.kde.org/Frameworks
Licenses : LGPL
Groups : None
Provides : karchive
Depends On : qt6-base
Optional Deps : None
Required By : kdoctools kemoticons kfilemetadata kiconthemes kpackage nextcloud-client
Optional For : None
Conflicts With : karchive
Replaces : None
Installed Size : 1049.76 KiB
Packager : Nico Jensch <dr460nf1r3@chaotic.cx>
Build Date : Wed 15 Mar 2023 01:39:28 PM CDT
Install Date : Wed 22 Mar 2023 08:57:28 PM CDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : SignatureA long time ago, I installed the git versions of my KDE packages because they were broken in the normal ones for some reason. Later, I reinstalled the normal ones, but this is the only one I forgot to reinstall the normal one of.
Installing the normal karchive gets okular working. Thank you!
However, I'm still having issues with kate starting. Debugging with gdb (aka the only thing I know what to do right now), I see that it starts, stops at a temporary breakpoint, then after continuing, it forks and exits normally. The gdb output looks like this:
Temporary breakpoint 1, main (argc=1, argv=0x7fffffffd778) at /usr/src/debug/kate/kate-23.04.0/apps/kate/main.cpp:58
58 {
(gdb) continue
Continuing.
[Detaching after fork from child process 753538]
[Inferior 1 (process 753418) exited normally]
(gdb)Thank you for helping with Okular though! It's been my most reliable PDF viewer and I'm glad to see it back again
Offline
ps aux | grep kate
# edit
killall kate
killall -9 kate
# /edit
kate -n
find ~ \! -user Noorquacker -print # replace "Noorquacker" w/ your usernameLast edited by seth (2023-04-23 21:17:31)
Offline
ps aux | grep kate # edit killall kate killall -9 kate # /edit kate -n find ~ \! -user Noorquacker -print # replace "Noorquacker" w/ your username
Kate was not running, even after kate -n. No output from ps aux except for the very same grep command, killall said nothing is running, and a ps aux after kate -n yielded nothing as well.
I trimmed the output to remove duplicates and some personal info:
/home/noorquacker/.config-old/gedit
/home/noorquacker/.config-old/gedit/accels
/home/noorquacker/.config-old/enchant
[stuff in my desktop folder, mostly just stuff that I don't have permission to access because I copied them as root and didn't bother setting permissions, all are owned by root:root and have permission 700. they are backups i don't access don't worry guys i swear it's ok]
/home/noorquacker/.cache/dconf
[stuff in my videos folder, all videos just located in ~/Videos, nothing in subfolders]
[a lot of stuff in my conda environments]
/home/noorquacker/.dbus~/.config-old is a backup of my .config folder that doesn't get used by anything
I assume this command shows files in my home folder I don't own, I took back ownership of ~/.cache/dconf and I'm still getting the same result ![]()
Offline
/home/noorquacker/.dbus
echo $DBUS_SESSION_BUS_ADDRESS[a lot of stuff in my conda environments]
… generally perhaps
printenvTry whether you can start kate w/ a fresh user account and just ftr, you can protect your porn collection against accidental deletion w/ "chattr +i"
Offline
/home/noorquacker/.dbus
echo $DBUS_SESSION_BUS_ADDRESS[a lot of stuff in my conda environments]
… generally perhaps
printenvTry whether you can start kate w/ a fresh user account and just ftr, you can protect your porn collection against accidental deletion w/ "chattr +i"
Here's DBUS_SESSION_BUS_ADDRESS:
unix:path=/run/user/1000/busAnd here's printenv: https://pastebin.com/7VNynbL9. Forgive my mess
Also, I didn't mean to protect my collection with root ownership, it was literally just me temporarily copying something as a backup over nfs as root and not touching it unless I needed it. A little silly of me to forget, but honestly it's not bothering me to have files I can't write on my desktop. It was just a little too personally identifying.
Starting with a fresh user account did no change to this either, unfortunately.
Offline
Pastebin is 404,
printenv | curl -F 'file=@-' 0x0.stBut
Starting with a fresh user account did no change to this either, unfortunately.doesn't sound good.
Since kate in the strace exits cleanly
type kate
killall kate
strace -f -o /tmp/kate.strace kate
cat /tmp/kate.strace | curl -F 'file=@-' 0x0.stOffline