Closed sirredbeard closed 2 years ago
Make sure you are using the latest version of the extension (currently 0.6.1). Is there anything in the console? (Help > Toggle Developer Tools)
Can confirm this is a problem using the latest version.
There are several extensions that have the error Initialize log file failed: Path must be a string. Received undefined
There is also [ms-vsts.team]Cannot read property 'cleanup' of undefined e.$onExtensionRuntimeError @ mainThreadExtensionService.ts:42
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.fsharp.
Old grammar file: file:///usr/share/code/resources/app/extensions/fsharp/syntaxes/fsharp.tmLanguage.json.
New grammar file: file:///home/acehack/.vscode/extensions/ionide.ionide-fsharp-3.29.0/syntaxes/fsharp.json
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///usr/share/code/resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///home/acehack/.vscode/extensions/ms-azure-devops.azure-pipelines-1.143.0/syntaxes/yaml.tmLanguage.json
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///usr/share/code/resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
New grammar file: file:///home/acehack/.vscode/extensions/ms-mssql.mssql-1.4.0/syntaxes/SQL.plist
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.ruby.
Old grammar file: file:///usr/share/code/resources/app/extensions/ruby/syntaxes/ruby.tmLanguage.json.
New grammar file: file:///home/acehack/.vscode/extensions/rebornix.ruby-0.20.0/syntaxes/ruby.cson.json
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///home/acehack/.vscode/extensions/ms-azure-devops.azure-pipelines-1.143.0/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///home/acehack/.vscode/extensions/redhat.vscode-yaml-0.1.0/syntaxes/yaml.tmLanguage.json
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///home/acehack/.vscode/extensions/ms-mssql.mssql-1.4.0/syntaxes/SQL.plist.
New grammar file: file:///home/acehack/.vscode/extensions/usqlextpublisher.usql-vscode-ext-0.2.14/syntaxes/sql.tmLanguage
e.register @ TMSyntax.ts:47
log.ts:157 INFO no standard startup: not just one text editor
console.ts:134 [Extension Host] (11/13/2018, 10:24:57 AM) [ExtensionActivated] Extension has been activated!
console.ts:134 [Extension Host] (11/13/2018, 10:24:57 AM) Spinning up telemetry client for id azure-pipelines, version 1.143.0
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern /python
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern /*/python
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value:
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value:
console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value:
console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE
console.ts:134 [Extension Host] port:8008
console.ts:134 [Extension Host] activating extension
console.ts:134 [Extension Host] Git extension API method 'getGitPath' is deprecated.
t.log @ console.ts:134
5console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:
console.ts:134 [Extension Host] rejected promise not handled within 1 second
t.log @ console.ts:134
mainThreadExtensionService.ts:42 [VisualStudioOnlineApplicationInsights.application-insights]Path must be a string. Received undefined
e.$onExtensionRuntimeError @ mainThreadExtensionService.ts:42
mainThreadExtensionService.ts:43 TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.join (path.js:1251:7)
at AppInsightsExtension.
console.ts:134 [Extension Host] 13 Nov 10:25:01 - [info] Node-RED version: v0.18.4 console.ts:134 [Extension Host] 13 Nov 10:25:01 - [info] Node.js version: v8.9.3 console.ts:134 [Extension Host] 13 Nov 10:25:01 - [info] Linux 4.4.0-17763-Microsoft x64 LE console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] 13 Nov 10:25:02 - [info] Loading palette nodes console.ts:134 [Extension Host] 13 Nov 10:25:03 - [warn] ------------------------------------------------------ console.ts:134 [Extension Host] 13 Nov 10:25:03 - [warn] [node-red/rpi-gpio] Info : Ignoring Raspberry Pi specific node console.ts:134 [Extension Host] 13 Nov 10:25:03 - [warn] ------------------------------------------------------ console.ts:134 [Extension Host] 13 Nov 10:25:03 - [info] User directory : /home/acehack/.node-red console.ts:134 [Extension Host] 13 Nov 10:25:03 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable console.ts:134 [Extension Host] 13 Nov 10:25:03 - [info] Flows file : /home/acehack/.node-red/flows_RAL-ASTAINBA.json console.ts:134 [Extension Host] 13 Nov 10:25:04 - [info] Creating new flow file console.ts:134 [Extension Host] 13 Nov 10:25:04 - [info] Starting flows console.ts:134 [Extension Host] 13 Nov 10:25:04 - [info] Started flows console.ts:134 [Extension Host] runCommand platformio Array(1) Object console.ts:134 [Extension Host] Starting express server on port: 5515 notificationsAlerts.ts:40 Initialize log file failed: Path must be a string. Received undefined t.onDidNotificationChange @ notificationsAlerts.ts:40 console.ts:134 [Extension Host] using /home/acehack/.vscode/extensions/vsciot-vscode.vscode-iot-workbench-0.1.13/vendor/node-usb-native/lib/native/usb-native_Ubuntu14.04_2.0.2_x64.node console.ts:134 [Extension Host] Found PIO Core 3.6.2-a.2 console.ts:134 [Extension Host] runCommand platformio Array(7) Object console.ts:134 [Extension Host] Congratulations, your extension "vscode-iot-workbench" is now active! console.ts:134 [Extension Host] Starting express server on port: 5530 mainThreadExtensionService.ts:42 [ms-vsts.team]Cannot read property 'cleanup' of undefined e.$onExtensionRuntimeError @ mainThreadExtensionService.ts:42 mainThreadExtensionService.ts:43 TypeError: Cannot read property 'cleanup' of undefined at ExtensionManager.cleanup (/home/acehack/.vscode/extensions/ms-vsts.team-1.144.1/out/src/extensionmanager.js:573:29) at ExtensionManager.Reinitialize (/home/acehack/.vscode/extensions/ms-vsts.team-1.144.1/out/src/extensionmanager.js:77:14) at vscode_1.workspace.onDidChangeConfiguration (/home/acehack/.vscode/extensions/ms-vsts.team-1.144.1/out/src/extensionmanager.js:49:26) at e.fire (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:105:344) at e.$acceptConfigurationChanged (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:380:741) at t._doInvokeHandler (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:609:757) at t._invokeHandler (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:609:423) at t._receiveRequest (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:608:15) at t._receiveOneMessage (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:606:957) at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:604:773 at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:103:886 at e.fire (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:105:344) at a (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:156:881) at Socket._socketDataListener (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:157:95) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at Pipe.onread (net.js:594:20)
[Extension Host] Activating extension 'formulahendry.azure-storage-explorer' failed: Cannot find module './model/subscriptionNode'.
[Extension Host] Activating extension formulahendry.azure-storage-explorer
failed: Cannot find module './model/subscriptionNode'
[Extension Host] Here is the error stack: Error: Cannot find module './model/subscriptionNode'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:473:25)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:713:896)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:677:885)
at Function.r._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:643:436)
at Module.require (module.js:586:17)
at Module.patchedRequire [as require] (/home/acehack/.vscode/extensions/formulahendry.vscode-node-red-0.2.0/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:11:18)
at Object.
Activating extension 'formulahendry.azure-storage-explorer' failed: Cannot find module './model/subscriptionNode'.
[Extension Host] Error: Unknown or unsupported transport “disabled” for address “disabled:”
The log messages indicate a problem with the Storage Explorer Extension (which you can file an issue for), but don't explain the sign-in issue.
Does it show you're signed-in in the status bar? Like Azure: your@email.com
. If so: What does it show when you click on that status bar item?
That's all that is in the logs, nothing else and no that staus bar Azure: your@email.com
never shows so I can't click on it. This problem is easily reproducible by yourself though. It happens to everyone 100% of the time in WSL.
@chrmarti
Make sure you are using the latest version of the extension (currently 0.6.1).
Yes, reproduced with clean install of latest everything.
Is there anything in the console? (Help > Toggle Developer Tools)
Posted by @AceHack.
The log messages indicate a problem with the Storage Explorer Extension (which you can file an issue for), but don't explain the sign-in issue.
The errors that appear from the authentication issue show up slightly differently in logs from each Azure-related extension.
I working on some logs for you now.
Does it show you're signed-in in the status bar? Like Azure: your@email.com. If so: What does it show when you click on that status bar item?
I can confirm @AceHack's report on this.
Has this worked before?
Console output.
code --verbose output.
No this has never worked
Could you retry with the latest update to the Azure Account extension? (Version 0.8.1 or later.)
The only limitation should be that it won't remember your session across restarts of VS Code, but it should at least work. Let me know how it goes.
Thanks. I will try again.
I am having a similar issue VS Code 1.32. Azure Account Extension When I try to Azure: Sign In, I select my email from the web page and then get 127.0.0.1 could not connect. I am not behind a firewall (that I know of).
Hey @chrisdias @chrmarti, this issue might need further attention.
@sirredbeard, you can help us out by closing this issue if the problem no longer exists, or adding more information.
Please disregard the bot's comment.
This issue has been closed because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
This issue was first reported to WLinux here.
I have confirmed the bug on WLinux and I can duplicate across other WSL distros.
This appears to affect both Code and Code Insiders.
This is not limited to Azure storage bug affects all the Azure plug-ins.
This may be related to #108 but there is not enough information in that bug to determine.
This may also be related to #59 but installing (and manually running) gnome-keychain does not fix.
Initial Report:
My notes: