-
Notifications
You must be signed in to change notification settings - Fork 298
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
The system cannot open the device or file specified. : 'PSReadLineHistoryFile_3946503603' #1488
Comments
@FiggyRoll How can we reproduce the issue? Can you add more information? |
Hi @iSazonov Sure. In terms of more info. Running iterm2 using zsh on MacOS, and Powershell is installed using brew. Has failed since I updated to Powershell 7 from 6. brew cask uninstall powershell Updating Homebrew... then run powershell from iterm2 pwsh first time running probably takes 10 - 15 seconds then the error above appears. Just checked using the native terminal as well and receive the same error. Thanks |
Just as a side note I experience the same behaviour with powershell-preview as well |
Hi This appears to be resolved now. I have upgraded my mac from 10.15.2 to 10.15.4 and both 7 and preview are now working. No idea what has changed to now make this work, but it is running as expected now. Thanks |
@FiggyRoll Thanks for the follow-up comments. It looks you were still using a preview release of 7.0.0. Please upgrade to the 7.0.0 GA release if possible :) |
Hi @daxian-dbw Would it be possible to re-open this please? I dont appear to be able to reopen it myself (I'm assuming this is because you have closed it and not me?) The issue has returned with the exact same error message Exception
Other details from the error
My mac is up to date and I'm not aware of any additional updates that have been installed in the last few days. This was working up until at least Wednesday last week. To reproduce I just run pwsh from terminal on my mac. I noticed the issue this morning when opening a script in vscode, and then tested just opening powershell in terminal and the issue appeared. I have powershell installed using brew, and up until this morning was on 7.0.0, I have upgraded to 7.1.0 this morning using 'brew cask upgrade powershell' but the issue persists. I did also have powershell-preview installed using brew which I have now removed, but still have the error. UPDATE:
Thanks |
@FiggyRoll Thanks for reporting back on this with additional information! |
Unable to run Powershell or Preview on MacOS if the PSReadline Module is loaded.
The error is:
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new
Environment
PSReadLine: 2.0.0-rc1
PowerShell: 7.0.0
OS: Darwin 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
Last 0 Keys
Exception
Powershell lods fine if I delete / rename / dont load the PSReadLine module.
The text was updated successfully, but these errors were encountered: