User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36 Build Identifier: I felt lack of Python support in KDevelop. Parsers are not working. I could not see 'Python Style Checking' and 'Python Documentation' entries in KDevelop settings which made me suspect that something is amiss. Then when I ran KDevelop from terminal to see the cause, I got the following error which has confirmed that Python support is not loaded in my KDevelop. The error is "Can't load plugin "kdevpythonsupport" because a factory to load the plugin could not be obtained: "Cannot load library /usr/lib64/qt5/plugins/kdevplatform/25/kdevpythonlanguagesupport.so: (/lib64/libkdevpythonduchain.so: undefined symbol: _ZN8KDevelop16BackgroundParser11addDocumentERKNS_13IndexedStringENS_12TopDUContext8FeaturesEiP7QObject6QFlagsINS_8ParseJob24SequentialProcessingFlagEE)". I've removed KDevelop completely (including kdevelop-python), checked for any stale libraries in my system with ' find / -name "*kdev*.so*" '. After confirming there are no stray libraries left, I've cleaned my package cache, and reinstalled KDevelop again along with kdevelop-python. But still the same problem persists. I am Fedora-24 KDE spin. I don't have any testing repos enabled. Reproducible: Always Steps to Reproduce: 1.Install kdevelop and kdevelop-python 2.Run kdevelop from terminal or from applications menu. 3.In the kdevelop settings, go to 'Plugins' and enable 'Python Support' Actual Results: Not able to see the two entries in kdevelop settings ... 'Python Style Checking' and 'Python Documentation'. Custom include/import paths in project configuration (right click on the project, then 'Open Configuration') are not working. KDevelop still complains about undefined variables which reference to the custom include paths. Expected Results: Python parsers should work. You should see two entries in kdevelop settings ... 'Python Style Checking' and 'Python Documentation'. Also, give custom include/import paths in project configuration (right click on the project, then 'Open Configuration'). The custom imports should work. KDevelop should not complain about undefined variables which reference to your custom include paths. I've reported to KDevelop developers in IRC and Forums. They told it must be something to do with "library version mismatch between the Python pluigin (which is a separate package!) and kdevplatform". The AppImage from KDevelop website works fine without any issues. Also, some one else has reported in IRC that PHP parsers are also not working in the Fedora's repo's KDevelop package and the included kdevelop-php packages.
There will be soon the final version of KDevelop 5 available for Fedora 24 which I guess will fix this problem. If you want it sooner you would need to enable updates-testing repository to get it as soon as possible.
(In reply to Jan Grulich from comment #1) > There will be soon the final version of KDevelop 5 available for Fedora 24 > which I guess will fix this problem. If you want it sooner you would need to > enable updates-testing repository to get it as soon as possible. I am afraid that may not solve the problem. I've tried with 'sudo dnf --enablerepo=updates-testing upgrade kdevelop'. But still the problem persisted. May be we need a compatible kdevelop-python update also.
Today, the said update landed. As I've suspected, the problem still persists with the latest version of KDevelop 5. Python support still does not work. I am not able to see the two entries in KDevelop settings ... 'Python Style Checking' and 'Python Documentation'. Because of this my PEP8 checking does not work. No errors/warnings/info messages are shown. I can not comment on custom imports immediately. I'll check and write back.
kdevelop php was submitted yesterday to stable in f24. Python still need some polish. Apologizes for the delay.
I'll be refreshing the kdevelop stack soon along with kdepim-16.08.x landing at the same time (due to some common dependencies between them)
The said updates landed today. I've just updated my system. But still the python parsers in custom include paths are not working. At least, I can see python support in KDevelop settings now. That problem is settled. But then I am not able to figure out why the parsing does not work for the custom include paths I gave in the project configuration ? Do I need to clean some cache or something ?
So, I've removed kdevelop and kdevelop-pthon packages completely, then 'dnf clean all', 'dnf distro-sync', and reinstalled. Also, I've removed any old configuration files from my home directory. Now, every thing is working fine. Thanks for the support. I am closing the ticket.