Bug#839175: kdevelop: "Unable to load the project file" when opening projects due to missing dependencies
Package: kdevelop
Version: 4:5.0.1-2
Severity: normal
Dear Maintainer,
When I use Project->'Open/Import project' to open a directory containing a
CMake project, I was getting this message:
"Unable to load the project file /home/anoko/projects/test2/test2.kdev4.
The project has been removed from the session."
The project would not open. I got the same error when I started a new CMake
project from template, and also now no project was opened in the project pane
on the left. I believe this was caused by a missing dependency.
Initially, when I ran kdevelop on the command line I saw errors about qtquick
controls missing, and the "Sessions" start-up pane did not appear. This seemed
to have been fixed by installing "qml-module-qtquick-controls". I believe that
should be a dependency of kdevelop.
After fixing that, I saw buttons appear on the welcome screen, but still could
not open a project. The following error remained on the command line:
couldn't create slave: "Unable to create io-slave:\nklauncher said: Unknown
protocol 'file'.\n"
After some googling I found some had similar problems with different kde
packages, and that I probably had to install kinit and kio. I first installed
kinit, which did not fix it, then I installed kio, which did fix it. I believe
thus that kdevelop should depend on those.
I had not installed those libraries yet, because I'm running xfce.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kdevelop depends on:
ii kdevelop-data 4:5.0.1-2
ii kdevplatform10-libs 5.0.1-2
ii libc6 2.23-5
ii libclang1-3.8 1:3.8.1-9
ii libgcc1 1:6.1.1-11
ii libkasten3controllers3 4:16.08.0-2
ii libkasten3core3 4:16.08.0-2
ii libkasten3okteta1controllers1 4:16.08.0-2
ii libkasten3okteta1core1 4:16.08.0-2
ii libkasten3okteta1gui1 4:16.08.0-2
ii libkf5completion5 5.25.0-1
ii libkf5configcore5 5.25.0-1
ii libkf5configgui5 5.25.0-1
ii libkf5configwidgets5 5.25.0-1
ii libkf5coreaddons5 5.25.0-1
ii libkf5crash5 5.25.0-1
ii libkf5declarative5 5.25.0-1
ii libkf5i18n5 5.25.0-1
ii libkf5iconthemes5 5.25.0-1
ii libkf5itemviews5 5.25.0-1
ii libkf5jobwidgets5 5.25.0-1
ii libkf5kiocore5 5.25.0-1
ii libkf5kiowidgets5 5.25.0-1
ii libkf5newstuff5 5.25.0-1
ii libkf5parts5 5.25.0-1
ii libkf5texteditor5 5.25.0-1
ii libkf5threadweaver5 5.25.0-1
ii libkf5widgetsaddons5 5.25.0-1
ii libkf5xmlgui5 5.25.0-1
ii libprocesscore7 4:5.7.4-1
ii libprocessui7 4:5.7.4-1
ii libqt5core5a 5.6.1+dfsg-3+b1
ii libqt5dbus5 5.6.1+dfsg-3+b1
ii libqt5gui5 5.6.1+dfsg-3+b1
ii libqt5help5 5.6.1-2
ii libqt5network5 5.6.1+dfsg-3+b1
ii libqt5quickwidgets5 5.6.1-8
ii libqt5webkit5 5.6.1+dfsg-5
ii libqt5widgets5 5.6.1+dfsg-3+b1
ii libqt5xml5 5.6.1+dfsg-3+b1
ii libstdc++6 6.1.1-11
Versions of packages kdevelop recommends:
ii g++ 4:6.1.1-1
ii gcc 4:6.1.1-1
ii gdb 7.11.1-2
ii kapptemplate 4:16.04.2-1
ii kio-extras 4:16.04.2-1
ii make 4.1-9
Versions of packages kdevelop suggests:
ii cmake 3.6.2-1
pn kdevelop-l10n <none>
pn ninja-build <none>
-- no debconf information
Reply to: