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
xiota commented on 2024-06-20 03:07 (UTC) (edited on 2025-02-02 07:22 (UTC) by xiota)
After
2023.11
, patching is required to build on Arch. This package uses a secondary repo to make managing changes easier. Further details in the readme.Please observe the following when flagging or commenting:
Versions associated with major requirement changes.