Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

sourcetrail_indexer filename incorrect (MacOS) #1186

Open
xpcmdshell opened this issue Jun 12, 2021 · 1 comment
Open

sourcetrail_indexer filename incorrect (MacOS) #1186

xpcmdshell opened this issue Jun 12, 2021 · 1 comment

Comments

@xpcmdshell
Copy link

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
Copy link
Contributor

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants