Registered Member
|
I'm using KDevelop 4.5.1 (kubuntu 12.04LTS). When I try to create a class as "New from template" the wizard creates only empty files. What's wrong with it or what else should I do to create a class completely?
I've run it from console. After I selected "New from template" it appeared to complain about "Plugin library 'kdev_filters' not found." Would you, please, explain what indeed I'm missing? I have all available plugins selected in "Configure kdevelop" menu item. |
Administrator
|
Please check in your package manager that all kdevplatform, kapptemplate and kdevelop packages which may contain plugins, etc. are installed. -dev and -dbg packages aren't needed in this case.
Also, please run "kbuildsycoca4 --noincremental".
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Here is what I have on my system:
i kapptemplate - application template generator p kapptemplate:i386 - application template generator iB kdevelop - integrated development environment for KDE p kdevelop:i386 - integrated development environment for KDE pB kdevelop-custom-buildsystem - KDevelop plugin to handle arbitrary custom buildsystems p kdevelop-custom-buildsystem:i386 - KDevelop plugin to handle arbitrary custom buildsystems i A kdevelop-data - data files for the KDevelop IDE p kdevelop-dev - development files for the KDevelop IDE p kdevelop-dev:i386 - development files for the KDevelop IDE p kdevelop-pg-qt - LL(1) parser generator based on Qt p kdevelop-pg-qt:i386 - LL(1) parser generator based on Qt p kdevelop-php - PHP plugin for KDevelop p kdevelop-php:i386 - PHP plugin for KDevelop p kdevelop-php-dbg - Debugging symbols for the KDevelop PHP Plugin p kdevelop-php-dbg:i386 - Debugging symbols for the KDevelop PHP Plugin p kdevelop-php-docs - PHP documentation plugin for KDevelop p kdevelop-php-docs:i386 - PHP documentation plugin for KDevelop p kdevplatform-dbg - debugging symbols for the KDevelop platform p kdevplatform-dbg:i386 - debugging symbols for the KDevelop platform p kdevplatform-dev - development files for the KDevelop platform p kdevplatform-dev:i386 - development files for the KDevelop platform c kdevplatform5-libs - shared libraries for the KDevelop platform p kdevplatform5-libs:i386 - shared libraries for the KDevelop platform i A kdevplatform7-libs - shared libraries for the KDevelop platform Is this sufficient? |
Administrator
|
That should be sufficient. Have you tried running the kbuildsycoca4 command with KDevelop closed to see if that has any effect?
Also, if you run KDevelop from a terminal, are any messages printed which indicate failure to load other plugins?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
After I'd run cocoa it displayed something like that:
kbuildsycoca4 running... kbuildsycoca4(20956) VFolderMenu::loadDoc: Parse error in "/home/k/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line 1 , col 1 : "unexpected end of file" I don't see anything related to kdevelop. |
Administrator
|
Output such as that is usually fairly harmless and can be safely ignored - did it have any impact on KDevelop though?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
...but after running from terminal I've got this:
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work bzDecompress returned 4 KBzip2Filter::uncompress 1 ... "KConfigIni: In file /home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate, line 69: " Invalid entry (missing '=') bzDecompress returned 4 KBzip2Filter::uncompress 1 ... "KConfigIni: In file /home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate, line 69: " Invalid entry (missing '=') bzDecompress returned 4 KBzip2Filter::uncompress 1 ... qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" qrc:/Starting.qml:101: ReferenceError: Can't find variable: implicitHeight kdevelop(21141)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/home/krzysztof/.kde/share/apps/kdevelop/sessions/{7464f513-7ac8-4a00-814a-8fb71de98c91}/recovery/current" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x5e00012 kdevelop(21141)/konsole Konsole::Session::run: Attempted to re-run an already running session. X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x5e0001c pp_macro::definition There were items left on destruction: 219 register count: 0, destroy count 0: krzysztof@krzysztof-desktop:~$ kdevelop KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work bzDecompress returned 4 KBzip2Filter::uncompress 1 ... "KConfigIni: In file /home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate, line 69: " Invalid entry (missing '=') bzDecompress returned 4 KBzip2Filter::uncompress 1 ... "KConfigIni: In file /home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate, line 69: " Invalid entry (missing '=') bzDecompress returned 4 KBzip2Filter::uncompress 1 ... qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" qrc:/Starting.qml:101: ReferenceError: Can't find variable: implicitHeight kdevelop(21742)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/home/krzysztof/.kde/share/apps/kdevelop/sessions/{7464f513-7ac8-4a00-814a-8fb71de98c91}/recovery/current" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x5800012 kdevelop(21742)/konsole Konsole::Session::run: Attempted to re-run an already running session. pp_macro::definition There were items left on destruction: 219 register count: 0, destroy count 0: krzysztof@krzysztof-desktop:~$ kdevelop KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work bzDecompress returned 4 KBzip2Filter::uncompress 1 ... "KConfigIni: In file /home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate, line 69: " Invalid entry (missing '=') bzDecompress returned 4 KBzip2Filter::uncompress 1 ... "KConfigIni: In file /home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate, line 69: " Invalid entry (missing '=') bzDecompress returned 4 KBzip2Filter::uncompress 1 ... qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" qrc:/Starting.qml:101: ReferenceError: Can't find variable: implicitHeight kdevelop(22270)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/home/krzysztof/.kde/share/apps/kdevelop/sessions/{7464f513-7ac8-4a00-814a-8fb71de98c91}/recovery/current" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x5800012 kdevelop(22270)/konsole Konsole::Session::run: Attempted to re-run an already running session. X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x580001c pp_macro::definition There were items left on destruction: 219 |
Administrator
|
Please move the directory /home/krzysztof/.kde/share/apps/kdevappwizard/ elsewhere - it appears to contain invalid data which may be interfering with system wide versions of templates.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
After that and running kdevelop it seems the .../kdevappwizzard was recreated. The messages are the same while running kdevelop from console.
|
Administrator
|
I see, the KDevelop devs will need to investigate this i'm afraid - which repository did the KDevelop packages you install come from?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
The problem is that 'kapptemplate' package (where 'kde-simple.kdevtemplate') etc. originate from. (Is that actually supposed to work? I never tried it).
Anyways, could you attach the contents of '/home/krzysztof/.kde/share/apps/kdevappwizard/template_descriptions/kde-simple.kdevtemplate' here, so we can investigate what's wrong? You could also try to get rid off the 'kapptemplate' package altogether (then you'll loose some KDE-related templates, but the rest of the templates should work fine). |
Registered Member
|
I've installed kdevelop from backports repository because this from the main one is quite old.
|
Administrator
|
As the forum doesn't support attachments, I suggest posting the contents of the file either on a pastebin site, or in [code] tags, depending on the size of the file.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
That's the file you wanted to look at.
# KDE Config File [General] Name=Minimal C++ KDE Name[ca]=C++ KDE mínima Name[ca@valencia]=C++ KDE mínima Name[da]=Minimalt C++ KDE Name[de]=Einfache KDE-C++-Anwendung Name[el]=Minimal C++ KDE Name[es]=C++ KDE mínimo Name[et]=Minimaalne C++ KDE Name[fr]=C++ minimal pour KDE Name[ga]=C++ KDE an-simplí Name[hu]=Minimális C++ KDE Name[it]=C++ KDE minimo Name[kk]=Минималды C++ KDE Name[lt]=Minimalus C++ KDE Name[nb]=Minimal C++ KDE Name[nl]=Minimale C++ KDE Name[pl]=Minimalny C++ KDE Name[pt]=C++ para KDE Mínima Name[pt_BR]=C++ para KDE mínima Name[sk]=Minimálne C++ KDE Name[sr]=Минимални Ц++ за КДЕ Name[sr@ijekavian]=Минимални Ц++ за КДЕ Name[sr@ijekavianlatin]=Minimalni C++ za KDE Name[sr@latin]=Minimalni C++ za KDE Name[sv]=Minimal C++ KDE Name[tr]=Basit C++ KDE uygulaması Name[uk]=Мінімальна C++, KDE Name[x-test]=xxMinimal C++ KDExx Name[zh_CN]=最小 C++ KDE Name[zh_TW]=Minimal C++ KDE Comment=A very basic KDE GUI Application in C++ Comment[ca]=Una aplicació IGU del KDE molt bàsica en C++ Comment[ca@valencia]=Una aplicació IGU del KDE molt bàsica en C++ Comment[cs]=Úplně základní GUI aplikace KDE v C++ Comment[da]=Et meget basalt grafisk KDE-program i C++ Comment[de]=Eine sehr einfache KDE-Anwendung mit grafischer Oberfläche in C++ Comment[el]=Μια βασικού επιπέδου GUI εφαρμογή για το KDE σε C++ Comment[es]=Una aplicación en C++ muy básica con interfaz gráfica para KDE Comment[et]=Väga lihtne KDE GUI rakendus C++ keeles Comment[fr]=Une application avec interface graphique très basique pour KDE Comment[ga]=Feidhmchlár grafach an-simplí KDE, scríofa i C++ Comment[hu]=Egy nagyon alap KDE grafikus alkalmazás C++ nyelven Comment[it]=Una semplicissima applicazione grafica di KDE in C++ Comment[kk]=C++ тілдегі өте шектелген KDE GUI қолданбасы Comment[nb]=Et svært enkelt KDE GUI-program i C++ Comment[nl]=Een zeer basale KDE GUI-toepassing in C++ Comment[pl]=Bardzo podstawowy program graficznego interfejsu użytkownika dla KDE w C++ Comment[pt]=Uma aplicação gráfica muito básica do KDE em C++ Comment[pt_BR]=Um aplicativo gráfico muito básico do KDE em C++ Comment[sk]=Veľmi základná KDE GUI aplikácia v C++ Comment[sr]=Сасвим основни графички КДЕ програм у Ц++у Comment[sr@ijekavian]=Сасвим основни графички КДЕ програм у Ц++у Comment[sr@ijekavianlatin]=Sasvim osnovni grafički KDE program u C++u Comment[sr@latin]=Sasvim osnovni grafički KDE program u C++u Comment[sv]=Ett mycket enkelt KDE-program med grafiskt gränssnitt i C++ Comment[tr]=C++ ile yazılmış basit bir KDE Grafiksel Kullanıcı Arayüzü Uygulaması Comment[uk]=Мінімалістична програма з графічним інтерфейсом KDE на C++ Comment[x-test]=xxA very basic KDE GUI Application in C++xx Comment[zh_CN]=非常简单的 C++ KDE GUI 应用程序 Comment[zh_TW]=最基本的 C++ KDE 圖形介面應用程式 Category=KDE/Graphical Icon=kde-simple.png ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp - |
Registered Member
|
Could I expect any advice? The problem still persists.
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]