Skip to content

Commit 79367d7

Browse files
committed
WIP: Add even more logging for troubleshooting
1 parent 68cf29d commit 79367d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/renderer/search_emme_pythonpath.js

+3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const listEMMEPythonPaths = () => {
7878
)
7979
})
8080
paths.push(`usr/bin/python${pythonVersion.major}`); // mainly for developers on Mac & Linux
81+
paths.push('users/erkki/testi');
8182

8283
const allPathCombinations = drives.reduce(
8384
(accumulator, d) => {
@@ -112,6 +113,8 @@ function getVersion(semver) {
112113

113114
function hasPythonEnv(basePath) {
114115
const pathExists = fs.existsSync(basePath) && fs.lstatSync(basePath).isDirectory();
116+
console.log(basePath);
117+
console.log(pathExists);
115118
let exePaths = [];
116119
if (pathExists) {
117120
const subPaths = fs.readdirSync(basePath)

0 commit comments

Comments
 (0)