2025-10-17 7:13 PM - edited 2025-10-17 8:13 PM
Just upgraded to the latest version of STM32Cube for VS Code extension (3.6.4) and now the extension stopped to work. I've tried reinstalling the extension pack several times. Every time after the bundle was installed an error show up saying "An error occurred while synchronizing metadata. Please try run "STM32Cube: Install prerequisite bundle" and "STM32Cube: Synchronize pack list". Or work offline."
Running "STM32Cube: Install prerequisite bundle" from the VS Code command palette will result in a message saying "No STM32Cube bundle to install", subsequently running "STM32Cube: Synchronize pack list" will return the original metadata synchronization error.
I checked my HOME/Library/"Application Support"/stmcube/ directory, the bundle/ folder seems to contain what I expected, things like cmake, gnu-gdb-for-stm32 or the stink-gdbserver, etc. However, the packs/ folder is empty, not sure if that's the problem.
I checked the output log of STM32Cube Core and found the following:
Solved! Go to Solution.
2025-10-20 6:02 AM
it's back to be working, thanks.
peter
2025-10-20 6:10 AM
The error message is gone!
2025-10-20 6:49 AM
can confirm it is back to working. really appreciate the work done by the ST team!
2025-10-20 7:08 AM
What was the problem?
2025-10-20 7:32 AM
For obvious reason I can't enter much into details, but be assured that involved teams will take the appropriate actions to prevent resurfacing of this issue.
In addition the faced error message has been flagged "unclear", to say the less, and next versions will be more explicit if such network issue reappears...
Error during metadata sync: Error: Unexpected close tag
Line: 4
Column: 117
Char: >