Check package structure after unpacking and raise error when antivirus tool blocks PlatformIO package manager // Resolve #1462

This commit is contained in:
Ivan Kravets
2018-07-13 01:54:37 +03:00
parent 735cfbf850
commit 44a926b30a
4 changed files with 21 additions and 5 deletions

View File

@ -102,6 +102,13 @@ class PackageInstallError(PlatformioException):
"Please try this solution -> http://bit.ly/faq-package-manager")
class ExtractArchiveItemError(PlatformioException):
MESSAGE = (
"Could not extract `{0}` to `{1}`. Try to disable antivirus "
"tool or check this solution -> http://bit.ly/faq-package-manager")
class FDUnrecognizedStatusCode(PlatformioException):
MESSAGE = "Got an unrecognized status code '{0}' when downloaded {1}"