You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration information (If you are providing a diagnostics file (see below), skip this section)
VS Version: Version 17.3.0 Preview 5.0
PTVS version: 17.0.22179.3
Python version: 3.10.4
The text was updated successfully, but these errors were encountered:
Describe the bug
Opening Python solutions always causes an "Error reading settings" message in Output - Pylance :
example 1:
Info: (8544) Pylance language server 2022.6.30 (pyright 212d1465) starting
Info: (8544) Server root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\dist
Log: Notebook support: Legacy
Info: Un-registering request handler for 8c3f2d06-5686-4bba-ab86-f15d5b113397 failed.
Error: (8544) Error reading settings: TypeError: Cannot read properties of undefined (reading 'variableTypes')
Info: (8544) No configuration file found.
Info: (8544) No pyproject.toml file found.
example 2:
Info: (22412) Pylance language server 2022.6.30 (pyright 212d1465) starting
Info: (22412) Server root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\dist
Log: Notebook support: Legacy
Info: Un-registering request handler for bdc160b4-e86d-464f-8b44-b6c4d81c6f68 failed.
Info: (22412) No pyproject.toml file found.
Warning: (22412) stubPath typings is not a valid directory.
Info: (22412) Assuming Python platform Windows
Info: (22412) Searching for source files
Info: (22412) No source files found.
Info: (22412) Background analysis(1) root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\dist
Info: (22412) Background analysis(1) started
Info: (22412) Background analysis(2) root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\dist
Info: (22412) Background analysis(2) started
Error: (22412) Error reading settings: TypeError: Cannot read properties of undefined (reading 'variableTypes')
Info: (22412) No configuration file found.
Info: (22412) No pyproject.toml file found.
Setting the log level to trace does not give further information
Other users' logs contain the same or a very similar error message:
#7018 (comment)
#7068
#7092
#6697
Expected behavior
No error message
Configuration information (If you are providing a diagnostics file (see below), skip this section)
VS Version: Version 17.3.0 Preview 5.0
PTVS version: 17.0.22179.3
Python version: 3.10.4
The text was updated successfully, but these errors were encountered: