Index was outside the bounds of the array. #1256

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

Comments

Projects
None yet
2 participants
@vasily-kirichenko
Contributor

vasily-kirichenko commented Nov 25, 2015

  • 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

This comment has been minimized.

Show comment
Hide comment
@forki

forki Nov 25, 2015

Member

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.

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