Closed teetak01 closed 7 years ago
@teetak01 Thanks for reporting this. I'll investigate and let you know soon. In the meantime can you update mbed CLI to latest (0.9.10) and try with it?
@screamerbg updated to mbed-cli (0.9.10).
Same issue still. It first clones the mbed-os, and then possibly during syncing?
it creates that extra folder?
teetak01@machine:~/devel/test2$ mbed new .
[mbed] Creating new program "test2" (git)
[mbed] Adding library "mbed-os" from "ssh://git@github.com/ARMmbed/mbed-os.git" at latest revision in the current branch
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#e2efb35723884fd21957c5fb1b9f4bdb33bd5cfa"
teetak01@machine:~/devel/test2$ ls -ltr
total 16
drwxrwxr-x 3 teetak01 teetak01 4096 loka 25 11:33 none
-rw-rw-r-- 1 teetak01 teetak01 77 loka 25 11:33 mbed-os.lib
drwxrwxr-x 15 teetak01 teetak01 4096 loka 25 11:33 mbed-os
-rw-rw-r-- 1 teetak01 teetak01 1329 loka 25 11:33 mbed_settings.py
The root-cause seems to be that I had defined the cache=none
which the started to create caching folders in multiple places? Removing the cache definition completely (mbed config -G cache --unset
) solved the issue for me. Thanks for debug help @screamerbg
Fix coming with #356
Fixed in latest mbed CLI (v1.0.0)
I have very strange issue with mbed-cli. It creates extra folders named
none
when evermbed
commands are used.The folder
none
contains:In some cases I have also seen some linker-problems arising from this when it
deploys
multiple copies of mbed-os due tonone
.My mbed-cli version is 0.9.9 Using Ubuntu 16.04
Pip list:
mbed-cli config:
Any idea what might be causing this?