Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    Conda feed not generating repodata.json for win-64 subdir

    Scheduled Pinned Locked Moved Support
    5 Posts 3 Posters 12 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      e.rotteveel_1850
      last edited by e.rotteveel_1850

      First of all, @atripp : the constrains (i.e. optional dependencies) appears to be working. Thank you and your team! We're now trying to setup conda feeds with the 2023 version of ProGet and we can see the conda feed features improved!

      However, the conda feed breaks down after uploading some packages. I cannot really find out what triggers the problem exactly, but I uploaded some example packages here:

      https://nextcloud.marin.nl/index.php/s/7zBHSDx8QYLCzfJ

      When I create a new, empty conda feed, the repodata.json works fine. I can go to one of:

      • https://my.proget.url/conda/my-conda-feed/win-64/repodata.json
      • https://my.proget.url/conda/my-conda-feed/noarch/repodata.json

      And they look fine. Of course there are no packages yet.

      If I upload the hello-inedo-triple package from my examples (via the manual upload in the WebGUI), the second link (noarch repodata.json) still works. But if I upload proget-package-2023.8.0-1.tar.bz2, the win-64 repodata.json link responds with:

      Object reference not set to an instance of an object.

      Meanwhile, the channeldata.json (https://my.proget.url/conda/my-conda-feed/channeldata.json) works perfectly fine.

      I hope you can look into this, thanks!

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @e.rotteveel_1850
        last edited by

        Hi @e-rotteveel_1850 ,

        Thanks for sharing the packages for this (and that other CONDA issue); my wild-guess is that it's related to your package metadata. But we'll use your packages, attach a debugger and find out :)

        Please give us a few days to investigate/resolve this, and hopefully it'll be a very easy fix.

        1 Reply Last reply Reply Quote 0
        • E Offline
          e.rotteveel_1850
          last edited by

          Thanks for the effort again!

          I just tried with one of the numpy packages on the main conda channel:
          https://repo.anaconda.com/pkgs/main/win-64/numpy-1.23.5-py39h6917f2d_1.tar.bz2

          And I get the same problem with the win-64/repodata.json URL.

          It went okay with one of our own packages though (but not with another). But even after comparing the metadata for both packages in detail I was not able to find problematic data or characters (none that I could think of).

          Looking forward to the fix! 😁

          1 Reply Last reply Reply Quote 0
          • gdivisG Offline
            gdivis inedo-engineer
            last edited by

            Hi @e-rotteveel_1850

            Thanks again for the packages and detailed repro steps. I was able to reproduce this and we'll have a fix (PG-2445) in this Friday's release (v2023.14). It appears to have been a regression introduced when we added support for parsing package constrains information from connectors.

            -Greg

            1 Reply Last reply Reply Quote 0
            • E Offline
              e.rotteveel_1850
              last edited by

              Sorry for my late reply, but we have since installed version 2023.16 and repodata.json works perfectly fine now! Thanks for including this in your updates.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation