-
-
Notifications
You must be signed in to change notification settings - Fork 803
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
PIO Keeps installing a library into temp until filling up the drive. #3740
Comments
Do you use external antivirus tools? |
Yes, I use 3 different anti-virus software.
What's the responsible part would cause this ?
…On Thu, Nov 19, 2020, 17:57 Ivan Kravets ***@***.***> wrote:
Do you use external antivirus tools?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3740 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3O7JZ2KT2PMRDDI6C5L2TSQU573ANCNFSM4TXQ5LOA>
.
|
We don't provide any support for this case. Antiviruses are the biggest evil now. Please read on the Internet what these tools do with your machine and data. I think it's good to start from Avast and the rest, such as Kaspersky, etc. The only solution for this issue is to exclude |
Thanks for your input @ivankravets , I'm trying to have a good understanding what's going on. I've disabled all my 3 anti-virus (MalwareBytes, Avast, ESET Endpoint) and restarted VSCode. It continues to do the same thing. Every Rebuilding of Intellisense Index causes this behavior. Note : By running Also I'm curious why it affects only this library could be a coincidence though. Is there a resource to start with to understand what's happening ? |
It seems that there is an issue with PlatformIO and that library. @philbowles , an author of this library, recommends using Arduino IDE https://github.com/philbowles/pangolinmqtt#important-note-for-platformio-users . Please follow his guide If you need an MQTT library for your project, please check these alternatives: |
His opinion about PIO is about building projects, I'm satisfied with PIO and made sure it's building perfectly. The current issue applies with any library linked to github under lib_deps. |
Could you reproduce your issue when run |
I've tried it, It successfully installed the library once. I had to manually assign this to platformio.ini :
I've then managed to remove a library from an existing project. Hit : Rebuild IntelliSense Index, I observed the following : I don't know what goes different at this time, I've also checked out PIO Core&Home versions. No difference : 5.03 for core and 3.3.1 for home |
Something is going wrong with a system privacy policy or 3rd party tools that block software. There is an alternative solution to this issue. Please manually clone/put the library to |
I think I've captured some useful info from Console :
Just Underneath it at log :
|
-> Disabled 3 Anti-virus software ~ Pretty the same log :
|
Could you try this solution https://stackoverflow.com/questions/49256190/how-to-fix-git-sh-setup-file-not-found-in-windows/50833818? |
It seems that I could reproduce this issue. Sorry for the wrong advice. I'll investigate it. |
No Problem, I'm happy to find bugs. And as @philbowles calls me : A Bugger ! xD
Yes, I've tried it and it successfully installed the library! I think it's solved for me, Waiting what happens at your end, And I'll update news if any. |
I found this ERR at Console, I don't know whether it's related or helpful. And I don't encounter any issue using PIO.
|
Please open https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-core-cli and type Does it work now? |
Ok, I've revert back and removed solution given here :
Then I removed couple of libraries from .pio/libdeps. Libraries are successfully installed! Also, |
Thanks that reported this issue! Happy coding with PlatformIO! ;) |
I'm happy to contribute with bug-finding :) Thanks for solving it ;) |
Operating system: Windows 10 Pro Version 10.0.18362 Build 18362
PlatformIO Version (
platformio --version
): Core 5.0.3 - Home 3.3.1Description of problem
I found that pio keeps installing a custom library dependency inside a lot of my projects repeatedly until filling the C hard disk space.
the library is PangolinMQTT.
Referencing to it in platformio.ini :
lib_deps =
https://github.com/philbowles/PangolinMQTT
Actual Results
file target : C:\Users[UserName].platformio.cache\tmp
![image](https://user-images.githubusercontent.com/32960423/99292653-319d1080-284a-11eb-82f7-65fc495370f6.png)
screenshot of the folder : (All of them contains the same library with the same version .. etc)
What could the problem be ?
The text was updated successfully, but these errors were encountered: