ARMmbed / ARMmbed/mbed-cli

Unknown Error Download failed when running `mbed new mbed-classic-program --mbedlib`

Open
#943 1 comment 0 reactions 0 assignees View on GitHub
Jira status: OPEN mirrored type: bug
Dominant language
Python
Stars
339
Forks
187
PR merge metrics
No merged PRs in 30d

Description

When trying to create a new mbed 2 project using mbed CLI, according to the documentation:
`mbed new mbed_2_project --mbedlib`

I get the following error message:

```
[mbed] Working path "/home/dan/personal/projects/foo" (directory)
[mbed] Creating new program "mbed_2_project" (git)
[mbed] Adding library "mbed" from "https://mbed.org/users/mbed_official/code/mbed/builds" at branch/tag "tip"
[mbed] Downloading library build "65be27845400" (might take a while)
[mbed] ERROR: Unknown Error: (128, 'Download failed!\nPlease try again later.')
```

After some digging this is because of a 404 error, but I don't know what it's trying to fetch:

`urllib.error.HTTPError: HTTP Error 404: Not Found`

```
mbed --version
1.10.2
```
(mbed installed via pip)
Ubuntu 18.04.3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.