File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/client/pythonEnvironments/base/locators/composite Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
347
347
) {
348
348
return ;
349
349
}
350
+ traceError ( `Environment ${ exe } is missing from native locator` ) ;
350
351
switch ( env . kind ) {
351
352
case PythonEnvKind . Conda :
352
353
missingEnvironments . missingNativeCondaEnvs += 1 ;
@@ -589,6 +590,9 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
589
590
resolvedEnv . version . micro !== nativeVersion . micro ||
590
591
resolvedEnv . version . micro !== nativeVersion . micro
591
592
) {
593
+ traceError (
594
+ `Environment ${ e . executable } got the wrong version from native locator (Native = ${ e . version } , Actual ${ resolvedEnv . version . sysVersion } )` ,
595
+ ) ;
592
596
switch ( kind ) {
593
597
case PythonEnvKind . Conda :
594
598
invalidVersions . invalidVersionsCondaEnvs += 1 ;
@@ -640,6 +644,9 @@ export class EnvsCollectionService extends PythonEnvsWatcher<PythonEnvCollection
640
644
}
641
645
}
642
646
if ( e . prefix && resolvedEnv . executable . sysPrefix . toLowerCase ( ) !== e . prefix . trim ( ) . toLowerCase ( ) ) {
647
+ traceError (
648
+ `Environment ${ e . executable } got the wrong Sys.Prefix from native locator (Native = ${ e . prefix } , Actual ${ resolvedEnv . executable . sysPrefix } )` ,
649
+ ) ;
643
650
switch ( kind ) {
644
651
case PythonEnvKind . Conda :
645
652
invalidSysPrefix . invalidSysPrefixCondaEnvs += 1 ;
You can’t perform that action at this time.
0 commit comments