CoatiSoftware / SourcetrailPythonIndexer

Python Indexer for Sourcetrail based on jedi, parso and SourcetrailDB
GNU General Public License v3.0
90 stars 28 forks source link

Indexing: return code "-1" #76

Closed BlueCl0wn closed 3 years ago

BlueCl0wn commented 3 years ago

When I try to index my python project it starts off well by going through each file but after going through post-processing the small blue windows says "Total files completed: 0/0" grafik

On the right-hand side of the GUI, there is a list of indexed files, etc. But for each bullet point, it just lists 0. grafik

While indexing there is an error thrown for each file: command "C:/Program Files/Sourcetrail/data/python/SourcetrailPythonIndexer.exe index --source-file-path <source-file-path> --database-file-path <database-file-path>" returned code "-1".

Shallow indexing works completely fine, though.

I'm using Windows 10.

BlueCl0wn commented 3 years ago

I solved the issue by myself.

The problem was about the Python environment. Even though python is installed on my PC, Sourcetrail was not able to find the default installation and I had to add the path by hand. As soon as I did everything went perfectly fine.