Closed malja closed 2 years ago
Hello,
I had a similar problem today. Same error as you. In my platform.ini file a had the line
debug_build_flags = -O0 -ggdb3 -g3
When I removed that line, it worked again. Unfortunately I have no idea what the reason can be... It worked some months ago, so I perhaps an update broke something?
Harry
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
I have the same problem:
Successfully created esp32 image. Traceback (most recent call last): File "C:\Users\kymj.platformio\packages\framework-espidf\tools\ldgen\ldgen\entity.py", line 152, in _get_infos_from_file results = parser.parseString(info.content, parseAll=True) File "C:\Users\kymj.platformio\penv.espidf-5.0.2\lib\site-packages\pyparsing\util.py", line 256, in _inner return fn(self, *args, **kwargs) File "C:\Users\kymj.platformio\penv.espidf-5.0.2\lib\site-packages\pyparsing\core.py", line 1190, in parse_string raise exc.with_traceback(None) pyparsing.exceptions.ParseException: Expected end of text, found 'default' (at char 2), (line:2, col:1)
@jef-sure Should be fixed in the latest version of the dev platform.
Hello,
I had a similar problem today. Same error as you. In my platform.ini file a had the line
debug_build_flags = -O0 -ggdb3 -g3
When I removed that line, it worked again. Unfortunately I have no idea what the reason can be... It worked some months ago, so I perhaps an update broke something?
Harry
I'm still getting this issue. Here is my platformio.ini
[env] platform = espressif32@~5.4.0 platform_packages = platformio/tool-openocd@^3.1200.0 framework = arduino, espidf debug_build_flags = -O0 -ggdb3 -g3
File "/home/phil/.platformio/penv/.espidf-4.4.5/lib/python3.10/site-packages/pyparsing.py", line 3502, in parseImpl raise ParseException(instring, loc, self.errmsg, self) pyparsing.ParseException: Expected end of text (at char 161023), (line:2559, col:50)
Hi guys, I have a ESP project with following settings:
platformio.ini
pio system info
pio platform update
python version
pyparsing version
Build process ends with following error message:
I tried installing pyparsing 2.2.0 as suggested, but it did not chage anything. I tried adding [UTF8 support](pyparsing.ParseException: Unable to parse section info file), but as far as I know, it was already added to pyparsing and my path does not contain non-ASCII characters.
Next I tried to update both platformio and esp-idf to latest version. Again, nothing helped.
Do you have any idea what could be done?