ESP32 - python.exe doesn't support asyncio --no-hints
Posted: Wed May 10, 2023 10:54 am
Hello,
For anyone experiencing this.
First make sure you are fully up to date with libray updates by clicking Help -> Library Updates, changing Files in use to Full Database and getting the latest files. Next check if you can compile, it could be we have already solved this issue with an update.
If you're still getting the error then continue.
Navigate to this directory by copying and pasting the path into your file explorer address bar.
V9
V10
Open the file esp32_build.bat in a text editor by right clicking the file and selecting edit.
Find these lines.
Move the REM up a line so you get this instead, the REM is basically commenting out the rest of the code on the line.
Save and close the file.
Now repeat with the file esp32_prog.bat
These lines
Change to look like this.
Save and close the file.
Hopefully Flowcode can now compile correctly.
Be careful when doing library updates as this will try and overwrite the batch files back to factory defaults. If you do overwrite the files you may have to re-apply the fix.
Not sure what has changed but i'll keep investigating how we fix this for everyone without breaking existing working setups.
Some advice on creating a working ESP32 toolchain is offered here.
viewtopic.php?p=11300#p11300
For anyone experiencing this.
This seems to be cropping up a lot at the moment. Until we work out a catch all fix anyone with this problem will need to do the following.python.exe doesn't support asyncio. The issue can be worked around by re-running idf.py with the "--no-hints" argument.
First make sure you are fully up to date with libray updates by clicking Help -> Library Updates, changing Files in use to Full Database and getting the latest files. Next check if you can compile, it could be we have already solved this issue with an update.
If you're still getting the error then continue.
Navigate to this directory by copying and pasting the path into your file explorer address bar.
V9
Code: Select all
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch
Code: Select all
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch
Find these lines.
Code: Select all
@idf.py build
REM @idf.py --no-hints build
Code: Select all
REM @idf.py build
@idf.py --no-hints build
Now repeat with the file esp32_prog.bat
These lines
Code: Select all
@idf.py -p %PORT% -b %BAUD% flash
REM @idf.py --no-hints -p %PORT% -b %BAUD% flash
Code: Select all
REM @idf.py -p %PORT% -b %BAUD% flash
@idf.py --no-hints -p %PORT% -b %BAUD% flash
Hopefully Flowcode can now compile correctly.
Be careful when doing library updates as this will try and overwrite the batch files back to factory defaults. If you do overwrite the files you may have to re-apply the fix.
Not sure what has changed but i'll keep investigating how we fix this for everyone without breaking existing working setups.
Some advice on creating a working ESP32 toolchain is offered here.
viewtopic.php?p=11300#p11300