-
Notifications
You must be signed in to change notification settings - Fork 639
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
PermissionError: [WinError 5] Access is denied when building #2344
Comments
Sorry, as this is a duplicate - the original 'ticket' was closed, so I don't know if you were able to get it @mcspr :) |
#2343 was closed via e1b643f
does not tell me anything useful :/ |
Tried. Get the same problem about PermissionError :( |
Perhaps this is not related, but I can build (3d printer) Marlin firmware without an issue.... |
Sorry haven't answered - yes I have pulled the latest. |
WinError 5 issue is assumed to be fixed in PIO: idk about Marlin differences, seems almost the same. Line 129 in f6ec242
can sometimes become
but, if WIFISUPPORT is enabled, I see the same |
OK, SOMEHOW, and I still don't know how, I got this to build. There was a dependency that it didn't pull (a library item), which I installed manually... SPIFlash or something like that it is called. So I will TRY and see if I can get the new firmware uploaded.... |
SPIFlash was the specific lib that always failed? We don't list it directly, but it comes from rfm69. Does removing rfm69 line from `lib_deps = ...' in the platformio.ini fix the issue? edit: Upstream issues: |
The issue is due to the vscode git watch. As a workaround you could disable the vscode git watch in settings.json: {
"git.enabled": false
} |
Hi, where to find the settings.json file? Thanks |
@tita2000 |
Per platformio/platformio-core#3664 (comment) edit: vscode git integration is still bonkers though, it's just a workaround... but idk how to solve this from our side reliably without shoving libraries into global storage (or creating our custom libinstall dir) or replacing git repos with vendor'ed .zip archives / link to github archive feature instead. |
can you try again?
system info
given out the reason - spaces in absolute filepaths... I tried renaming the working repo dir, which triggered the issue you described. should work nowOriginally posted by @mcspr in #2343 (comment)
The text was updated successfully, but these errors were encountered: