After start a pop up appear with message: Could not start process Unable to create io-slave: klauncher said: Protocollo «» sconosciuto. (Protocol unknow) Popup re-appear if I try to save a open file openSUSE 12.2 with kde-4.11 Reproducible: Always Steps to Reproduce: 1. start kdevelop 2. 3. Actual Results: unuseable Expected Results: working software :) konsole output: kdevelop(7598) KDevNinjaBuilderPlugin::KDevNinjaBuilderPlugin: Ninja plugin installed but ninja is not installed. kdevelop(7598)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: "Plugin 'Compilatore progetto Ninja' could not be loaded correctly and was disabled. Reason: ." kdevelop(7598) KDevNinjaBuilderPlugin::KDevNinjaBuilderPlugin: Ninja plugin installed but ninja is not installed. kdevelop(7598)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: "Plugin 'Compilatore progetto Ninja' could not be loaded correctly and was disabled. Reason: ." kdevelop(7598): couldn't create slave: "Unable to create io-slave: klauncher said: Protocollo �� sconosciuto. " Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" kdevelop(7598)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/home/dan/.kde4/share/apps/kdevelop/sessions/{844fde6b-4e02-46b3-a5d3-ac0d39d7cacb}/recovery/current" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x5200013 kdevelop(7598): couldn't create slave: "Unable to create io-slave: klauncher said: Protocollo �� sconosciuto. " kdevelop(7598) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf Loaded services file OK. ERROR: pid directory /var/run/samba does not exist " X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x520017d X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x520001d Thread::requestAbort: not running. Thread::requestAbort: not running. register count: 0, destroy count 0:
Please try to re-run with console output in english. Somehow, the actual protocol name is missing in the lines "klauncher said: Protocollo �� sconosciuto.". Try re-running with "LC_ALL=C kdevelop". In any case: This looks more like a setup issue (e.g. missing distro package or something).
I did it with LANG=C but anyway, the ouput is the same with LC_ALL. Side note: why for the hell samba is involved in kdevelop startup ?? Installed packages: kdevelop4-plugins-php-doc-1.6.0-11.1.i586 kdevelop4-4.6.0-10.1.i586 kdevelop4-plugins-php-1.6.0-11.1.i586 kdevelop4-devel-4.6.0-10.1.i586 kdevelop4-lang-4.6.0-10.1.noarch Tested with a fresh user, same error.
Try with LC_MESSAGES=C instead. This should display the console messages in english.
Still the same. Sorry I don't know why this half english half italian. Yes no protocol name...
Ok english output (after login as root) but protocol still missing: kdevelop(4604)/kdevplatform (language) KDevelop::ItemRepositoryRegistryPrivate::open: version-hint not found, seems to be an old version kdevelop(4604)/kdevplatform (language) KDevelop::ItemRepositoryRegistryPrivate::open: "The data-repository at /root/.cache/kdevduchain/kdevelop-{1f381660-2cb7-4353-9175-59ef17e7e046} has to be cleared." qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x2c00013 kdevelop(4604) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf Loaded services file OK. ERROR: pid directory /var/run/samba does not exist " /usr/bin/cat: /root/.kde4/share/apps/kdevelop/sessions/{1f381660-2cb7-4353-9175-59ef17e7e046}/default.sh: No such file or directory kdevelop(4604)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Unable to find a plugin named ' "" '! kdevelop(4604) KDevNinjaBuilderPlugin::KDevNinjaBuilderPlugin: Ninja plugin installed but ninja is not installed. kdevelop(4604)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: "Plugin 'Ninja Project Builder' could not be loaded correctly and was disabled. Reason: ." kdevelop(4604) KDevNinjaBuilderPlugin::KDevNinjaBuilderPlugin: Ninja plugin installed but ninja is not installed. kdevelop(4604)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: "Plugin 'Ninja Project Builder' could not be loaded correctly and was disabled. Reason: ." kdevelop(4604): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " kdevelop(4604): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " kdevelop(4604)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could not open file "%25{dest}/3.php" (path "%{dest}/3.php" ) X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x2c0017d X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x2c0001d Thread::requestAbort: not running. Thread::requestAbort: not running. register count: 0, destroy count 0:
Some news: it seems that it happens only with php project. No io-slave error with cmake project.
Did you ever ran kbuildsycoca4? If not - try that and see if it works. I presume that the packages are broken when they don't run this after installation. Or did you install the PHP plugin on your own?
All packages installed from opensuse repo (see #3) and kbuildsycoca didn't help.
Fresh install of opensuse 13.1 with kde-4.12.2 and kdevelop-4.6, same issue. For me the issue is: whe you start a new php project 'foo' there are two file foo.php. One empty opened in the editor and another one stored in ~/projects/foo/. If I close the former I can go ahead. Then I can open the latter and working on it without issue (at least after a quick test). The files are not the same, the stored one has some code (php open tag, Documentation, License parts..). Any thoughts ?
I saw the same on KDevelop 1.6.0 installed on MacOSX 10.9.2 through MacPorts running KDE 4.12.2. I'll attach a PNG which demonstrates that KDevelop wants to access a file at a path which still seems to include same strange place-holder "%25{dest}/src/" as above which must be the reason for that KDevelop can't access the file properly. Once I've closed that illegal file all goes well (I can browse the code, start the build and it builds just fine. Doesn't run yet, but that's another issue.)
Created attachment 85599 [details] KDevelop's state right after creating a new application from scratch
Created attachment 85600 [details] KDevelop's document browser shows that it tries to access the file at a non-existent path
(In reply to comment #7) > Did you ever ran kbuildsycoca4? If not - try that and see if it works. Yes, I did so, otherwise KDevelop wouldn't start properly due to some Kate issue. So, kbuildsycoca4 isn't the solution, yet.
(In reply to comment #6) > Some news: it seems that it happens only with php project. > No io-slave error with cmake project. In my case it was a graphical application! So, it does NOT only happen with a php project.
This issue is marked as being waiting for info. Which info could/should be delivered? I am willing to investigate further.
(In reply to comment #15) > This issue is marked as being waiting for info. Which info could/should be > delivered? I am willing to investigate further. Also marked as resolved.. Why ?? We have exactly the same problem, what a lucky guys :)
I also wondered why it was marked resolved as well as waiting for info... Trying to reopen it.
Can someone please write down the _explicit_ steps to reproduce this issue? Apparently you use the "new project from template". Please list _every_ input you enter in this wizard, with selections, file paths, names etc. pp.
(In reply to comment #18) > Can someone please write down the _explicit_ steps to reproduce this issue? > Apparently you use the "new project from template". Please list _every_ > input you enter in this wizard, with selections, file paths, names etc. pp. For me: start kdevelop click New Project, then the wizard starts. choose php add a name (eg. foo) next finish. Error appear. If I close kdevelop, on restarting the error re-appear. I already posted the kdevelop ouput, I can attach strace ouput if you want but it's loooong.
For me: 1) start develop 2) click New Project 3) click on Project Type "Graphical" 4) Choose C++ KDE 5) Choose "TestProject" as Application Name 6) Click Next 7) Click Finish 8) Leave "Configure build directory settings" as is and click OK 9) Then image "KDevelop's state right after creating a new application from scratch" shows the dialogs popping up 10) Click "Close" in red dialog at the top of the main window 11) All classes are browsable in the class viewer and there is no warning anymore about the wrong path starting with "%25{dest}"... SPECULATION: Could it be that the missing path has been created some time after KDevelop's FIRST start and therefore doesn't appear anymore once you've got a functional KDevelop environment??!
(In reply to comment #20) > 11) All classes are browsable in the class viewer and there is no warning > anymore about the wrong path starting with "%25{dest}"... I didnt mean to say "no warning", I meant no entry in the Document tree structure with that wrong path in there.
And I realised now that the first file automatically opened by KDevelop after project creation - in this case TestProject.cpp - would be EMPTY! But if you click in class browser on the TestProject3 constructor the REAL FILE will open up and be just fine. The other zombie just needs to closed for good and gone it is...
OK, in order to reproduce image "KDevelop's document browser shows that it tries to access the file at a non-existent path" I had to stay in the illegal empty cpp file opened during project creation and then click onto the "Documents" tab on the left. This opens the Documents pane which then contains the path "%25{dest}/src" and lists only that said cpp underneath. Closing the illegal file is the solution.
OK, with the steps from Kailed I could reproduce this bug.
Git commit 33b660dfefe02ecd4391a284f6fd6de9439b2b45 by Milian Wolff. Committed on 20/03/2014 at 10:50. Pushed by mwolff into branch '1.6'. Keep backwards compatibility: replace "dest" variable. Its an alias for PROJECTDIR and used in quite some templates apparently. M +2 -0 plugins/appwizard/appwizardplugin.cpp http://commits.kde.org/kdevplatform/33b660dfefe02ecd4391a284f6fd6de9439b2b45
(In reply to comment #25) > Git commit 33b660dfefe02ecd4391a284f6fd6de9439b2b45 by Milian Wolff. > Committed on 20/03/2014 at 10:50. > Pushed by mwolff into branch '1.6'. > > Keep backwards compatibility: replace "dest" variable. > > Its an alias for PROJECTDIR and used in quite some templates > apparently. > > M +2 -0 plugins/appwizard/appwizardplugin.cpp > > http://commits.kde.org/kdevplatform/33b660dfefe02ecd4391a284f6fd6de9439b2b45 Great !
Thanks looking into this little show-stopper.
What is the state of this bug? The messagebox opens everytime I Interrupt the debugger. Just found out I have 2 new grey hair in the morning.