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

Index was outside the bounds of the array. #1256

Closed
vasily-kirichenko opened this issue Nov 25, 2015 · 1 comment
Closed

Index was outside the bounds of the array. #1256

vasily-kirichenko opened this issue Nov 25, 2015 · 1 comment

Comments

@vasily-kirichenko
Copy link
Contributor

  • erase a package version number in paket.lock
  • run paket install
L:\hg\klsrl.core>.paket\paket.exe install -v
Paket version 2.23.4.0
found: L:\hg\klsrl.core\paket.dependencies
Parsing L:\hg\klsrl.core\paket.dependencies
Paket failed with:
        Index was outside the bounds of the array.
StackTrace:
     at Paket.LockFileParser.Parse$cont@255(FSharpFunc`2 removeBrackets, String line, FSharpList`1 otherGroups, ParseState currentGroup, Uni
t unitVar)
   at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState](FSharpFunc`2 folder, TState state, IEnumerable`1 source)
   at Paket.LockFile.Parse(String lockFileName, String[] lines)
   at Paket.UpdateProcess.SelectiveUpdate(DependenciesFile dependenciesFile, UpdateMode updateMode, SemVerUpdateMode semVerUpdateMode, Boole
an force)
   at Paket.UpdateProcess.SmartInstall(DependenciesFile dependenciesFile, UpdateMode updateMode, UpdaterOptions options)
   at <StartupCode$Paket-Core>.$PublicAPI.Install@155.Invoke(Unit unitVar0)
   at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc`2 action)
   at Paket.Program.handler@337-10.Invoke(ParseResults`1 results)
   at Paket.Program.processWithValidation[T](FSharpFunc`2 validateF, FSharpFunc`2 commandF, Command command, String[] args)
   at Paket.Program.processCommand@61-1.Invoke(Command command, String[] args)
   at Paket.Program.main()
@forki
Copy link
Member

forki commented Nov 25, 2015

Why would you change the lock file manually?
On Nov 25, 2015 10:58, "Vasily Kirichenko" notifications@github.com wrote:

  • erase a package version number in paket.lock
  • run paket install

L:\hg\klsrl.core>.paket\paket.exe install -v
Paket version 2.23.4.0
found: L:\hg\klsrl.core\paket.dependencies
Parsing L:\hg\klsrl.core\paket.dependencies
Paket failed with:
Index was outside the bounds of the array.
StackTrace:
at Paket.LockFileParser.Parse$cont@255(FSharpFunc2 removeBrackets, String line, FSharpList1 otherGroups, ParseState currentGroup, Uni
t unitVar)
at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState](FSharpFunc2 folder, TState state, IEnumerable1 source)
at Paket.LockFile.Parse(String lockFileName, String[] lines)
at Paket.UpdateProcess.SelectiveUpdate(DependenciesFile dependenciesFile, UpdateMode updateMode, SemVerUpdateMode semVerUpdateMode, Boole
an force)
at Paket.UpdateProcess.SmartInstall(DependenciesFile dependenciesFile, UpdateMode updateMode, UpdaterOptions options)
at <StartupCode$Paket-Core>.$PublicAPI.Install@155.Invoke(Unit unitVar0)
at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc2 action) at Paket.Program.handler@337-10.Invoke(ParseResults1 results)
at Paket.Program.processWithValidation[T](FSharpFunc2 validateF, FSharpFunc2 commandF, Command command, String[] args)
at Paket.Program.processCommand@61-1.Invoke(Command command, String[] args)
at Paket.Program.main()


Reply to this email directly or view it on GitHub
#1256.

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

No branches or pull requests

2 participants