microsoft / python-language-server

Microsoft Language Server for Python
Apache License 2.0
911 stars 131 forks source link

Pathlib path separators are incorrectly identified as unsupported string operand types. #1311

Closed JeffHanna closed 5 years ago

JeffHanna commented 5 years ago

Environment data

Expected behaviour

Statements such as: FILEPATH_SETTINGS = pathlib.Path.home( ) / 'AppData' / 'Local' / 'ZeeWise Assistant' / 'settings.json' Should not generate errors that the / character is an unsupported operand type for str and str.

Actual behaviour

False positive linting errors are generated that claim the / character is an unsupported operand type for str and str. / is the proper path separation delimiter character to use to concatenate path parts in pathlib.

This error only started with the 2019.6.24221 update to the Python Language Server. Older versions handled pathlib delimiters without generating linting errors.

Steps to reproduce:

  1. import pathlib
  2. create a new path by concatenating various directory & sub-directory names, e.g. filepath = pathlib.path.home( ) / 'AppData' / 'Local' /

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

None as this is not a runtime error.

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

[Extension Host] debugger listening on port 42438
console.ts:134 [Extension Host] (node:20632) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:134
console.ts:134 [Extension Host] [vscode-icons] v8.8.0 activated!
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 2ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 2ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 3ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Create file systemwatcher with pattern *\python.exe
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Create file systemwatcher with pattern *\*\python.exe
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Register Intepreter Watcher, Class name = p, completed in 8ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Build the workspace interpreter watcher, Class name = h, completed in 10ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detection of Python Interpreter for Command python3.7 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detection of Python Interpreter for Command python3.6 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Detection of Python Interpreter for Command python2 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Current value for rule system is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.2 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Current value for rule currentPath is {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}
4console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by CondaEnvFileService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by CondaEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by VirtualEnvService are of count 0
console.ts:134 [Extension Host] Error Python Extension: 2019-07-11 09:00:01: Detection of Python Interpreter for Command py and args -2 failed as file Python 2 not found!

 -3.7-64
 -3.7-64 does not exist
t.log @ console.ts:134
console.ts:134 [Extension Host] Error Python Extension: 2019-07-11 09:00:01: Detection of Python Interpreter for Command py and args -3.6 failed as file Python 3.6 not found!

 -3.7-64
 -3.7-64 does not exist
t.log @ console.ts:134
console.ts:134 [Extension Host] Error Python Extension: 2019-07-11 09:00:01: Detection of Python Interpreter for Command python3 and args  failed as file  does not exist
t.log @ console.ts:134
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: setGlobalInterpreter, Class name = f, completed in 175ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}, Arg 2: <argument cannot be serialized for logging>, Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 305ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 471ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 472ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Build the workspace interpreter watcher, Class name = h, completed in 2ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 4ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Selected Interpreter from windowsRegistry, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Selected Interpreter from currentPath, {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Current value for rule system is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.2 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Current value for rule currentPath is {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 10ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Selected Interpreter from system, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.2 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Get language server folder name, Class name = f, completed in 20ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: "languageServer.0.3.22"
console.ts:134 [Extension Host] Error Python Extension: 2019-07-11 09:00:01: Failed to parse interpreter information for 'C:\Users\jeffb\AppData\Local\Microsoft\WindowsApps\python.exe' with JSON Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640 [SyntaxError: Unexpected token P in JSON at position 0    at JSON.parse (<anonymous>) at p.getInterpreterInformation (C:\Users\jeffb\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:287807)]
t.log @ console.ts:134
2console.ts:134 [Extension Host] Error Python Extension: 2019-07-11 09:00:01: Failed to parse interpreter information for 'C:\Users\jeffb\AppData\Local\Microsoft\WindowsApps\python3.exe' with JSON Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640 [SyntaxError: Unexpected token P in JSON at position 0  at JSON.parse (<anonymous>) at p.getInterpreterInformation (C:\Users\jeffb\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:287807)]
t.log @ console.ts:134
console.ts:134 [Extension Host] Error Python Extension: 2019-07-11 09:00:01: Failed to parse interpreter information for 'C:\Users\jeffb\AppData\Local\Microsoft\WindowsApps\python.exe' with JSON Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640 [SyntaxError: Unexpected token P in JSON at position 0    at JSON.parse (<anonymous>) at p.getInterpreterInformation (C:\Users\jeffb\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:287807)]
t.log @ console.ts:134
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: setGlobalInterpreter, Class name = f, completed in 61ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: setGlobalInterpreter, Class name = f, completed in 58ms, Arg 1: {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: setGlobalInterpreter, Class name = f, completed in 57ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from currentPath
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from cachedInterpreters
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 68ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: undefined
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 69ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Get language server folder name, Class name = f, completed in 46ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: "languageServer.0.3.22"
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by WorkspaceVirtualEnvService are of count 1
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by CurrentPathService are of count 4
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: setGlobalInterpreter, Class name = f, completed in 55ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.2 64-bit"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Executing next rule from system
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: autoSelectInterpreter, Class name = f, completed in 79ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by KnownPathsService are of count 1
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Activation Commands received d:/Repos/Zeewise_Assistant/env/Scripts/activate.bat for shell cmd
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Has Custom Env Vars
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Activating Environment to capture Environment variables, d:/Repos/Zeewise_Assistant/env/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python C:/Users/jeffb/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/printEnvVariables.py
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Interpreters returned by WindowsRegistryService are of count 2
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Checking whether locactors have completed locating, Class name = p, completed in 1ms, , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: parseEnvironmentOutput, Class name = b, completed in 0ms
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: getActivatedEnvironmentVariables, Class name = b, completed in 226ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:01: Get language server folder name, Class name = f, completed in 4ms, Arg 1: <Uri:d:\Repos\Zeewise_Assistant>, Return Value: "languageServer.0.3.22"
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:02: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant\Zeewise_Assistant.py
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Starting Language Server, Class name = d, completed in 2957ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule system is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.2 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule currentPath is {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: setGlobalInterpreter, Class name = f, completed in 9ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true}, Arg 2: <argument cannot be serialized for logging>, Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: autoSelectInterpreter, Class name = f, completed in 10ms, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: autoSelectInterpreter, Class name = f, completed in 12ms, Arg 1: undefined, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Shell path 'C:\Program Files\PowerShell\6\pwsh.exe'
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Shell path identified as shell 'powershellCore'
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Shell path from user settings 'C:\Program Files\PowerShell\6\pwsh.exe'
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Shell identified as 'powershellCore'
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: autoSelectInterpreter, Class name = f, completed in 5ms, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Selected Interpreter from windowsRegistry, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Display locator refreshing progress, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Create file systemwatcher with pattern *\python.exe
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Create file systemwatcher with pattern *\*\python.exe
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Register Intepreter Watcher, Class name = p, completed in 0ms, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Build the workspace interpreter watcher, Class name = h, completed in 1ms, Arg 1: undefined, Return Value: <Return value cannot be serialized for logging>
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Selected Interpreter from currentPath, {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule system is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.2 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule currentPath is {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule windowsRegistry is {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: autoSelectInterpreter, Class name = f, completed in 19ms, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Selected Interpreter from system, {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","displayName":"Python 3.7.2 64-bit"}
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Current value for rule workspaceEnvs is {"architecture":3,"path":"d:\\Repos\\Peoples_Choice_Voter\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Peoples_Choice_Voter\\env","fileHash":"8e365fc4cb728af7dc2a8a197c62d4e9470b5ee0a292b3e07b9cd8b124d7dd7b4adbbbe0e3b95f190a63a151c581db130c8b4e156d9e39c03f96223411939e3b","envName":"env","type":"Venv"}
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: setGlobalInterpreter, Class name = f, completed in 21ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: setGlobalInterpreter, Class name = f, completed in 16ms, Arg 1: {"architecture":3,"path":"d:\\Repos\\Zeewise_Assistant\\env\\Scripts\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"d:\\Repos\\Zeewise_Assistant\\env","fileHash":"85bd3ef1cb66f5fb41d4b485b5e17bfaee74959655472513e2b74fe081e1a5cc860f61c26e3d8ff63ccac210c8c525e873f52fe2af3fec1ca434dce3771e216c","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: setGlobalInterpreter, Class name = f, completed in 15ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from currentPath
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from cachedInterpreters
3console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: autoSelectInterpreter, Class name = f, completed in 34ms, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: setGlobalInterpreter, Class name = f, completed in 22ms, Arg 1: {"architecture":3,"path":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe","version":{"raw":"3.7.2-final","major":3,"minor":7,"patch":2,"prerelease":["final"],"build":[],"version":"3.7.2-final"},"sysPrefix":"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64","fileHash":"f70a0317d861d697cb97cb1fbf6d85b31bcf137cf771729fe7d673ab2c6607e683d59a89f234a592a7e1eb678a7c376ee7f42f2ccba9fdfce0ec810c7df42a6b","companyDisplayName":"Python Software Foundation","type":"Unknown","displayName":"Python 3.7.2 64-bit"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Executing next rule from system
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: autoSelectInterpreter, Class name = f, completed in 48ms, Arg 1: undefined, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Interpreters returned by WorkspaceVirtualEnvService are of count 1
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:00:04: All locators have completed locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:01:00: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:01:01: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
2console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:01:01: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant\const.py
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:01:02: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:01:03: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
2log.ts:161  INFO Setting search error: XHR timeout: 5000ms
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:09:27: Cached data exists getEnvironmentVariables, tasks
console.ts:134 [Extension Host] Info Python Extension: 2019-07-11 09:09:31: Cached data exists getEnvironmentVariables, d:\Repos\Zeewise_Assistant
jakebailey commented 5 years ago

Related #1242.

What language server version are you on? Are you running a daily/beta build?

@CTrando #1254 should have only shown this message if both sides were known builtin types, but pathlib stuff doesn't count, so the message shouldn't have been shown...

JeffHanna commented 5 years ago

Is the language server a different version # than the Python Extension version #? If so, please provide information on how to retrieve it. The Python Extension I'm on, as stated above, is 2019.6.24.221

jakebailey commented 5 years ago

It is. You can find it in the output panel with Python selected.

https://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue

JeffHanna commented 5 years ago

PLS version # is 0.3.22.0

jakebailey commented 5 years ago

For now, you can disable this message with:

"python.analysis.disabled": ["unsupported-operand-type"]