CoatiSoftware / Sourcetrail

Sourcetrail - free and open-source interactive source explorer
https://www.sourcetrail.com/
GNU General Public License v3.0
14.84k stars 1.39k forks source link

sourcetrail_indexer filename incorrect (MacOS) #1186

Open xpcmdshell opened 3 years ago

xpcmdshell commented 3 years ago

When beginning to index a project, Sourcetrail invokes the sourcetrail_indexer:

10:41:36 | TaskBuildIndex.cpp:187 runIndexerProcess() | ERROR: Cannot start indexer process because executable is missing at "/Applications/Sourcetrail.app/Contents/Resources/sourcetrail_indexer"

However, in MacOS builds, the filename is capitalized:

➜  Resources $ pwd
/Applications/Sourcetrail.app/Contents/Resources
➜  Resources $ ls
Sourcetrail_indexer data                icon.icns           icon.iconset        project.icns        project.iconset     qt.conf

This causes every file indexing attempt to fail and project indexing stays at 0% forever. I renamed the file Sourcetrail_indexer to sourcetrail_indexer in the app bundle and it works as expected.

mlangkabel commented 3 years ago

Hm.. looks like this line in our CMake is not working correctly anymore.