When creating a new project or updating a library in an existing project, the download of the mbed library fails. A portion of my mbed-studio.log:
[2019-12-31T12:22:51.036] [WARN] root/mbs-library-mgmt - Library operation failed [ ‘file:///c%3A/src/mbed/test/mbed-os-example-blinky’,
{ type: ‘hydrate’ },
{ name: ‘GitError’,
result:
{ stdout: ‘’,
stderr:
‘Cloning into 'c:\src\mbed\test\mbed-os-example-blinky\mbed-os'…\nremote: Enumerating objects: 239205 \rremote: fatal: filename in tree entry contains backslash: 'frameworks\utest' \nerror: git upload-pack: git-pack-objects died with error.\nfatal: git upload-pack: aborting due to possible repository corruption on the remote side.\nremote: aborting due to possible repository corruption on the remote side.\u0000\nfatal: early EOF\nfatal: index-pack failed\n’,
exitCode: 128 },
args:
[ ‘clone’,
‘–recursive’,
‘–progress’,
‘–progress’,
‘–’,
‘file:///c%3A/Users/jonathan.pickett/AppData/Local/Mbed%20Studio/library-cache/github.com/ARMmbed/mbed-os.git’,
‘c:\src\mbed\test\mbed-os-example-blinky\mbed-os’ ] } ]
[2019-12-31T12:22:51.044] [ERROR] root/mbs-target-mgmt - Failed to get targets from Mbed OS: Request getTargets failed unexpectedly without providing any details.
file:///c%3A/src/mbed/test/mbed-os-example-blinky might not have Mbed OS loaded.
[2019-12-31T12:22:51.049] [INFO] root/mbs-device - Asking device manager for list of devices
[2019-12-31T12:22:51.058] [INFO] root/mbs-core - Updating CoreMbedApplicationState with updateType: TARGET_SELECTED, update: false
[2019-12-31T12:22:51.058] [INFO] root/mbs-core - Determining program buttons status: {“BUILD”:{“type”:“BUILD”,“typeString”:“BUILD”,“isDisabled”:true,“tooltip”:“Select or connect a platform”},“DEBUG”:{“type”:“DEBUG”,“typeString”:“DEBUG”,“isDisabled”:true,“tooltip”:“Select or connect a platform”},“RUN”:{“type”:“RUN”,“typeString”:“RUN”,“isDisabled”:true,“tooltip”:“Select or connect a platform”}}
[2019-12-31T12:22:51.058] [INFO] root/mbs-core - Updating CoreMbedApplicationState with updateType: TARGET_BUILDABLE, update: false
[2019-12-31T12:22:51.059] [INFO] root/mbs-core - Determining program buttons status: {“BUILD”:{“type”:“BUILD”,“typeString”:“BUILD”,“isDisabled”:true,“tooltip”:“Select or connect a platform”},“DEBUG”:{“type”:“DEBUG”,“typeString”:“DEBUG”,“isDisabled”:true,“tooltip”:“Select or connect a platform”},“RUN”:{“type”:“RUN”,“typeString”:“RUN”,“isDisabled”:true,“tooltip”:“Select or connect a platform”}}
[2019-12-31T12:22:52.598] [DEBUG] root/mbs-cpp-config - IntelliSense will not update until a target is selected
[2019-12-31T12:22:58.816] [INFO] root/mbs-about - reporting an issue from Mbed Studio browser
[2019-12-31T12:22:58.834] [INFO] root/mbs-about - Mbed Studio platform:: Windows
[2019-12-31T12:22:58.835] [INFO] root/mbs-about - Mbed Studio version: 0.8.0
[2019-12-31T12:24:00.186] [INFO] root/mbs-about - reporting an issue from Mbed Studio browser
[2019-12-31T12:24:00.208] [INFO] root/mbs-about - Mbed Studio platform:: Windows
[2019-12-31T12:24:00.209] [INFO] root/mbs-about - Mbed Studio version: 0.8.0
I am able to workaround this with mbed-cli.