Skip to content

Problems running vscode_dist #51

@eblis

Description

@eblis

I tried to run ufbt vscode_dist and had a few issues.

  • It does not work with Python 3.9, where the docs I saw said it will work with Python >= 3.7.
    • The problem is that it uses the | notation for multiple types, instead of Union[a, b]. It work on Python 3.11 though
  • Missing library ansi, it's not marked as a dependency, had to manually install.
  • Missing library scons, it's not marked as a dependency, had to manually install.

After all these issues it's failing with this error:

Cleaning up temp toolchain path..
Extracting Windows toolchain..moving..An error occurred
Access to the path 'C:\Users\<user>\.ufbt\current\gcc-arm-none-eabi-12.3-x86_64-windows-flipper' is denied.
Please close VSCode and any other programs that may be using the toolchain and try again.
scons: Entering directory `C:\Users\<user>\.ufbt\current\scripts\ufbt'
scons: *** Toolchain binary arm-none-eabi-ar not found in PATH.  Stop.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions