{"action":"closed","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/590","repository_url":"https://api.github.com/repos/ARMmbed/mbed-cli","labels_url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/590/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/590/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-cli/issues/590/events","html_url":"https://github.com/ARMmbed/mbed-cli/issues/590","id":283939532,"number":590,"title":"mbed export fails with switch \"--source ..\"","user":{"login":"Alex-EEE","id":25935093,"avatar_url":"https://avatars2.githubusercontent.com/u/25935093?v=4","gravatar_id":"","url":"https://api.github.com/users/Alex-EEE","html_url":"https://github.com/Alex-EEE","followers_url":"https://api.github.com/users/Alex-EEE/followers","following_url":"https://api.github.com/users/Alex-EEE/following{/other_user}","gists_url":"https://api.github.com/users/Alex-EEE/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex-EEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex-EEE/subscriptions","organizations_url":"https://api.github.com/users/Alex-EEE/orgs","repos_url":"https://api.github.com/users/Alex-EEE/repos","events_url":"https://api.github.com/users/Alex-EEE/events{/privacy}","received_events_url":"https://api.github.com/users/Alex-EEE/received_events","type":"User","site_admin":false},"labels":[{"id":373353240,"url":"https://api.github.com/repos/ARMmbed/mbed-cli/labels/exporters","name":"exporters","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-12-21T16:43:51Z","updated_at":"2018-03-06T03:47:07Z","closed_at":"2018-03-06T03:47:07Z","author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to export while also including source files in the parent directory of my mbed program.  The following fails:\r\n```\r\nC:\\files\\mbed\\sandbox\\framework\\mbed> mbed export --source .. -i IAR\r\nScan: ..\r\nScan: FEATURE_LWIP\r\nScan: FEATURE_STORAGE\r\nTraceback (most recent call last):\r\n  File \"C:\\files\\mbed\\sandbox\\framework\\mbed\\mbed-os\\tools\\project.py\", line 259, in <module>\r\n    main()\r\n  File \"C:\\files\\mbed\\sandbox\\framework\\mbed\\mbed-os\\tools\\project.py\", line 254, in main\r\n    build_profile=profile, app_config=options.app_config)\r\n  File \"C:\\files\\mbed\\sandbox\\framework\\mbed\\mbed-os\\tools\\project.py\", line 96, in export\r\n    app_config=app_config)\r\n  File \"C:\\files\\mbed\\sandbox\\framework\\mbed\\mbed-os\\tools\\export\\__init__.py\", line 358, in export_project\r\n    copyfile(static_file, join(export_path, basename(static_file)))\r\n  File \"C:\\Python27\\lib\\shutil.py\", line 82, in copyfile\r\n    with open(src, 'rb') as fsrc:\r\nIOError: [Errno 2] No such file or directory: 'C:\\\\files\\\\mbed\\\\sandbox\\\\framework\\\\mbed\\\\mbed-os\\\\tools\\\\export\\\\.mbed'\r\n```"}}
{"actor":{"display_login":"cmonr"}}