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!

    Can't download a PyPi package from remote connector

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 34 Views 1 Watching
    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.
    • J Offline
      jacob.appleton_7306
      last edited by

      Hello,

      When I try to download PyPi package "requests 2.22.0" from a connector, I get the following error:

      8738f8b0-6031-4c98-80ec-91dab2cb7d5c-image.png

      e726f4b8-3ae2-4e17-925d-bc9b3a0b317c-image.png

      The package definitely exists on the remote feed: https://pypi.org/project/requests/2.22.0/#files

      I'm seeing the following error in the Diagnostic Center, but I'm not sure if it is related:

      Newtonsoft.Json.JsonSerializationException: Error setting value to 'JsonReleases' on 'Inedo.ProGet.Feeds.Pypi.PypiPackageApiResponse'. ---> System.ArgumentException: An item with the same key has already been added.
      at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
      at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
      at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
      at Inedo.ProGet.Feeds.Pypi.PypiPackageApiResponse.set_JsonReleases(Dictionary`2 value)
      at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value)
      
      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        I'm afraid I can't reproduce this :(

        Using the latest ProGet version, I created a PyPi feed, added a connector to Pypi.org, then browsed, downloaded, and pulled the package.

        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