This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDevelop Error - Can't load KDevCMakeManager

Tags: None
(comma "," separated)
PogoMips
Registered Member
Posts
10
Karma
0
Hi,

every time I try to create a new project I get the following error messages:

"Could not load project management plugin KDevCMakeManager"

That message is then followed by:

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

Does any one know how to resolve this?

I'm running Ubuntu 14.04
KDE 4.13.0
KDevelop 4.6.0
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Sounds like a bad upgrade, did you check that the KDevelop and KDevPlatform versions match?

Also try running kbuildsycoca or rebooting.

Greetings!


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
KDevelop: 4.6.0
KDevelop Platform: 1.6.0

tried rebooting and kbuildsycoca4 gave me this output:

Code: Select all
kbuildsycoca4 running...
kbuildsycoca4(3055)/kdecore (services) KServicePrivate::init: The desktop entry file  "/usr/share/applications/unity-scope-gdrive.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(3055) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/unity-scope-gdrive.desktop"
kbuildsycoca4(3055)/kdecore (services) KServicePrivate::init: The desktop entry file  "/usr/share/applications/unity-lens-photos.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(3055) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/unity-lens-photos.desktop"
kbuildsycoca4(3055)/kdecore (services) KServicePrivate::init: The desktop entry file  "/usr/share/applications/evolution-data-server-uoa.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(3055) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/evolution-data-server-uoa.desktop"
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
The output is harmless. It still doesn't work I guess?

Try reinstalling KDevelop and KDevPlatform. Something is wrong with your setup.

Greetings!


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
I removed and installed it again, but it's still the exact same error..
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Try starting KDevelop from console and paste the output here. Sometimes that contains information about why plugins could not be loaded.


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
1st line translates to:
A infinit loop was detected in connection with the binding associated with the attribute "source"

Code: Select all
qrc:/main.qml:23:1: QML Loader: Bei der für die Eigenschaft âÂÂsourceâ angegebenen Bindung wurde eine Endlosschleife festgestellt
qrc:/main.qml:23:1: QML Loader: Bei der für die Eigenschaft âÂÂsourceâ angegebenen Bindung wurde eine Endlosschleife festgestellt
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kdevelop(16431)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/home/sven/.kde/share/apps/kdevelop/sessions/{66da0b81-7c26-419e-ab9b-5cc53779eab6}/recovery/current"
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x2a00013
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Hm, sorry, that's not useful. Make sure everything matching "kdevelop" or "kdevplatform" is enabled in kdebugdialog (start it by typing "kdebugdialog") and try again, then you should get more detailed output.

You can by the way use LANGUAGE=en kdevelop to start KDevelop with english debug output. I don't care though, I speak German ;)


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
okay, now I get

Code: Select all
kdevelop(17902) PatchReviewPlugin::setPatch: setting new patch "Eigener Patch" with file KUrl("") basedir KUrl("")
kdevelop(17902) PatchReviewPlugin::notifyPatchChanged: notifying patch change:  KUrl("")
qrc:/main.qml:23:1: QML Loader: Bei der für die Eigenschaft âÂÂsourceâ angegebenen Bindung wurde eine Endlosschleife festgestellt
qrc:/main.qml:23:1: QML Loader: Bei der für die Eigenschaft âÂÂsourceâ angegebenen Bindung wurde eine Endlosschleife festgestellt
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kdevelop(17902)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/home/sven/.kde/share/apps/kdevelop/sessions/{66da0b81-7c26-419e-ab9b-5cc53779eab6}/recovery/current"
kdevelop(17902) PatchReviewPlugin::updateKompareModel: updating model
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5200013
kdevelop(17902) KSambaSharePrivate::isSambaInstalled: Samba is not installed!
kdevelop(17902) KSambaSharePrivate::isSambaInstalled: Samba is not installed!
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Meh, there should be way more output, like a few dozen pages at least. Not sure what's wrong there.

Since I don't know how to fix that, try:

ldd /usr/lib/kde4/kdevcmakemanager.so
cat /usr/share/kde4/services/kdevcmakemanager.desktop

and look at (or paste) the output. The former should return no errors about not-found libs, the latter should have X-KDevelop-Version=16.

You could also try to add /usr to the $KDEDIRS env var and re-running kbuildsycoca afterwards, but it makes no sense that this is the problem so it probably won't help...


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
first command produced no error outputs, everything looks normal to me.

Code: Select all
   linux-vdso.so.1 =>  (0x00007fff3a9fe000)
   libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0x00007f9f3b1a0000)
   libkdevplatformutil.so.7 => /usr/lib/libkdevplatformutil.so.7 (0x00007f9f3af72000)
   libkdevplatforminterfaces.so.7 => /usr/lib/libkdevplatforminterfaces.so.7 (0x00007f9f3ad40000)
   libkdev4cmakecommon.so => /usr/lib/libkdev4cmakecommon.so (0x00007f9f3aab8000)
   libkdevplatformproject.so.7 => /usr/lib/libkdevplatformproject.so.7 (0x00007f9f3a877000)
   libkdevplatformlanguage.so.7 => /usr/lib/libkdevplatformlanguage.so.7 (0x00007f9f3a450000)
   libkdevplatformoutputview.so.7 => /usr/lib/libkdevplatformoutputview.so.7 (0x00007f9f3a234000)
   libktexteditor.so.4 => /usr/lib/libktexteditor.so.4 (0x00007f9f39ff2000)
   libkparts.so.4 => /usr/lib/libkparts.so.4 (0x00007f9f39d9e000)
   libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f9f390eb000)
   libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0x00007f9f38c2a000)
   libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f9f38744000)
   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9f38440000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9f3807a000)
   libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f9f37e71000)
   libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f9f37c55000)
   libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f9f37920000)
   libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4 (0x00007f9f376da000)
   libattica.so.0.4 => /usr/lib/x86_64-linux-gnu/libattica.so.0.4 (0x00007f9f373f7000)
   libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007f9f370af000)
   libQtSvg.so.4 => /usr/lib/x86_64-linux-gnu/libQtSvg.so.4 (0x00007f9f36e57000)
   libdbusmenu-qt.so.2 => /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2 (0x00007f9f36c25000)
   libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f9f36a1f000)
   libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f9f36814000)
   libQtDBus.so.4 => /usr/lib/x86_64-linux-gnu/libQtDBus.so.4 (0x00007f9f36599000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9f36293000)
   libkcmutils.so.4 => /usr/lib/libkcmutils.so.4 (0x00007f9f36054000)
   librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9f35e4c000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9f35c2e000)
   libQtScript.so.4 => /usr/lib/x86_64-linux-gnu/libQtScript.so.4 (0x00007f9f35786000)
   libkio.so.5 => /usr/lib/libkio.so.5 (0x00007f9f352dd000)
   libthreadweaver.so.4 => /usr/lib/libthreadweaver.so.4 (0x00007f9f350c6000)
   libgrantlee_core.so.0 => /usr/lib/libgrantlee_core.so.0 (0x00007f9f34e6d000)
   libnepomuk.so.4 => /usr/lib/libnepomuk.so.4 (0x00007f9f34ba1000)
   libnepomukutils.so.4 => /usr/lib/libnepomukutils.so.4 (0x00007f9f34967000)
   libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f9f3472b000)
   libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007f9f34512000)
   libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f9f3420a000)
   libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f9f33fe4000)
   libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9f33dca000)
   libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f9f33b27000)
   libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f9f338d6000)
   libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f9f336c5000)
   libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f9f334b3000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9f3329d000)
   libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f9f3308c000)
   liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f9f32e6a000)
   libdlrestrictions.so.1 => /usr/lib/libdlrestrictions.so.1 (0x00007f9f32c65000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9f32a60000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f9f3ba4b000)
   libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f9f3285b000)
   libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f9f3263b000)
   libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f9f323f6000)
   libstreamanalyzer.so.0 => /usr/lib/libstreamanalyzer.so.0 (0x00007f9f32177000)
   libsolid.so.4 => /usr/lib/libsolid.so.4 (0x00007f9f31e77000)
   libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f9f31c6f000)
   libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f9f31a69000)
   libsoprano.so.4 => /usr/lib/libsoprano.so.4 (0x00007f9f31781000)
   libnepomukquery.so.4 => /usr/lib/libnepomukquery.so.4 (0x00007f9f3153a000)
   libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f9f31310000)
   libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f9f310aa000)
   libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f9f30ea5000)
   libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f9f30c67000)
   libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f9f30a5f000)
   libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f9f30858000)
   libstreams.so.0 => /usr/lib/libstreams.so.0 (0x00007f9f30621000)
   libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f9f302ba000)
   libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f9f300a9000)
   libcgmanager.so.0 => /lib/x86_64-linux-gnu/libcgmanager.so.0 (0x00007f9f2fe8e000)
   libnih.so.1 => /lib/x86_64-linux-gnu/libnih.so.1 (0x00007f9f2fc76000)
   libnih-dbus.so.1 => /lib/x86_64-linux-gnu/libnih-dbus.so.1 (0x00007f9f2fa6c000)


second command:

Code: Select all
[Desktop Entry]
Type=Service
Name=CMake Project Manager
Name[bs]=Cmake menadžer projekta
Name[ca]=Gestor de projectes CMake
Name[ca@valencia]=Gestor de projectes CMake
Name[cs]=Správce projektů CMake
Name[da]=CMake-projekthåndtering
Name[de]=CMake-Projektverwaltung
Name[el]=Διαχειριστής έργου CMake
Name[en_GB]=CMake Project Manager
Name[es]=Gestor de proyectos CMake
Name[et]=CMake'i projektihaldur
Name[fi]=CMake-projektinhallinta
Name[fr]=Gestionnaire de projets CMake
Name[gl]=Xestor de proxectos CMake
Name[hu]=CMake projektkezelő
Name[it]=Gestore progetto CMake
Name[ja]=CMake プロジェクトマネージャ
Name[kk]=CMake жоба менеджері
Name[km]=កម្មវិធី​គម្រោង CMake
Name[nb]=CMake prosjekstyrer
Name[nds]=CMake-Projektpleger
Name[nl]=CMake-projectbeheerder
Name[pl]=Menadżer projektów CMake
Name[pt]=Gestor de Projectos do CMake
Name[pt_BR]=Gerenciador de Projeto CMake
Name[ru]=Управление проектами CMake
Name[sk]=Projektový manažér CMake
Name[sl]=Upravljalnik projekta CMake
Name[sv]=CMake-projekthantering
Name[tr]=CMake Proje Yönetici
Name[ug]=CMake قۇرۇلۇش باشقۇرغۇچ
Name[uk]=Керування проектами CMake
Name[x-test]=xxCMake Project Managerxx
Name[zh_CN]=CMake 工程管理器
Name[zh_TW]=CMake 專案管理員
GenericName=Project Manager
GenericName[bs]=Rukovodilac projekta
GenericName[ca]=Gestor de projectes
GenericName[ca@valencia]=Gestor de projectes
GenericName[cs]=Správce projektů
GenericName[da]=Projekthåndtering
GenericName[de]=Projektverwaltung
GenericName[el]=Διαχειριστής έργου
GenericName[en_GB]=Project Manager
GenericName[eo]=Projektadministrilo
GenericName[es]=Gestor de proyectos
GenericName[et]=Projektihaldur
GenericName[fi]=Projektihallinta
GenericName[fr]=Gestionnaire de projets
GenericName[ga]=Bainisteoir Tionscadail
GenericName[gl]=Xestor de proxectos
GenericName[hu]=Projektkezelő
GenericName[it]=Gestore progetto
GenericName[ja]=プロジェクトマネージャ
GenericName[kk]=Жоба менеджері
GenericName[km]=កម្មវិធី​គ្រប់គ្រង​គម្រោង
GenericName[nb]=Prosjektbehandler
GenericName[nds]=Projektpleger
GenericName[nl]=Projectbeheerder
GenericName[nn]=Prosjekthandsamar
GenericName[pl]=Menadżer projektu
GenericName[pt]=Gestor de Projectos
GenericName[pt_BR]=Gerenciador de Projetos
GenericName[ru]=Управление проектами
GenericName[sk]=Správca projektu
GenericName[sl]=Upravljalnik projektov
GenericName[sv]=Projekthantering
GenericName[tr]=Proje Yönetici
GenericName[ug]=قۇرۇلۇش باشقۇرغۇچ
GenericName[uk]=Керування проектами
GenericName[x-test]=xxProject Managerxx
GenericName[zh_CN]=工程管理器
GenericName[zh_TW]=專案管理員
Comment=Allows KDevelop to manage CMake-based projects
Comment[bs]=Dopušta da KDevelop upravlja CMake-baziranim projektima
Comment[ca]=Permet que el KDevelop gestioni projectes basats en CMake
Comment[ca@valencia]=Permet que el KDevelop gestione projectes basats en CMake
Comment[cs]=Umožňuje KDevelop spravovat projekty založené na CMake
Comment[da]=Lader KDevelop håndtere CMake-baserede projekter
Comment[de]=Erlaubt das Verwalten CMake-basierter Projekte mit KDevelop
Comment[el]=Επιτρέπει στο KDevelop τη διαχείριση έργων με βάση το CMake
Comment[en_GB]=Allows KDevelop to manage CMake-based projects
Comment[es]=Permite que KDevelop gestione proyectos basados en CMake
Comment[et]=Võimaldab KDevelopil hallata CMake'i põhiseid projekte
Comment[fi]=Sallii KDevelop-ohjelman hallinnoida CMake-perustaisia projekteja
Comment[fr]=Permet à KDevelop de gérer des projets utilisant CMake
Comment[ga]=Ceadaigh do KDevelop tionscadail CMake a bhainistiú
Comment[gl]=Permítelle a KDevelop xestionar proxectos baseados en CMake
Comment[hu]=Lehetővé teszi a KDevelop számára a CMake alapú projektek kezelését
Comment[it]=Permette a KDevelop di gestire i progetti basati su CMake
Comment[kk]=KDevelop-та CMake жобаларын басқару мүмкіндігі
Comment[nb]=Gjør at KDevelop kan håndtere prosjekter basert på CMake
Comment[nds]=Projekten mit KDevelop plegen, de op CMake opbuut
Comment[nl]=Staat KDevelop toe om op CMake gebaseerde projecten te beheren
Comment[pl]=Pozwala KDevelop na zarządzanie projektami opartymi o CMake
Comment[pt]=Permite ao KDevelop gerir os projectos baseados no CMake
Comment[pt_BR]=Permite ao KDevelop gerenciar projetos baseados em CMake
Comment[ru]=Позволяет управлять проектами на базе CMake в KDevelop
Comment[sk]=Povolí KDevelopu spravovať projekty založené na CMake
Comment[sl]=Omogoča, da KDevelop upravlja s projekti temelječimi na CMake
Comment[sv]=Låter KDevelop hantera CMake-baserade projekt
Comment[tr]=KDevelop uygulamasının CMake temelli projeleri yönetmesine izin verir
Comment[ug]=KDevelop نىڭ CMake ئاساسىدىكى قۇرۇلۇشلارنى باشقۇرۇشىغا ئىجازەت
Comment[uk]=Надає змогу KDevelop керувати заснованими на CMake проектами
Comment[x-test]=xxAllows KDevelop to manage CMake-based projectsxx
Comment[zh_CN]=允许 KDevelop 管理基于 CMake 的工程
Comment[zh_TW]=允許 KDevelop 管理 CMake-based 專案
Icon=cmake
ServiceTypes=KDevelop/Plugin
X-KDE-Library=kdevcmakemanager
X-KDE-PluginInfo-Author=Matt Rogers
X-KDE-PluginInfo-Email=mattr@kde.org
X-KDE-PluginInfo-Name=KDevCMakeManager
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-Category=Project Management
X-KDevelop-Version=16
X-KDevelop-Category=Project
X-KDevelop-Language=CMake
X-KDevelop-Interfaces=org.kdevelop.IBuildSystemManager,org.kdevelop.IProjectFileManager,ILanguageSupport
X-KDevelop-SupportedMimeTypes=text/x-cmake
X-KDevelop-Mode=GUI
X-KDevelop-ProjectFilesFilter=CMakeLists.txt
X-KDevelop-ProjectFilesFilterDescription=CMake Project Files
X-KDevelop-LoadMode=AlwaysOn
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Yeah, looks fine to me too. Very strange. I don't know what else could be the problem.

Did you ever build KDevelop from source or install it to a different place? Maybe some of that is still around? That tends to cause lots of strange problems.

Greetings!


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
well I once tried to install it when I was still running Ubuntu 12.04,
but I think that crashed and I never tried it again to this point. Maybe there's still something around of it.
Is there a way to find out?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
You could try something like find / -name '*kdevelop*' or so and check that that only lists things (well, at least libraries and desktop files) from /usr.


I'm working on the KDevelop IDE.
PogoMips
Registered Member
Posts
10
Karma
0
Okay, so over the weekend I completely formatted my harddrive, set up a new Kubuntu 14.04 system, and installed KDevelop.

Still, I'm experiencing the same problem.
There is absolutely nothing else on this machine, than Kubuntu and KDevelop.
Maybe I should submit a bugreport to the developers. I'm out of ideas..


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]