Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1671495 - Code parsing is not working
Summary: Code parsing is not working
Keywords:
Status: CLOSED DUPLICATE of bug 1667694
Alias: None
Product: Fedora
Classification: Fedora
Component: kdevelop
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-31 17:38 UTC by Matthew Woehlke
Modified: 2019-02-04 08:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-04 08:13:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Woehlke 2019-01-31 17:38:07 UTC
Description of problem:
Code parsing in KDevelop seems to have completely stopped working recently.

Version-Release number of selected component (if applicable):
bash-4.4.23-6.fc29.x86_64
cmake-3.12.1-1.fc29.x86_64
cppcheck-1.86-1.fc29.x86_64
git-2.20.1-1.fc29.x86_64
glibc-2.28-26.fc29.x86_64
grantlee-qt5-5.1.0-10.fc29.x86_64
kdevelop-5.3.1-1.fc29.x86_64
kdevelop-libs-5.3.1-1.fc29.x86_64
kf5-kauth-5.54.0-1.fc29.x86_64
kf5-kcodecs-5.54.0-1.fc29.x86_64
kf5-kcompletion-5.54.0-1.fc29.x86_64
kf5-kconfig-core-5.54.0-1.fc29.x86_64
kf5-kconfig-gui-5.54.0-1.fc29.x86_64
kf5-kconfigwidgets-5.54.0-1.fc29.x86_64
kf5-kcoreaddons-5.54.0-1.fc29.x86_64
kf5-kcrash-5.54.0-1.fc29.x86_64
kf5-kdeclarative-5.54.0-1.fc29.x86_64
kf5-ki18n-5.54.0-1.fc29.x86_64
kf5-kiconthemes-5.54.0-1.fc29.x86_64
kf5-kio-core-libs-5.54.1-1.fc29.x86_64
kf5-kio-widgets-libs-5.54.1-1.fc29.x86_64
kf5-kjobwidgets-5.54.0-1.fc29.x86_64
kf5-kpackage-5.54.0-1.fc29.x86_64
kf5-kparts-5.54.0-1.fc29.x86_64
kf5-kservice-5.54.0-1.fc29.x86_64
kf5-ktexteditor-5.54.0-1.fc29.x86_64
kf5-ktextwidgets-5.54.0-1.fc29.x86_64
kf5-kwidgetsaddons-5.54.0-1.fc29.x86_64
kf5-kxmlgui-5.54.0-1.fc29.x86_64
kf5-sonnet-ui-5.54.0-1.fc29.x86_64
kf5-threadweaver-5.54.0-1.fc29.x86_64
libgcc-8.2.1-6.fc29.x86_64
libstdc++-8.2.1-6.fc29.x86_64
qt5-qtbase-5.11.3-1.fc29.x86_64
qt5-qtbase-gui-5.11.3-1.fc29.x86_64
qt5-qtdeclarative-5.11.3-1.fc29.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Load any CMake-based (C++) project.

Actual results:
Source files are not parsed. No features that depend on code parsing (e.g. supplemental highlighting, 'go to definition', quick-open) work.

Expected results:
Code parsing works.

Additional info:
This seems to have stopped working "recently" (within the last few weeks, I believe). KDevelop built from master (kdevelop and kdevelop-pg-qt built against system packages) works.

Some possibly-relevant log messages:

  (on startup)
  kdevplatform.language: Failed to load enviromment-information for
    "/home/src/matthew/foo/bar/MainWindow.cxx"
  kdevelop.plugins.contextbrowser: found no language for document
    QUrl("file:///home/src/matthew/foo/bar/MainWindow.cxx")

  (upon reloading project)
  kdevelop.plugins.cmake: registering... QVector(
    ...files...
    "/usr/local/src/matthew/foo/bar/MainWindow.cxx" ,
    ...more files and other stuff...
  (...)
  kdevelop.plugins.cmake: adding target "bar" with sources QVector(
    ...files...
    "/home/src/matthew/foo/bar/MainWindow.cxx" ,
    ...more files and other stuff...
  (...)
  kdevplatform.shell: showing done progress "Loading Project foo"
  kdevplatform.language: starting project parse job
  kdevplatform.language: BackgroundParser::addDocument
    "/home/src/matthew/foo/bar/MainWindow.cxx"
    QUrl("file:///home/src/matthew/foo/bar/MainWindow.cxx")

Comment 1 Jan Grulich 2019-02-04 08:13:12 UTC

*** This bug has been marked as a duplicate of bug 1667694 ***


Note You need to log in before you can comment on or make changes to this bug.