-
Notifications
You must be signed in to change notification settings - Fork 960
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
[bug] Large conan package gets downloaded to a wrong subfolder in windows #16678
Comments
Thanks for your report. A couple of quick questions:
|
Hi,
The package is 11mb in size. I called it a large file because of this line: (big_file)
Yes, on a Linux machine it works without an issue. The difference is that on Linux, after using conan download two new directories are created in the .conan/p directory: linux3b28e86b22ffd and linux7f4334d1b9228. In Windows only linux3b28e86b22ffd is created but it still expects linux7f4334d1b9228 which causes the error.
This might actually be the issue. When I unzip the package in windows, I get indeed errors on which I can skip or cancel the unzipping. |
Yes, this is expected, there are 2 folders involved:
If the unzipping of |
Thank you for the explanation! |
Thanks to you for the feedback! I have been thinking about this, just in case it would be possible some workaround, but it doesn't seem possible to do anything from Conan side. Maybe it might be possible to enable symlinks (developer mode) in Windows? |
Describe the bug
When downloading a large (>10mb) conan package on my windows machine, I stumbled upon following problem:
This is on conan version 2.5.0
When I try look at the .conan2/p directory, I can see that there is only 1 new package with a different name than expected:
I can browse through the directory and see that it indeed belongs to my conan package, although the p dir seems to be missing:
As you can see the "linux7f4334d1b9228" directory, that is expected by conan download, does not exist.
When I download smaller packages, it works without a problem.
Downloading this package on a linux machine works. (the linux7f4334d1b9228 dir becomes available after downloading).
I didn't try if this only happens with this package or also with other large packages on windows.
How to reproduce it
I am unsure if this is reproducible.
use conan download to download a large conan package (>10mb) on a windows machine.
There should be an "Error while extracting"
The text was updated successfully, but these errors were encountered: