From 32136c5d78598a83209a44032c77185faf38f7b1 Mon Sep 17 00:00:00 2001 From: Malte Langkabel Date: Tue, 10 Dec 2019 19:04:07 +0100 Subject: [PATCH] logic: update python indexer to fix issue #771 (#846) This will allow the Python indexer to accept a Windows Python environment with the python.exe located in the root directory of the environment. --- script/download_python_indexer.sh | 2 +- src/lib_python/project/SourceGroupPythonEmpty.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/download_python_indexer.sh b/script/download_python_indexer.sh index 0baeb7634..5cc612f8c 100755 --- a/script/download_python_indexer.sh +++ b/script/download_python_indexer.sh @@ -1,6 +1,6 @@ #!/bin/bash -SOURCETRAIL_PYTHON_INDEXER_VERSION="v1_db25_p1" +SOURCETRAIL_PYTHON_INDEXER_VERSION="v1_db25_p2" # Determine current platform PLATFORM='unknown' diff --git a/src/lib_python/project/SourceGroupPythonEmpty.cpp b/src/lib_python/project/SourceGroupPythonEmpty.cpp index 95084a8a4..be50accdb 100644 --- a/src/lib_python/project/SourceGroupPythonEmpty.cpp +++ b/src/lib_python/project/SourceGroupPythonEmpty.cpp @@ -56,7 +56,7 @@ std::vector> SourceGroupPythonEmpty::getIndexerC if (!m_settings->getEnvironmentPath().empty()) { - args += L" --environment-path=" + m_settings->getEnvironmentPathExpandedAndAbsolute().wstr(); + args += L" --environment-path=\"" + m_settings->getEnvironmentPathExpandedAndAbsolute().wstr() + L"\""; } if (ApplicationSettings::getInstance()->getVerboseIndexerLoggingEnabled())