Closed kugelkopf123 closed 3 years ago
Just tested it, its not related to ESP32 its the same with esp8266. Pls change the Topic.
Please remove /Volumes/Macintosh SD/Benutzer/myUsername/Downloads/Github/Tasmota/.pioenvs
folder and start building again. Does it work now?
No. Nothing changed. Its the same. I also removed the .cache folder and tried it with "clean" Its still the same.
Do you have multiple PlatformIO Cores in a system? https://docs.platformio.org/en/latest/faq.html#multiple-platformio-cores-in-a-system
Do you use PlatformIO IDE and its built-in PIO Core or you installed it multiple times via pip/brew?
Do you have multiple PlatformIO Cores in a system? https://docs.platformio.org/en/latest/faq.html#multiple-platformio-cores-in-a-system
Do you use PlatformIO IDE and its built-in PIO Core or you installed it multiple times via pip/brew?
Thanks for your reply.
I already checked this doc. No i havent.
I also tried the two commands to uninstall via pip/pip3/brew. But it says its not found on system.
eg:
WARNING: Skipping platformio as it is not installed.
or:
brew uninstall platformio
Error: No such keg: /usr/local/Cellar/platformio
We are working on PlatformIO Core 5.0.1. It would be great to fix this issue. Could you mail me personally via me@ikravets.com? I'll provide further info how we could debug this issue. Thanks!
@ivankravets Mail is on the way.
Hi @arendst , @Jason2866,
Could you help here? Something going strange with a build process. It totally removes LIB and BUILD folders. I see also that whole project structure changes in runtime to legacy PIO Core 3.0 structure. New library folders triggers PlatformIO IDE to rebuild C/C++ IntelliSense index which leads to a fatal error. Someone removes internal PlatformIO folders in runtime.
I forgot, it works from CLI but does not work from PlatformIO IDE for VSCode.
@ivankravets i am lost in this issue. I cant reproduce. Tasmota compiles without a error on Windows and Linux. Since i have no MAC i cant test on this platform. @s-hadinger (our zigbee developer) uses a MAC an do not have an issue too.
@kugelkopf123 BearSSL
is NOT supported in ESP32 . There is no port done.
Can you mail me your settings file (my_user_config.h and user_config_override.h and ALL platformio files). obermeier.johann(at)gmail.com
Maybe your Tasmota setup is killing
platformio somehow.
@Jason2866 Ok done! But as i mentioned in the Mail, I just tried it once again with a fresh download in another folder without changing anything in any of the config files and its the same Problem. I have it on both Macs. On my Macbook and my iMac.
Used Github Actions CI to do a build on Mac OS. Builded Tasmota32-DE. No error See https://github.com/Jason2866/Tasmota/runs/1093098093?check_suite_focus=true Click on Tasmota32-DE version to see all LOGs (Details)
It works from CLI but does not work from IDE. Do you remove “lib” or “.pioenvs” folders in extra scripts?
Mhh, Just asked Stephan he uses VSC / Platformio and MacOs 10.14.6 Mojave. We have in lib folder our libraries (local). Many are modified. So no download from Platformio registry or other online sources. Removing lib folder content is destroying Tasmota. Removing .pioenvs is no problem. Rebuilded. @Staars (writing sensor driver for Tasmota) has a Mac too. His setup VSC / Platformio. No issue. No idea what makes it fail
Is there something more that i can check?
okay, more tests... Fresh „git clones“ on Catalina and Big Sur-beta are failing. For whatever reason the Tasmota32-folder is deleted by something. not anything useful in the logs. Compiling with MacOs 10.14.6 Mojave does work @ivankravets There is a strange bug :-(
okay, more tests... Fresh „git clones“ on Catalina and Big Sur-beta are failing. For whatever reason the Tasmota32-folder is deleted by something. not anything useful in the logs. Compiling with MacOs 10.14.6 Mojave does work @ivankravets There is a strange bug :-(
Ok. Good to hear that Iam not the only one. My Macbook is on 10.13.6HighSierra and my iMac on Mojave. But i dont think that this has something to do with it. Dont know :-/.
I could reproduce this issue. The problem is linked with invalid platformio.ini
.
build_dir = .pioenvs
workspace_dir = .pioenvs
build_dir
is a child of workspace_dir
, where you forced everything to 1 folder. PlatformIO checks for project modification and removed build_dir
on changes. As result, it REMOVES EVERYTHING, including installed dependencies. They also are part of workspace_dir
. I mean lib_deps
. This causes PlatformIO IDE to rebuild IntelliSense Index every time because lib_deps
modifies every time.
P.S: I removed workspace_dir = .pioenvs
and now everything works. The question, why do you override the default build and workspace folders? Do we have a problem with PlatformIO Core?
I can confirm, that works! Thanks! @ivankravets
@ivankravets Thx, for your help. Yes it was a problem in the past. So it is a "left over". Will remove!!
@kugelkopf123 Please close. Thx.
This issue presents for any OS, not only macOS. Great that we found a problem.
Thanks, @kugelkopf123, for the remote session that helped to debug this issue and, @Jason2866, for the fix.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: OSX 10.13.6 PlatformIO Version (
platformio --version
): PlatformIO on VSCode, version 5.0.0Description of problem
I tried to compile the recent tasmota Dev Branch for the ESP32Dev Board. It stops with following Error: *** [tasmota/StackThunk_light.cpp] /Volumes/Macintosh SD/Benutzer/myUsername/Downloads/Github/Tasmota/.pioenvs/tasmota32-DE/.sconsign37.dblite: No such file or directory
Ive tried to reinstall the whole PlatformIO/VSCode stuff. Deleted the .platformio Folder end tried it again. Nothing from that Works. I also tried the 2.0.0 Framework from Espressif32
Steps to Reproduce
Actual Results
Expected Results
Building a working file.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
Related issue from Tasmota issues: https://github.com/arendst/Tasmota/issues/9254