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

Unable to retrieve package version for ... #3419

Closed
matthid opened this issue Nov 11, 2018 · 0 comments · Fixed by #3420
Closed

Unable to retrieve package version for ... #3419

matthid opened this issue Nov 11, 2018 · 0 comments · Fixed by #3420

Comments

@matthid
Copy link
Member

matthid commented Nov 11, 2018

Description

Sometimes I see this in my fake builds:

  -> Unable to retrieve package versions for 'Fake.Runtime'
     -- CLOSED --
        
     -- OPEN ----
        Fake.Runtime  (from /home/travis/build/fsharp/FAKE/integrationtests/core-simple-runtime-error/temp/.fake/runtime-error.fsx/paket.dependencies)
        FSharp.Core  (from /home/travis/build/fsharp/FAKE/integrationtests/core-simple-runtime-error/temp/.fake/runtime-error.fsx/paket.dependencies)
     StackTrace:
          at [email protected](IEnumerable`1& next)
          at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl()
          at Microsoft.FSharp.Collections.SeqModule.oneStepTo@979[T](IEnumerable`1 source, List`1 prefix, FSharpRef`1 enumeratorR, Int32 i)
          at Microsoft.FSharp.Collections.SeqModule.action@4251-1[T](IEnumerable`1 source, List`1 prefix, FSharpRef`1 enumeratorR, Int32 i, Unit unitVar0)
          at [email protected](Int32 i)
          at Microsoft.FSharp.Collections.Internal.IEnumerator.unfold@199.DoMoveNext(b& curr)
          at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
          at Microsoft.FSharp.Collections.Internal.IEnumerator.map@74.DoMoveNext(b& curr)
          at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
          at Microsoft.FSharp.Collections.Internal.IEnumerator.next@187[T](FSharpFunc`2 f, IEnumerator`1 e, FSharpRef`1 started, Unit unitVar0)
          at Microsoft.FSharp.Collections.SeqModule.oneStepTo@979[T](IEnumerable`1 source, List`1 prefix, FSharpRef`1 enumeratorR, Int32 i)
          at Microsoft.FSharp.Collections.SeqModule.action@4251-1[T](IEnumerable`1 source, List`1 prefix, FSharpRef`1 enumeratorR, Int32 i, Unit unitVar0)
          at [email protected](Int32 i)
          at Microsoft.FSharp.Collections.Internal.IEnumerator.unfold@199.DoMoveNext(b& curr)
          at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
          at Microsoft.FSharp.Collections.SeqModule.IsEmpty[T](IEnumerable`1 source)
          at Paket.PackageResolver.getCompatibleVersions(ResolverStep currentStep, GroupName groupName, PackageRequirement currentRequirement, IDictionary`2 rootDependencies, FSharpFunc`2 getVersionsF, Boolean globalOverride, FSharpOption`1 globalStrategyForDirectDependencies, FSharpOption`1 globalStrategyForTransitives)
          at Paket.PackageResolver.step@1113(UpdateMode updateMode, GroupName groupName, FSharpOption`1 globalStrategyForTransitives, FSharpOption`1 globalStrategyForDirectDependencies, FrameworkRestrictions globalFrameworkRestrictions, FSharpFunc`2 getVersionsRaw, FSharpFunc`2 getPreferredVersionsRaw, FSharpFunc`2 getPackageDetailsRaw, FSharpSet`1 cliToolSettings, ResolverRequestQueue workerQueue, Int32 taskTimeout, TimeSpan loopTimeout, ConcurrentDictionary`2 startedGetPackageDetailsRequests, FSharpFunc`2 getPackageDetailsBlock, ConcurrentDictionary`2 startedGetVersionsRequests, FSharpOption`1 packageFilter, IDictionary`2 rootDependenciesDict, FSharpSet`1 lockedPackages, DateTime loopTime, Stage stage, StackPack stackpack, IEnumerable`1 compatibleVersions, StepFlags flags)
          at Paket.PackageResolver.Resolve(FSharpFunc`2 getVersionsRaw, FSharpFunc`2 getPreferredVersionsRaw, FSharpFunc`2 getPackageDetailsRaw, GroupName groupName, FSharpOption`1 globalStrategyForDirectDependencies, FSharpOption`1 globalStrategyForTransitives, FrameworkRestrictions globalFrameworkRestrictions, FSharpSet`1 rootDependencies, UpdateMode updateMode)
          at <StartupCode$Paket-Core>[email protected](GroupName groupName, b _arg1)
          at Microsoft.FSharp.Collections.MapTreeModule.mapiOpt[a,b,c](FSharpFunc`3 f, MapTree`2 m)
          at Microsoft.FSharp.Collections.FSharpMap`2.Map[b](FSharpFunc`2 f)
          at Paket.UpdateProcess.selectiveUpdate(Boolean force, FSharpFunc`2 getSha1, FSharpFunc`2 getVersionsF, FSharpFunc`2 getPackageDetailsF, FSharpFunc`2 getRuntimeGraphFromPackage, LockFile lockFile, DependenciesFile dependenciesFile, UpdateMode updateMode, SemVerUpdateMode semVerUpdateMode)
          at Paket.UpdateProcess.SelectiveUpdate(DependenciesFile dependenciesFile, FSharpOption`1 alternativeProjectRoot, UpdateMode updateMode, SemVerUpdateMode semVerUpdateMode, Boolean force)
          at Paket.UpdateProcess.SmartInstall(DependenciesFile dependenciesFile, UpdateMode updateMode, UpdaterOptions options)
          at Paket.UpdateProcess.UpdateGroup(String dependenciesFileName, GroupName groupName, UpdaterOptions options)
          at <StartupCode$Paket-Core>[email protected](Unit unitVar0)
          at Paket.Utils.RunInLockedAccessMode[a](String lockedFolder, FSharpFunc`2 action)
          at Fake.Runtime.FakeRuntime.restoreOrUpdate@216(FakeConfig config, String cacheDir, Dependencies paketApi, FSharpOption`1 group, VerboseLevel logLevel, String script, String groupStr, FileInfo lockFilePath, Unit unitVar0) in /home/travis/build/fsharp/FAKE/src/app/Fake.Runtime/FakeRuntime.fs:line 217
          at Fake.Runtime.FakeRuntime.paketCachingProvider(FakeConfig config, String cacheDir, Dependencies paketApi, Lazy`1 paketDependenciesFile, FSharpOption`1 group) in /home/travis/build/fsharp/FAKE/src/app/Fake.Runtime/FakeRuntime.fs:line 298
          at Fake.Runtime.FakeRuntime.prepareFakeScript(FakeConfig config) in /home/travis/build/fsharp/FAKE/src/app/Fake.Runtime/FakeRuntime.fs:line 449
          at Program.runOrBuild(RunArguments args) in /home/travis/build/fsharp/FAKE/src/app/Fake.netcore/Program.fs:line 155
  -> OperationCanceledException: The operation was canceled.
     StackTrace:
          at [email protected](Exception _arg5)
          at <StartupCode$FSharp-Core>[email protected](Exception exn)
          at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 catchFilter, ExceptionDispatchInfo edi)
          at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)
       --- End of stack trace from previous location where exception was thrown ---
          at Paket.PackageResolver.getAndReport@994[a](Int32 taskTimeout, FSharpList`1 sources, BlockReason blockReason, ResolverTaskMemory`1 mem)
          at [email protected](IEnumerable`1& next)

Expected behavior

Works

Actual behavior

Error

Known workarounds

None known

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

Successfully merging a pull request may close this issue.

1 participant