Bug 334053

Summary: Error Message after creating Projects: Can't load KDevCMakeManager
Product: [Applications] kdevelop Reporter: sven.leo
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DOWNSTREAM    
Severity: major CC: denis.k1985, mu.tazila, sitter
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sven.leo 2014-04-29 07:18:47 UTC
After creating a new Simple CMake-based C++ application these error-messages appear:

"Could not load project management plugin KDevCMakeManager"

followed by:

"project import plugin (KDevCMakeManager) does not support the IProjectFileManager interface."

Then the process stops, it won't ask me for build settings, and there is also no project in the project-viewer. 

Reproducible: Always

Steps to Reproduce:
1. Follow these steps to create a new C++ project shown here http://userbase.kde.org/KDevelop4/FAQ#How_do_I_do_start_new_console_application.3F
2. Clicking "Finish" makes the error messages appear
Actual Results:  
error-messages:

"Could not load project management plugin KDevCMakeManager"

followed by:

"project import plugin (KDevCMakeManager) does not support the IProjectFileManager interface."

Expected Results:  
ask for build settings, add project to projects list

Set-up:

- Freshly set up Kubuntu 14.04 64bit system from completely formatted hard-drive
- KDELibs ver. 4.13.0
- KDevelop 4.6.0 (Installed from the Muon Discover Software Center)
- KDE Development Platform 4.13.0
- There is noting else on this machine, but Kubuntu, Wifi and NVIDIA drivers, and KDevelop!
Comment 1 Kevin Funk 2014-04-29 07:34:05 UTC
Try running "sudo kbuildsycoca4 --global" or just "kbuildsycoca4" as user.

Probably something went wrong while kdevelop got installed (did you interrupt the install?).
Comment 2 sven.leo 2014-04-29 07:45:43 UTC
(In reply to comment #1)
> Try running "sudo kbuildsycoca4 --global" or just "kbuildsycoca4" as user.
> 
> Probably something went wrong while kdevelop got installed (did you
> interrupt the install?).

No, I did not interrupt the installation process, which finished without any problems.

I ran the command which printed "kbuildsycoca4 running..." but nothing changed after that. Still the same error messages
Comment 3 Harald Sitter 2014-04-29 08:49:00 UTC
The error message is just crap and doesn't say what is actually going on.

It is caused by there being no cmake installed on the system, also see https://bugs.launchpad.net/ubuntu/+source/kdevelop/+bug/807386.

You can run
  sudo apt-get install cmake
to fix this issue.
Comment 4 Denis Kniazhev 2014-05-17 15:51:13 UTC
@Harald Sitter (comment #3): thanks a lot, installing cmake fixed it.
The error message is awful indeed.
Comment 5 GiovanniES 2014-05-31 18:13:18 UTC
In my case, the project was created, but a very simple and incomplete one that couldn't be built. Installing cmake fixed the problem.