I'm trying to index a Python project with the latest version (2020.4.35) and I'm getting errors like these for each source file:
command ""/opt/sourcetrail/bin//../share/data/python/SourcetrailPythonIndexer" index --source-file-path="PATH_TO_SOURCE_FILE" --database-file-path="PATH_TO_DB_FILE"" returned code "255" with message "File not found or resource error occurred.".
I've replaced the source file and database file paths with PATH_TO_SOURCE_FILE
and PATH_TO_DB_FILE
in the above message, but they appear to be correct (so the error shouldn't be related to that).
Interestingly, running that command manually succeeds.
UPDATE: Ah, this is an upstream bug, see: https://github.com/CoatiSoftware/Sourcetrail/issues/1129
Pinned Comments
jetm commented on 2019-11-21 13:08
This package is not building from scratch. It still uses the binary. There are issues building it in Arch Linux that are required to be fixed. When those are solved, this will use the GitHub link and sourcetrail-bin package will continue existing as binary install alternative.