-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL FileNotFoundError: [Errno 2] No such file or directory: 'https://binrepo.xxxx.net/artifactory/publish/publish-prod/'
#435
Comments
what is the code that you are executing ? |
Essentially this artifactory_url = "https://binrepo.xxxx.net/artifactory/publish/publish-prod/"
print("artifactory_url:", artifactory_url)
artifactory_path = ArtifactoryPath( artifactory_url)
print("artifactory_path:", artifactory_path)
for path in artifactory_path:
print("path:", path) # never makes it this far... |
I don't know what the problem actually is, but I don't think it's related to WSL specifically. I use WSL and have not had any such problems. I think it'd be helpful to share more details about the environment, specifically the version of Python, version of this library, maybe which distro though that's not as likely to matter. Since this error is happening during iteration, it sounds a lot like #433 which seems to affect Python 3.11, and the fix was released in version Your error message seems to imply Python 3.10 is in use though so I'm not sure. In any case, could you compare your macos py/lib version to what's in use in the WSL distro? |
That fixed it! |
That's great to hear! But what specifically fixed it? 😅 |
👋
Thank you for this library! It works like a charm on my mac, but my colleague uses Windows Subsystem Linux and we're running into problems there.
I am having an issue when trying to use
ArtifactoryPath
on WSL. It seems the URL to Artifactory doesn't get successfully converted into the proper class and WSL tries to open the URL as a local file:Any pointers?
The text was updated successfully, but these errors were encountered: