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
-
Hello,
When I try to download PyPi package "requests 2.22.0" from a connector, I get the following error:
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)
-
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.