Skip to content
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

BUG: Error in TypeData "Microsoft.PowerShell.DeserializingTypeConverter": Cannot create an instance of the type converter for type Microsoft.PowerShell.DeserializingTypeConverter due to exception: The type initializer for 'Microsoft.PowerShell.DeserializingTypeConverter' threw an exception.. , and 3 another errors #17447

Closed
BussyBakks opened this issue Jun 19, 2024 · 5 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@BussyBakks
Copy link

BussyBakks commented Jun 19, 2024

Windows Terminal version

v1.21.1382.0

Windows build number

10.0.26120.670

Other Software

Oh-my-Posh 19.16.1 to customize the prompt
and powershell script
image

Steps to reproduce

open powershell. any permission

Expected Behavior

open powershell window like normal

Actual Behavior

image
maximized window is Powershell (PWSH) 7, another is an original powershell in my computer.
Note: Powershell console in Powershell ISE still works

@BussyBakks BussyBakks added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jun 19, 2024
@lhecker
Copy link
Member

lhecker commented Jun 19, 2024

Does PowerShell start successfully if you comment out the oh-my-posh line in your profile?

@BussyBakks
Copy link
Author

Does PowerShell start successfully if you comment out the oh-my-posh line in your profile?

@lhecker before i put oh-my-posh on $PROFILE to load with powershell, now i removed it and still have this error .-.

@BussyBakks
Copy link
Author

BussyBakks commented Jun 20, 2024

ISSUE CLOSED: i fixed this error, just restart .-.
maybe something that blocked powershell starts when back after hibernated .-.
oh-my-posh profile works too
image

@DHowett
Copy link
Member

DHowett commented Jun 20, 2024

Thanks for following up! Congrats.

@BussyBakks
Copy link
Author

BussyBakks commented Jun 21, 2024

Thanks for following up! Congrats.

@DHowett this error caused by hibernation state .-. after hibernating powershell not work again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants