Skip to content

Failed to start PowerShell Extension VsCode on Mac Ventura 13.3 M1 #4497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
6 tasks done
jcstorino opened this issue Apr 5, 2023 · 16 comments
Closed
6 tasks done

Failed to start PowerShell Extension VsCode on Mac Ventura 13.3 M1 #4497

jcstorino opened this issue Apr 5, 2023 · 16 comments
Labels
Issue-Bug A bug to squash.

Comments

@jcstorino
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

PowerShell extension not load...

`05/04/2023 11:35:44 [NORMAL] - PowerShell Editor Services args: Import-Module '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules/PowerShellEditorServices/PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2023.3.3' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2023.3.3
Copyright (c) Microsoft Corporation.

https://aka.ms/vscode-powershell
Type 'help' to get help.
" -LogLevel 'Normal' -LogPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/logs/1680705343-b7385f7a-9f47-4169-9977-ce5d2963e2861680705342975/EditorServices.log' -SessionDetailsPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-66251-378352.json' -FeatureFlags @()

05/04/2023 11:35:44 [NORMAL] - pwsh started.

05/04/2023 11:35:44 [NORMAL] - Waiting for session file...

05/04/2023 11:36:14 [WARNING] - Loading the PowerShell extension is taking longer than expected. If you're using privilege enforcement software, this can affect start up performance.

05/04/2023 11:39:45 [NORMAL] - Timed out waiting for session file to appear!

05/04/2023 11:39:45 [ERROR] - PowerShell process failed to start:

05/04/2023 11:39:45 [ERROR] - Timed out waiting for session file to appear!

05/04/2023 11:39:45 [ERROR] - Unknown session status 'undefined' with reason 'undefined
`

PowerShell Version

PS VSC > $psversionTable

Name                           Value
----                           -----
PSVersion                      7.3.3
PSEdition                      Core
GitCommitId                    7.3.3
OS                             Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar  6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

PS VSC > code --version                                                   
1.77.0
7f329fe6c66b0f86ae1574c2911b681ad5a45d63
arm64

Extension Version

PS VSC > code --list-extensions --show-versions | Select-String powershell

[email protected]

Steps to Reproduce

Just open VSC and wait for extension load.

Visuals

Captura de Tela 2023-04-05 às 11 45 58

Logs

vscode-powershell.log

@jcstorino jcstorino added the Issue-Bug A bug to squash. label Apr 5, 2023
@ghost ghost added the Needs: Triage Maintainer attention needed! label Apr 5, 2023
@andyleejordan
Copy link
Member

Hm, only interesting thing I spy is this:

  "cwd": "/Users/jcstorino/Library/Mobile Documents/com~apple~CloudDocs/Work/VSC",

Can you test if you can open any pwsh terminal with that exact path as the CWD? Wondering if it exists but permissions aren't available for it to actually read/execute and start up. Also you could test setting that to just /Users/jcstorino and see if it starts, that would rule it out.

@jcstorino
Copy link
Author

Yes, I can open any pwsh in this path, and I have permission to write and write on it! Leaving only in the user's root the problem also occurs equally.

@andyleejordan
Copy link
Member

Interesting...anyway you can enable more logging and environment information by following these steps?

Thanks! I'm especially interested in the server-side (PSES) logs.

@SydneyhSmith SydneyhSmith added Needs: Repro Info 🤔 and removed Needs: Triage Maintainer attention needed! labels Apr 5, 2023
@jcstorino
Copy link
Author

Hi @andschwa ,
The powershell Log is being generated correctly and is the same one I have attached before, but the Language Server Log could not generate, the combo option does not appear in the list of Output Logs. What am I doing wrong?

image

vscode-powershell.log

@andyleejordan
Copy link
Member

Per that link you gotta run the command PowerShell: Open PowerShell Extension Logs Folder, and then you should have a folder with three separate logs!

@jcstorino
Copy link
Author

@andschwa
I've been analyzing here, and only have one log file in the folder that is opened by the informed command !

Captura de Tela 2023-04-06 às 09 37 22

Captura de Tela 2023-04-06 às 09 42 19

@andyleejordan
Copy link
Member

HUH well, that indicates pwsh either never started at all, or crashed really early in the initialization process (like before logging starts).

@andyleejordan
Copy link
Member

I'm copying this out of your log, what happens if you try to run from a regular terminal (outside of VS Code) the startup command it was trying:

/usr/local/bin/pwsh -NoProfile -EncodedCommand SQBtAHAAbwByAHQALQBNAG8AZAB1AGwAZQAgACcALwBVAHMAZQByAHMALwBqAGMAcwB0AG8AcgBpAG4AbwAvAC4AdgBzAGMAbwBkAGUALwBlAHgAdABlAG4AcwBpAG8AbgBzAC8AbQBzAC0AdgBzAGMAbwBkAGUALgBwAG8AdwBlAHIAcwBoAGUAbABsAC0AMgAwADIAMwAuADMALgAzAC8AbQBvAGQAdQBsAGUAcwAvAFAAbwB3AGUAcgBTAGgAZQBsAGwARQBkAGkAdABvAHIAUwBlAHIAdgBpAGMAZQBzAC8AUABvAHcAZQByAFMAaABlAGwAbABFAGQAaQB0AG8AcgBTAGUAcgB2AGkAYwBlAHMALgBwAHMAZAAxACcAOwAgAFMAdABhAHIAdAAtAEUAZABpAHQAbwByAFMAZQByAHYAaQBjAGUAcwAgAC0ASABvAHMAdABOAGEAbQBlACAAJwBWAGkAcwB1AGEAbAAgAFMAdAB1AGQAaQBvACAAQwBvAGQAZQAgAEgAbwBzAHQAJwAgAC0ASABvAHMAdABQAHIAbwBmAGkAbABlAEkAZAAgACcATQBpAGMAcgBvAHMAbwBmAHQALgBWAFMAQwBvAGQAZQAnACAALQBIAG8AcwB0AFYAZQByAHMAaQBvAG4AIAAnADIAMAAyADMALgAzAC4AMwAnACAALQBBAGQAZABpAHQAaQBvAG4AYQBsAE0AbwBkAHUAbABlAHMAIABAACgAJwBQAG8AdwBlAHIAUwBoAGUAbABsAEUAZABpAHQAbwByAFMAZQByAHYAaQBjAGUAcwAuAFYAUwBDAG8AZABlACcAKQAgAC0AQgB1AG4AZABsAGUAZABNAG8AZAB1AGwAZQBzAFAAYQB0AGgAIAAnAC8AVQBzAGUAcgBzAC8AagBjAHMAdABvAHIAaQBuAG8ALwAuAHYAcwBjAG8AZABlAC8AZQB4AHQAZQBuAHMAaQBvAG4AcwAvAG0AcwAtAHYAcwBjAG8AZABlAC4AcABvAHcAZQByAHMAaABlAGwAbAAtADIAMAAyADMALgAzAC4AMwAvAG0AbwBkAHUAbABlAHMAJwAgAC0ARQBuAGEAYgBsAGUAQwBvAG4AcwBvAGwAZQBSAGUAcABsACAALQBTAHQAYQByAHQAdQBwAEIAYQBuAG4AZQByACAAIgBQAG8AdwBlAHIAUwBoAGUAbABsACAARQB4AHQAZQBuAHMAaQBvAG4AIAB2ADIAMAAyADMALgAzAC4AMwAKAEMAbwBwAHkAcgBpAGcAaAB0ACAAKABjACkAIABNAGkAYwByAG8AcwBvAGYAdAAgAEMAbwByAHAAbwByAGEAdABpAG8AbgAuAAoACgBoAHQAdABwAHMAOgAvAC8AYQBrAGEALgBtAHMALwB2AHMAYwBvAGQAZQAtAHAAbwB3AGUAcgBzAGgAZQBsAGwACgBUAHkAcABlACAAJwBoAGUAbABwACcAIAB0AG8AIABnAGUAdAAgAGgAZQBsAHAALgAKACIAIAAtAEwAbwBnAEwAZQB2AGUAbAAgACcARABpAGEAZwBuAG8AcwB0AGkAYwAnACAALQBMAG8AZwBQAGEAdABoACAAJwAvAFUAcwBlAHIAcwAvAGoAYwBzAHQAbwByAGkAbgBvAC8ATABpAGIAcgBhAHIAeQAvAEEAcABwAGwAaQBjAGEAdABpAG8AbgAgAFMAdQBwAHAAbwByAHQALwBDAG8AZABlAC8AVQBzAGUAcgAvAGcAbABvAGIAYQBsAFMAdABvAHIAYQBnAGUALwBtAHMALQB2AHMAYwBvAGQAZQAuAHAAbwB3AGUAcgBzAGgAZQBsAGwALwBsAG8AZwBzAC8AMQA2ADgAMAA3ADIANQAyADEAMwAtAGYAYQAxAGUAZAA5ADUAMwAtAGQANwA2ADgALQA0AGYAYwBiAC0AYgBkADIAMAAtADMAMwBlAGEANQA3AGYAZABkADcANABiADEANgA4ADAANwAyADUAMQA1ADQANgA3ADgALwBFAGQAaQB0AG8AcgBTAGUAcgB2AGkAYwBlAHMALgBsAG8AZwAnACAALQBTAGUAcwBzAGkAbwBuAEQAZQB0AGEAaQBsAHMAUABhAHQAaAAgACcALwBVAHMAZQByAHMALwBqAGMAcwB0AG8AcgBpAG4AbwAvAEwAaQBiAHIAYQByAHkALwBBAHAAcABsAGkAYwBhAHQAaQBvAG4AIABTAHUAcABwAG8AcgB0AC8AQwBvAGQAZQAvAFUAcwBlAHIALwBnAGwAbwBiAGEAbABTAHQAbwByAGEAZwBlAC8AbQBzAC0AdgBzAGMAbwBkAGUALgBwAG8AdwBlAHIAcwBoAGUAbABsAC8AcwBlAHMAcwBpAG8AbgBzAC8AUABTAEUAUwAtAFYAUwBDAG8AZABlAC0ANwA4ADYAOAAzAC0ANQA3ADAAOAA5ADIALgBqAHMAbwBuACcAIAAtAEYAZQBhAHQAdQByAGUARgBsAGEAZwBzACAAQAAoACkAIAA=

That string is just these arguments encoded as base64:

Import-Module '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules/PowerShellEditorServices/PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2023.3.3' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2023.3.3
Copyright (c) Microsoft Corporation.

https://aka.ms/vscode-powershell
Type 'help' to get help.
" -LogLevel 'Diagnostic' -LogPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/logs/1680725213-fa1ed953-d768-4fcb-bd20-33ea57fdd74b1680725154678/EditorServices.log' -SessionDetailsPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-78683-570892.json' -FeatureFlags @() 

@jcstorino
Copy link
Author

Running the entire command by pwsh (outside VSC), it seems to work correctly, see below!

`PS jcstorino > Import-Module '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules/PowerShellEditorServices/PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2023.3.3' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2023.3.3
Copyright (c) Microsoft Corporation.
https://aka.ms/vscode-powershell
Type 'help' to get help.
" -LogLevel 'Diagnostic' -LogPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/logs/1680725213-fa1ed953-d768-4fcb-bd20-33ea57fdd74b1680725154678/EditorServices.log' -SessionDetailsPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-78683-570892.json' -FeatureFlags @()
DEBUG: Logging started
DEBUG: Beginning EndProcessing block
VERBOSE: Removing PSReadLine
VERBOSE: Removed PSReadLine
DEBUG: Creating host configuration
DEBUG: Determining REPL kind
DEBUG: REPL configured as PSReadLine
DEBUG: Configuring LSP transport
DEBUG: Configuring debug transport
DEBUG: Session file writer created
VERBOSE: Adding AssemblyResolve event handler for new AssemblyLoadContext dependency loading
VERBOSE: Loading EditorServices
VERBOSE: PID: 13184
VERBOSE:
== Build Details ==

  • Editor Services version: 3.8.3
  • Build origin: Release
  • Build commit: 98e28e9638a9f355aaed861527c251542e456f4f
  • Build time: 27/03/2023 00:00:00

VERBOSE:
== Host Startup Configuration Details ==

  • Host name: Visual Studio Code Host

  • Host version: 2023.3.3

  • Host profile ID: Microsoft.VSCode

  • PowerShell host type: System.Management.Automation.Internal.Host.InternalHost

  • REPL setting: PSReadLine

  • Session details path: /Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-78683-570892.json

  • Bundled modules path: /Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules

  • Additional modules: PowerShellEditorServices.VSCode

  • Feature flags:

  • Log path: /Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/logs/1680725213-fa1ed953-d768-4fcb-bd20-33ea57fdd74b1680725154678/EditorServices.log

  • Minimum log level: Diagnostic

  • Profile paths:

    • AllUsersAllHosts: /usr/local/microsoft/powershell/7/profile.ps1
    • AllUsersCurrentHost: /usr/local/microsoft/powershell/7/Microsoft.VSCode_profile.ps1
    • CurrentUserAllHosts: /Users/jcstorino/.config/powershell/profile.ps1
    • CurrentUserCurrentHost: /Users/jcstorino/.config/powershell/Microsoft.VSCode_profile.ps1

DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Security, Version=7.3.3.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
VERBOSE:
== Console Details ==

  • Console input encoding: Unicode (UTF-8)
  • Console output encoding: Unicode (UTF-8)
  • PowerShell output encoding: Unicode (UTF-8)

VERBOSE:
== PowerShell Details ==

  • PowerShell version: 7.3.3
  • Language mode: FullLanguage

VERBOSE:
== Environment Details ==

  • OS description: Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000
  • OS architecture: Arm64
  • Process bitness: 64

VERBOSE: Updated PSModulePath to: '/Users/jcstorino/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/usr/local/microsoft/powershell/7/Modules:/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules'
DEBUG: Validating configuration
VERBOSE: Loading PowerShell Editor Services
DEBUG: Assembly resolve event fired for Microsoft.PowerShell.EditorServices, Version=3.8.3.0, Culture=neutral, PublicKeyToken=null
VERBOSE: Loading PSES DLL using new assembly load context
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.PowerShell.EditorServices, Version=3.8.3.0, Culture=neutral, PublicKeyToken=null
VERBOSE: Starting EditorServices
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.Async, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Extensions.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.File, Version=5.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
DEBUG: Creating/running editor services
DEBUG: Creating startup info object
VERBOSE: Starting server, deregistering host logger and registering shutdown listener
PowerShell Extension v2023.3.3
Copyright (c) Microsoft Corporation.

https://aka.ms/vscode-powershell
Type 'help' to get help.
`

image

@andyleejordan
Copy link
Member

Even when the cwd is /Users/jcstorino/Library/Mobile Documents/com~apple~CloudDocs/Work/VSC?

...cause that's strange. If it's starting then it should also be starting when the extension tries the same thing.

@jcstorino
Copy link
Author

Yes! Even in this folder, the result is the same! It seems to work right!

`PS VSC > pwd

Path

/Users/jcstorino/Library/Mobile Documents/comappleCloudDocs/Work/VSC

PS VSC > Import-Module '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules/PowerShellEditorServices/PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2023.3.3' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath '/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2023.3.3

Copyright (c) Microsoft Corporation.

https://aka.ms/vscode-powershell
Type 'help' to get help.
" -LogLevel 'Diagnostic' -LogPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/logs/1680725213-fa1ed953-d768-4fcb-bd20-33ea57fdd74b1680725154678/EditorServices.log' -SessionDetailsPath '/Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-78683-570892.json' -FeatureFlags @()
DEBUG: Logging started
DEBUG: Beginning EndProcessing block
VERBOSE: Removing PSReadLine
VERBOSE: Removed PSReadLine
DEBUG: Creating host configuration
DEBUG: Determining REPL kind
DEBUG: REPL configured as PSReadLine
DEBUG: Configuring LSP transport
DEBUG: Configuring debug transport
DEBUG: Session file writer created
VERBOSE: Adding AssemblyResolve event handler for new AssemblyLoadContext dependency loading
VERBOSE: Loading EditorServices
VERBOSE: PID: 3002
VERBOSE:
== Build Details ==

  • Editor Services version: 3.8.3
  • Build origin: Release
  • Build commit: 98e28e9638a9f355aaed861527c251542e456f4f
  • Build time: 27/03/2023 00:00:00

VERBOSE:
== Host Startup Configuration Details ==

  • Host name: Visual Studio Code Host

  • Host version: 2023.3.3

  • Host profile ID: Microsoft.VSCode

  • PowerShell host type: System.Management.Automation.Internal.Host.InternalHost

  • REPL setting: PSReadLine

  • Session details path: /Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-78683-570892.json

  • Bundled modules path: /Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules

  • Additional modules: PowerShellEditorServices.VSCode

  • Feature flags:

  • Log path: /Users/jcstorino/Library/Application Support/Code/User/globalStorage/ms-vscode.powershell/logs/1680725213-fa1ed953-d768-4fcb-bd20-33ea57fdd74b1680725154678/EditorServices.log

  • Minimum log level: Diagnostic

  • Profile paths:

    • AllUsersAllHosts: /usr/local/microsoft/powershell/7/profile.ps1
    • AllUsersCurrentHost: /usr/local/microsoft/powershell/7/Microsoft.VSCode_profile.ps1
    • CurrentUserAllHosts: /Users/jcstorino/.config/powershell/profile.ps1
    • CurrentUserCurrentHost: /Users/jcstorino/.config/powershell/Microsoft.VSCode_profile.ps1

DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Security, Version=7.3.3.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
VERBOSE:
== Console Details ==

  • Console input encoding: Unicode (UTF-8)
  • Console output encoding: Unicode (UTF-8)
  • PowerShell output encoding: Unicode (UTF-8)

VERBOSE:
== PowerShell Details ==

  • PowerShell version: 7.3.3
  • Language mode: FullLanguage

VERBOSE:
== Environment Details ==

  • OS description: Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000
  • OS architecture: Arm64
  • Process bitness: 64

VERBOSE: Updated PSModulePath to: '/Users/jcstorino/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/usr/local/microsoft/powershell/7/Modules:/Users/jcstorino/.vscode/extensions/ms-vscode.powershell-2023.3.3/modules'
DEBUG: Validating configuration
VERBOSE: Loading PowerShell Editor Services
DEBUG: Assembly resolve event fired for Microsoft.PowerShell.EditorServices, Version=3.8.3.0, Culture=neutral, PublicKeyToken=null
VERBOSE: Loading PSES DLL using new assembly load context
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.PowerShell.EditorServices, Version=3.8.3.0, Culture=neutral, PublicKeyToken=null
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
VERBOSE: Starting EditorServices
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.Async, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Extensions.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.File, Version=5.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
DEBUG: Creating/running editor services
DEBUG: Creating startup info object
VERBOSE: Starting server, deregistering host logger and registering shutdown listener
PowerShell Extension v2023.3.3
Copyright (c) Microsoft Corporation.

https://aka.ms/vscode-powershell
Type 'help' to get help.
`

@jcstorino
Copy link
Author

I Find some log files today.. But I don't know in what situation they were generated..

Log Files.zip

@juliostorino
Copy link

For information... @andschwa

I tried in every way to find the problem, but I was unsuccessful.

I had to do a clean installation of my MACOS and reinstall everything...
this time I'm using VSC Insider, and after installing the extension it started correctly and it's functional.

Probably something related to MACOS permissions.

Tks !

@andyleejordan
Copy link
Member

Of the whole OS?! That's so awkward but I'm so glad to hear it fixed things!

@juliostorino
Copy link

@andschwa

🥹 yes... i maked a clean install...

As I am not a specialist in Linux/Unix, search for the right permission that was causing the problem did not seem very simple to me... opting for reinstallation turned out to be more effective !

@ghost
Copy link

ghost commented Apr 22, 2023

This issue was closed automatically as repro info was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!

@ghost ghost closed this as completed Apr 22, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

4 participants