Using code-editor as installed with dnf fails on finding a config file

When I call code-editor whether from the commandline or from the application menu, it fails. On terminal emulator it responds with the following output:

 gbonnema  ~  code-editor 
Failed to load core: Could not find 'Core.pluginspec' in /usr/lib64/code-editor/plugins,/home/gbonnema/.local/share/data//code-editor/code-editor/plugins/2.8.2
 gbonnema  ~  

The required file is present in /usr/lib64/code-editor/plugins as part of the install. I installed it a few versions ago, maybe in Fedora 28. I upgrade each version as soon as I can (after a 2 week cool down to be sure nothing is wrong). I also did a relabel this morning by restarting after a touch /.autorelabel. But the problem remains.

I have no idea why the program cannot find the file Core.pluginspec as it is clearly there and it seems accessible:

gbonnema  ~  ls -l /usr/lib64/code-editor/plugins/Core.pluginspec 
-rw-r--r--. 1 root root 1199 Jan 31 16:59 /usr/lib64/code-editor/plugins/Core.pluginspec
 gbonnema  ~  

Does anyone have any idea in what direction to look for a solution?

Hi @gbonnema. Welcome to the community.

I installed the package and see the same issue. It appears that the package has not been updated in quite some time and so is probably broken. I can’t find where the source code is hosted either so it’s quite possible it’s no longer maintained:

https://src.fedoraproject.org/rpms/code-editor/blob/master/f/code-editor.spec

You can file a bug if you wish, but I’d recommend using another tool if you can:

https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=code-editor

Well … I had no idea about this rpms-site and the info it contains: nice!

It’s not that I really need this editor, I was just curious about it. Also, it doesn’t happen a lot that packages in Fedora don’t work on arrival, so I guess I just jumped to the conclusion it was my setup.

Thanks for investigating and yes, I will look out for other tools.

I created a bug anyway: software in Fedora, no matter how old, should not be dead on arrival.

https://bugzilla.redhat.com/1723189

P.S. Although we have a unified userid/password for everything Fedora, I still need a redhat userid to enter a bug for Fedora …feels weird.

1 Like

Thanks. I expect the package will be retired since upstream is no longer active:

Hrm, no you don’t. If you click on “Login”, it should show “FAS login” as one of the options. Does that now show on your system?

P.S. Although we have a unified userid/password for everything Fedora, I still need a redhat userid to enter a bug for Fedora …feels weird.

Hrm, no you don’t. If you click on “Login”, it should show “FAS login” as one of the options. Does that now show on your system?

Yeah it does, and apparantly even links the bug I entered using my redhat userid (probably because the emails are the same) so in future I can just logon using FAS. thx.

2 Likes