Closed mpd-dude closed 9 years ago
Which files contains this folder C:\\Users\\aaaaa\\.platformio\\packages\\framework-arduinoavr\\libraries\\__cores__\\digispark\\DigisparkTinyPinChange\\examples
?
Strangly the directory is in fact empty. The behaviour also occurs with other directories, e.g.
.platformio\packages\framework-arduinosam\system\CMSIS\Device\ATMEL\sam4s\include
the directory is empty, but Error 145 occurs here as well.
After calling platformio update again, the 'include' directory is being deleted, but then the script complains about the parent directory being not empty ('sam4s'). But this is empty, too. Strange.
After calling platformio update a couple of times, it is all resolved and the update process can be finished successfully.
Hm... PlatformIO can't delete folder if it is opened by another application (Explorer, File Manager, etc) in OS. Could I ask you to delete manually whole C:\\Users\\aaaaa\\.platformio
folder and install appropriate platforms again. Then re-test it.
As for "How to reproduce 'update' command?", just open C:\\Users\\aaaaa\\.platformio\appstate.json
and manually reduce "version of package", and run platformio update
command.
For example, see current version:
"framework-arduinosam": {"version": 10, ...}
Just, set it to
"framework-arduinosam": {"version": 9, ...}
I have reduced the version in appstate.json as you suggested, it did update "framework-arduinosam" but I could not reproduce the behaviour anymore. I guess is that some Windows process had still access to the directory in the earlier case.
I am good for now. Many thanks for looking into this.
Thanks that using PlatformIO! :+1:
When calling
under Win7, the following error message and traceback appears:
Happy to provide more information if needed. Thanks and keep up the excellent work!