-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
Build System & Scriptsfbt, scripts and toolchain-relatedfbt, scripts and toolchain-relatedTriageIssues under initial investigationIssues under initial investigation
Description
Describe the bug.
Running ufbt
no longer properly deploys SDK on Windows system
Reproduction
- Open Command Prompt
- (Optional) If you have latest firmware SDK installed, clean it via
ufbt clean
- Try setting up SDK via running
ufbt
- The
ufbt
errors out with following error specified in Logs
Target
N/A
Logs
Raw:
C:\Users\alex4386\git\f0-template>ufbt
10:42:53.953 [I] Deploying SDK for f7
10:42:53.953 [I] Fetching version info for UpdateChannel.RELEASE from https://update.flipperzero.one/firmware/directory.json
10:42:54.564 [I] Using version: 1.1.2
10:42:54.565 [I] uFBT SDK dir: C:\Users\alex4386\.ufbt\current
10:42:57.428 [I] Deploying SDK
10:42:58.024 [I] SDK deployed.
Downloading Windows toolchain..done!
디렉터리: C:\Users\alex4386\.ufbt
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 4357-11-30 오전 10:43 toolchain
Extracting Windows toolchain..An error occurred
"2"개의 인수가 있는 "ExtractToDirectory"을(를) 호출하는 동안 예외가 발생했습니다. "경로에 잘못된 문자가 있습니다."
Please close VSCode and any other programs that may be using the toolchain and try again.
C:\Users\alex4386\AppData\Local\Programs\Python\Python311\python.exe: No module named SCons
Translation of output of windows-toolchain-download.ps1#L49.
While calling "ExtractToDirectory" with "2" arguments, Following exception has occurred:
"The path has invalid characters."
Anything else?
Something to note:
- The Windows installation of this machine has language set to
Korean
. So, please note theCJK
quirks (e.g.WideChar
,MultiByte
nonsense on Windows) - This does not reproduce on *NIX Machines (i.e.
Linux
,macOS
, etc.)- Possible *NIX path (that's incompatible with NTFS Path) included in
ZIP Archive
?
- Possible *NIX path (that's incompatible with NTFS Path) included in
- Partial decompression does occur and
~/.ufbt/current
contains some contents of theZIP archive
decompressed.
Metadata
Metadata
Assignees
Labels
Build System & Scriptsfbt, scripts and toolchain-relatedfbt, scripts and toolchain-relatedTriageIssues under initial investigationIssues under initial investigation