You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first thank you for creating this plugin! I enjoy using z.sh on Linux and I was super excited when seeing this project!
Unfortunately I could not get this working. Everytime I execute z. I get the following error:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
At C:\Program Files (x86)\WindowsPowerShell\Modules\ZLocation\1.2.0\ZLocation.Service.psm1:76 char:9
+ Write-Error $error[0]
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : System.ArgumentOutOfRangeException
My setup:
PS> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 17763 592
Terminal: Cmder version 180626
Windows version: 10.0.17763 Build 17763
The text was updated successfully, but these errors were encountered:
The actual contents of the error -- after commenting out the entire block there and just getting the raised exception instead of trying to save errors in a loop:
Exception calling "Insert" with "1" argument(s): "Cannot insert duplicate key in unique index '_id'. The duplicate value is '"C:\\Users\\vladv"'."
At C:\Users\vladv\Documents\PowerShell\Modules\ZLocation\1.2.0\ZLocation.LiteDB.psm1:19 char:5
+ $collection.Insert((ToDocument $item)) | out-null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : LiteException
I opened #85 for this as it might be a different underlying issue than the original reporter of this issue was hitting.
Hi, first thank you for creating this plugin! I enjoy using z.sh on Linux and I was super excited when seeing this project!
Unfortunately I could not get this working. Everytime I execute
z
. I get the following error:My setup:
Terminal: Cmder version 180626
Windows version: 10.0.17763 Build 17763
The text was updated successfully, but these errors were encountered: