{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/yotta/issues/442","labels_url":"https://api.github.com/repos/ARMmbed/yotta/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/yotta/issues/442/comments","events_url":"https://api.github.com/repos/ARMmbed/yotta/issues/442/events","html_url":"https://github.com/ARMmbed/yotta/issues/442","id":109243860,"number":442,"title":"Could not install public module","user":{"login":"toyowata","id":4926755,"avatar_url":"https://avatars.githubusercontent.com/u/4926755?v=3","gravatar_id":"","url":"https://api.github.com/users/toyowata","html_url":"https://github.com/toyowata","followers_url":"https://api.github.com/users/toyowata/followers","following_url":"https://api.github.com/users/toyowata/following{/other_user}","gists_url":"https://api.github.com/users/toyowata/gists{/gist_id}","starred_url":"https://api.github.com/users/toyowata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyowata/subscriptions","organizations_url":"https://api.github.com/users/toyowata/orgs","repos_url":"https://api.github.com/users/toyowata/repos","events_url":"https://api.github.com/users/toyowata/events{/privacy}","received_events_url":"https://api.github.com/users/toyowata/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARMmbed/yotta/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-01T07:21:17Z","updated_at":"2015-10-02T06:47:37Z","closed_at":"2015-10-01T11:45:16Z","body":"When I install the ble module (public repo), I have got different results by two PCs (both are Windows 7 and same version of tool installed such as yotta, git etc).\r\n\r\nI got module repository error in one PC:\r\n\r\n```\r\nE:\\tmp>yotta install ble\r\ninfo: get versions for ble\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\Scripts\\yotta-script.py\", line 9, in <module>\r\n    load_entry_point('yotta==0.8.1', 'console_scripts', 'yotta')()\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\main.py\", line 239, in main\r\n    status = args.command(args, following_args)\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\install.py\", line 63, in execCommand\r\n    return installComponent(args)\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\install.py\", line 194, in installComponent\r\n    working_directory = path\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\lib\\access.py\", line 352, in satisfyVersion\r\n    return satisfyVersionByInstalling(name, version_required, working_directory, type=type)\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\lib\\access.py\", line 294, in satisfyVersionByInstalling\r\n    v = latestSuitableVersion(name, version_required, _registryNamespaceForType(type))\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\lib\\access.py\", line 108, in latestSuitableVersion\r\n    vers = remote_component.availableVersions()\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\lib\\registry_access.py\", line 461, in availableVersions\r\n    return _listVersions(self.namespace, self.name)\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\lib\\registry_access.py\", line 102, in wrapped\r\n    return fn(*args, **kwargs)\r\n  File \"C:\\Python27\\lib\\site-packages\\yotta\\lib\\registry_access.py\", line 251, in _listVersions\r\n    'Check that the name is correct, and that it has been published.') % (name, namespace)\r\nyotta.lib.access_common.Unavailable: ble does not exist in the modules registry. Check that the name is correct, and that it has been published.\r\n\r\nE:\\tmp>\r\n```\r\n\r\nBut, no error in another PC.\r\n\r\n```\r\nD:\\tmp>yotta install ble\r\ninfo: get versions for ble\r\ninfo: download ble@0.4.8 from https://yotta-private.herokuapp.com\r\ninfo: get versions for frdm-k64f-gcc\r\ninfo: download frdm-k64f-gcc@0.1.2 from the public module registry\r\ninfo: get versions for mbed-gcc\r\ninfo: download mbed-gcc@0.1.1 from the public module registry\r\ninfo: get versions for mbed-drivers\r\ninfo: download mbed-drivers@0.9.0 from the public module registry\r\ninfo: get versions for mbed-hal\r\ninfo: download mbed-hal@0.6.4 from the public module registry\r\ninfo: get versions for cmsis-core\r\ninfo: download cmsis-core@0.2.7 from the public module registry\r\ninfo: get versions for ualloc\r\ninfo: download ualloc@0.2.0 from the public module registry\r\ninfo: get versions for minar\r\ninfo: download minar@0.8.1 from the public module registry\r\ninfo: get versions for core-util\r\ninfo: download core-util@0.2.1 from the public module registry\r\ninfo: get versions for compiler-polyfill\r\ninfo: download compiler-polyfill@1.0.4 from the public module registry\r\ninfo: get versions for mbed-hal-freescale\r\ninfo: download mbed-hal-freescale@0.5.2 from the public module registry\r\ninfo: get versions for mbed-hal-ksdk-mcu\r\ninfo: download mbed-hal-ksdk-mcu@0.5.7 from the public module registry\r\ninfo: get versions for uvisor-lib\r\ninfo: download uvisor-lib@0.7.25 from the public module registry\r\ninfo: get versions for mbed-hal-k64f\r\ninfo: download mbed-hal-k64f@0.3.6 from the public module registry\r\ninfo: get versions for mbed-hal-frdm-k64f\r\ninfo: download mbed-hal-frdm-k64f@0.4.4 from the public module registry\r\ninfo: get versions for cmsis-core-freescale\r\ninfo: download cmsis-core-freescale@0.1.4 from the public module registry\r\ninfo: get versions for cmsis-core-k64f\r\ninfo: download cmsis-core-k64f@0.1.5 from the public module registry\r\ninfo: get versions for dlmalloc\r\ninfo: download dlmalloc@0.0.6 from the public module registry\r\ninfo: get versions for minar-platform\r\ninfo: download minar-platform@0.3.4 from the public module registry\r\ninfo: get versions for minar-platform-mbed\r\ninfo: download minar-platform-mbed@0.1.5 from the public module registry\r\n\r\nD:\\tmp>\r\n```\r\nNot sure why ble module are downloaded from https://yotta-private.herokuapp.com.\r\n\r\nAny suggestion?\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/yotta/issues/comments/144937153","html_url":"https://github.com/ARMmbed/yotta/issues/442#issuecomment-144937153","issue_url":"https://api.github.com/repos/ARMmbed/yotta/issues/442","id":144937153,"user":{"login":"jbmpark","id":14920869,"avatar_url":"https://avatars.githubusercontent.com/u/14920869?v=3","gravatar_id":"","url":"https://api.github.com/users/jbmpark","html_url":"https://github.com/jbmpark","followers_url":"https://api.github.com/users/jbmpark/followers","following_url":"https://api.github.com/users/jbmpark/following{/other_user}","gists_url":"https://api.github.com/users/jbmpark/gists{/gist_id}","starred_url":"https://api.github.com/users/jbmpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbmpark/subscriptions","organizations_url":"https://api.github.com/users/jbmpark/orgs","repos_url":"https://api.github.com/users/jbmpark/repos","events_url":"https://api.github.com/users/jbmpark/events{/privacy}","received_events_url":"https://api.github.com/users/jbmpark/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T06:47:37Z","updated_at":"2015-10-02T06:47:37Z","body":"'ble-nrf51822'  has dependency on the 'ble' module.\r\n\r\nIn the module.json file of 'ble-nrf51822' : \r\n  \"dependencies\": {\r\n    \"ble\": \"~0.4.8\"\r\n  },\r\n\r\nSo, I think the 'ble' must be a module, and, without it, 'ble-nrf51822' can't be built.\r\nIs it something I'm missing?\r\n\r\n"}}