-
Notifications
You must be signed in to change notification settings - Fork 30
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
Update-ZLocation takes a long time; errors after second call #85
Comments
Interesting, thank you for the report. |
@vors I just started running into this exact problem myself, after a couple months of using this module hundreds of times every day without issue. I have no idea what I may have done to get into the state it's in, but as this is a crucial tool for me, I am super motivated to help narrow down the problem. :D Do you have any suggestions of things I might try? |
@scottbilas hey, thank you for chiming in! The tool is fairly small and all pure powershell - if you have this state on hands, it should be fairly straightforward to interactively debug it. Roughly speaking, add |
Now the problem isn't reproducing for me. Perhaps a reboot.. Anyway when it pops up again I'll do the investigation you suggest. |
I did some digging -- for an |
I tried installing under Powershell 7 today, but just the initial After the I was hoping for a good alternative to |
On a fresh install, deleting ~/z-location.db and not calling Update-Location from prompt, doing it manually results in:
Update-ZLocation $pwd
call takes ~3-4sUpdate-ZLocation $pwd
call throws:pwsh 7.0-preview2, Windows 10
The text was updated successfully, but these errors were encountered: