-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
PackageManager reports unknown package if it is unable to download the package, even if it actually exists #110
Comments
@ivankravets Are you sure this should be here? The esp8266 package was used as an example, the bug occurs for any package. |
Could you try to run in PIO IDE Terminal
Do you see more detailed info why a package is not found? |
I'm running in the terminal right now, and it doesn't install because the package url was unaccessible. I raised the issue because the error generated in this case is unclear, |
Do you use proxy? Do you have access to https://github.com/platformio/platform-espressif8266/blob/develop/platform.json#L16:L21 ? |
I am able to access the first two, but the last 4 are blocked. |
Do you have |
To clarify, I'm not asking for help downloading the packages - I'm fully aware my network filters requests to githubusercontent, and using a different network makes it work. I'm just saying that the error reported is very misleading, and that it should be changed. |
The idea of package mirrors to ignore off-lined and search for another. See https://github.com/platformio/platformio-core/blob/develop/platformio/managers/package.py#L66 So, very often some mirrors are down and other online. In this case, we don't show "misleading" warnings. The problem is really with only this package |
Alright, that makes sense. Thanks. |
Configuration
Operating system: Ubuntu 18.04.1 LTS
PlatformIO Version (
platformio --version
): 3.6.3Description of problem
While attempting to install some packages on a filtered network (specifically, one that blocks the raw.githubusercontent.com domain), PackageManager reported
despite the fact that this package does in fact exist.
Steps to Reproduce
framework-esp8266-rtos-sdk
packageActual Results
Expected Results
(or some message to indicate the issue is not a missing package, rather the inability to download it)
The text was updated successfully, but these errors were encountered: