Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

"Sequence contains no elements" after upgrading ProGet from v3.1.0 to v3.2.1



  • Hi.

    After upgrading from v3.1.0 to v3.2.1, I now see the following error repeated in the indexing log on the admin page:

    Package Indexing Error
    Feed XXXX-R2.0
    Package AAA.BBB.2.0.18654.0.nupkg
    Message Sequence contains no elements
    Date 11/7/2014 3:08:38 PM
    Stack Trace at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
    at Inedo.NuGet.Packages.NuGetPackage.ReadFromNupkgFile(Stream stream)
    at Inedo.NuGet.Packages.NuGetPackage.ReadFromNupkgFile(String fileName)
    at Inedo.ProGet.Extensibility.PackageStores.DirectoryPackageStore.TryReadPackage(String fileName)

    Any thoughts on what might be causing this?

    Product: ProGet
    Version: 3.2.1



  • I'm guessing that your AAA.BBB package does not have a .nuspec file in it, or it is not named AAA.BBB.nuspec.

    This behavior hasn't changed since 3.1.0, but it's possible that it just didn't used to get logged before. You may want to open up the .nupkg file in package explorer or a zip utility to check it out.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation