kwrite kate "A KDE text-editor component could not be found. Please check your KDE installation."

After upgrading to KDE4.7 I would get the error message, “A KDE text-editor component could not be found. Please check your KDE installation.”, when I clicked on text files. The all knowing Google provided no answer so I am leaving my solution here in case others are as unfortunate.

For some reason kdelibs3-32bit is pulled in when I upgraded to kde 4.7, removing it fixed the problem.

For some reason kdelibs3-32bit is pulled in when I upgraded to kde 4.7, removing it fixed the problem.

Thanks for sharing this.

Kwrite didn’t work for me either and my 4.7 upgrade did not install kdelibs3-32bit so the solution offered here (removing kdelibs3-32bit) didn’t work. However, I then installed kate and kwrite subsequently started working too. Weird… Kate required a dependency which is what probably fixed kwrite. Unfortunately, I don’t remember the name of the dependency.

Kate was already on my system, so everything worked by removing the kde3 library. I suspect that what was missing was “libktexteditor”. So in case you are having the same problem as, gldickens3, and you are missing “libktexteditor”, install it, and report in this thread.

Hey, just out of curiosity, I recovered from a rsync backup that I made two days ago, reinstalled kate and, just as you suspected, it was libktexteditor that kate installed as a dependency that made kwrite start working. FYI…

Or you could
sudo pacman -Rc kdebase-runtime
sudo pacman -S kile

first delete the kdebase-runtime cascadely delete all the package that may cause problem.
then install kile will install the right packages.

Don’t try this. AFAICT this will ruin your KDE install.

Hey there,

Had the same problem, solved by installing libktexteditor

thanks a lot

that is the first problem I’ve had with opensuse 12.2
I solved my problem by install and reinstall the above mentioned files and REBOOTING the system

I’m getting the same error dialog message when trying to open up Kwrite and Kate from the Kickoff Menu, Alt-F2, or from the “Open With” in Dolphin, since I did an “upgrade” of openSUSE to 12.3.9 and KDE to 4.10.3 – yet, I do not get that error dialog when opening a file up for Kate/Write from Krusader, and I can start “kate” from the Konsole command line (though while it gives a lot of error messages, it still starts up), and “kwrite” (no error message here, though) starts up too.

The libktexteditor component IS installed, and I checked for the kdelibs3-32bit file someone mentioned here to remove, but was not able to “find” such a file.

********** PROBLEM SOLVED ********* I rebooted the computer and now Kate and Kwrite work; it would have been nice if I would have been informed to do that, after the updates/upgrades!**

…sorry I don’t remember where I found this tip, but it works
Open a terminal and type:
dbus-launch kwrite (or) kate

…sorry I don’t remember where I found this tip, but it works.
in a terminal type: dbus-launch kwrite (or) kate

I can confirm this works. Thanks a lot!!

I’m having the same issue here but the tips don’t work. I just loaded a fresh install of 13.1 in a VM. I installed Kate using Yast2. When I try to run Kate from either the command line or the desktop, I get the pop-up with “A KDE text-editor component could not be found.” This is a pre-req for running Kdevelop 4.6 as well which gives me a Kate error when I load that even though I have the Kate-devel package installed as well. That gives me the error that it can’t find “KTextEditor::Factory” which I am assuming is from a Kate header.

Anyone have any thoughts? Anyone have the same issue with 13.1?

Solved: Used the OpenSUSE updater then updated KDE4 manually and rebooted. Seemed to fix the issue.