-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Breaking Bug: No indexed files when creating project from compilation database #366
Comments
@jpenalbae Thank you for reporting and providing all this information! We think we could figure out the origin of the problem. Our current release accidentally saves C++ specific source extensions and standard information to the project file for all created compilation database projects. To fix this please open the
Then the project should work as it used to and index all files from the compilation database. Can you please try this and let us know if it works? |
Replacing
Anyway, I'm getting thousands of errors per file while indexing, so I guess I should stick to an older version for now.... |
@jpenalbae Did you try removing the whole |
@jpenalbae What kind of errors do you get? Missing Includes? Unknown Types? |
Unknown types mostly iirc.... Just removing the hole Anyway, do not worry about it, I just rolled back to |
Fixed saving of C++ specific source extensions and standard information for new Compilation Database projects with 0.11.89 I have no idea yet why this issue would cause any new errors. |
New errors might be my fault while editing the project file, dunno... I will check it once 0.11.89 is released. Btw, thanks for the quick fix 👍 |
Seems to be working fine again under 0.12 (beta) Thanks!!! |
Description
Sourcetrail is not able to create new projects using a compilation database, indexing 0 files.
It also happens when opening old projects, sourcetrail will try to re-index them, but 0 files will get indexed.
This is a breaking bug, as it renders sourcetrail unusable...
Also tried starting with a fresh installation by removing any previous config files from
~/.config/coati/
and~/.config/sourcetrail/
without any luck.Environment
Sourcetrail: Sourcetrail_0_11_86_Linux_64bit
Distro: Debian unstable
How to reproduce:
We can reproduce this by indexing the linux kernel
This will generate a compile_commands.json file, which we will load into sourcetrail. The generated compilation database is attached: compile_commands.json.zip
This used to work perfectly, but it does not work any more, rendering sourcetrail totally useless to me....
The text was updated successfully, but these errors were encountered: