4 months, 3 weeks ago.

Cannot import library from mbed repository

Hi,

Congratulations on the job done in Mbed Studio. I've been working with it for a few days and it looks great!

My problem is I cannot import a library neither from mbed repository nor github using File->Add Library to Active Program. I've been trying with https://os.mbed.com/users/Sissors/code/WakeUp/ and https://os.mbed.com/users/MACRUM/code/BME280/ for instance and I get the same error:

"Request cacheLibrary failed with message: It is not possible to tell if the file (...) is a Git repository or a Mercural repository because the directory contains neither a .git sub-directory nor a .hg sub-directory.

Log info:

[2019-05-31T11:48:47.544] [DEBUG] root/mbs-library - Get cached library at http://os.mbed.com/users/Sissors/code/WakeUp/ []

[2019-05-31T11:48:47.621] [WARN] root/mbs-program - cloneMirror: Cloning error for file:/c%3A/Users/user/AppData/Local/Mbed%20Studio/library-cache/os.mbed.com/users/Sissors/code/WakeUp: [object Object] []

[2019-05-31T11:48:47.625] [WARN] root/mbs-program - listBranches: Could not determine repo type from file:/c%3A/Users/user/AppData/Local/Mbed%20Studio/library-cache/os.mbed.com/users/Sissors/code/WakeUp: It is not possible to tell if file:/c%3A/Users/user/AppData/Local/Mbed%20Studio/library-cache/os.mbed.com/users/Sissors/code/WakeUp is a Git repository or a Mercurial repository because the directory contains neither a .git sub-directory nor a .hg sub-directory. []

[2019-05-31T11:48:47.626] [WARN] root/mbs-program - listTags: Could not determine repo type from file:/c%3A/Users/user/AppData/Local/Mbed%20Studio/library-cache/os.mbed.com/users/Sissors/code/WakeUp: It is not possible to tell if file:/c%3A/Users/user/AppData/Local/Mbed%20Studio/library-cache/os.mbed.com/users/Sissors/code/WakeUp is a Git repository or a Mercurial repository because the directory contains neither a .git sub-directory nor a .hg sub-directory. []

[2019-05-31T11:49:36.254] [INFO] root/mbs-about - reporting an issue from Mbed Studio browser []

[2019-05-31T11:49:36.267] [INFO] root/mbs-about - Mbed Studio platform:: Windows []

[2019-05-31T11:49:36.267] [INFO] root/mbs-about - Mbed Studio version: 0.5.1 []

Any help with this issue?

Thanks

Question relating to:

Comment on this question
Be the first to answer this question.

You need to log in to post a question