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

Got into a corrupted db state, every change of location print error #83

Open
vors opened this issue Jul 10, 2019 · 3 comments
Open

Got into a corrupted db state, every change of location print error #83

vors opened this issue Jul 10, 2019 · 3 comments

Comments

@vors
Copy link
Owner

vors commented Jul 10, 2019

Everything works, except I get this error all the time

Split-Path : Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again.
At /usr/local/share/powershell/Modules/ZLocation/1.2.0/ZLocation.Search.psm1:99 char:13
+     $leaf = Split-Path -Leaf $path
+             ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [Split-Path], PSArgumentException
+ FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.SplitPathCommand
@vors
Copy link
Owner Author

vors commented Jul 10, 2019

Ah the offender is / path in the database.

@vors
Copy link
Owner Author

vors commented Jul 10, 2019

Hm actually no - it's Microsoft.PowerShell.Core\FileSystem::

@vors
Copy link
Owner Author

vors commented Jul 10, 2019

For future, if somebody hits it, the workaround / fix is Remove-ZLocation Microsoft.PowerShell.Core\FileSystem::

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant