Attempt to open a csv with KWrite

Right-click on a csv file and open with other application, typing / seleting kwrite results in

Is it not possible to text edit a csv file?

The one or two csv files I tried open just fine. Could it be the specific files, maybe?

Check your executable or configuration for the kwrite application.

It seems kwrite .desktop file has an empty Exec line somehow.
At least according to the error message.

where would kde store the .desktop for kwrite? (I didnt make it)

In Fedora the are in /usr/share/applications which you should not be able to edit as a normal user. You may have a override in ~/.local/share/applications

FYI: As I was not sure where these are stored I did these commands to find them:

find /usr -name '*.desktop'
find ~/.local -name '*.desktop'

To find the kwrite file I would use:

find /usr -name '*kwrite*.desktop'
find ~/.local -name '*kwrite*.desktop'