Strange, I didn't receive a notification that you replied... Ah, I had to subscribe.
I just have reproduced the issue. Here's what I have in the Diagnostic Center.
First there is a warning (5 times the same).
Logged: 4/3/2020 8:57:54 AM
Level: Warning
Category: Feed
Details: none
Message:
Unable to open file mypackage/1/:
System.IO.DirectoryNotFoundException: Could not find a part of the path
'E:\ProGetData\Packages\.pypi\F11\mypackage\1\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options)
at Inedo.IO.FileEx.Open(String fileName, FileMode fileMode,
FileAccess fileAccess, FileShare fileShare, FileOptions fileOptions)
at
Inedo.ProGet.Extensions.FileSystems.DirectoryFileSystem.OpenFileAsync(String
fileName, FileMode mode, FileAccess access, FileShare share, Boolean
requireRandomAccess)
at
Inedo.ProGet.Extensibility.PackageStores.FileSystemPackageStore.<TryOpenStreamAsync>d__18.MoveNext()
Then there is an error (6 times the same).
Logged: 4/3/2020 9:05:11 AM
Level: Error
Category: Web
Message:
An error occurred processing a GET request to
https://mydomain/pypi/DevPyPI/download/mypackage/1/mypackage-1-py3-none-any.whl:
Invalid URI: The format of the URI could not be determined.
Details:
System.UriFormatException: Invalid URI: The format of the URI could not be determined. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Net.WebRequest.CreateHttp(String requestUriString) at Inedo.ProGet.Feeds.StrongConnector.CreateWebRequestAsync(String url) at Inedo.ProGet.Feeds.Pypi.PypiConnector.<OpenPackageFileAsync>d__11.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.ProGet.Feeds.Pypi.PypiFeed.<OpenPackageFileAsync>d__20.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.ProGet.WebApplication.FeedEndpoints.Pypi.PackageDownloadHandler.<ProcessRequestAsync>d__0.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.ProGet.WebApplication.FeedEndpoints.Pypi.PypiHandler.<ProcessRequestAsync>d__2.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
Inedo.ProGet.WebApplication.FeedEndpoints.FeedEndpointHandler.FeedRequestHandler.<ProcessRequestAsync>d__8.MoveNext()
My package is very simple, it has no dependencies and one python module. You could try this.
setup.py
from setuptools import setup
setup(
name='mypackage',
version='1',
description='My package',
author='My Name',
author_email='My@Email.com',
py_modules=["mypackage"],
zip_safe=False
)
mypackage.py
print("Hello, world!")