{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-sdk-python/issues/120","repository_url":"https://api.github.com/repos/Azure/azure-iot-sdk-python","labels_url":"https://api.github.com/repos/Azure/azure-iot-sdk-python/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-sdk-python/issues/120/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-sdk-python/issues/120/events","html_url":"https://github.com/Azure/azure-iot-sdk-python/issues/120","id":298369027,"number":120,"title":"Issue in building project for python 3.6","user":{"login":"Dorak5","id":10451504,"avatar_url":"https://avatars3.githubusercontent.com/u/10451504?v=4","gravatar_id":"","url":"https://api.github.com/users/Dorak5","html_url":"https://github.com/Dorak5","followers_url":"https://api.github.com/users/Dorak5/followers","following_url":"https://api.github.com/users/Dorak5/following{/other_user}","gists_url":"https://api.github.com/users/Dorak5/gists{/gist_id}","starred_url":"https://api.github.com/users/Dorak5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dorak5/subscriptions","organizations_url":"https://api.github.com/users/Dorak5/orgs","repos_url":"https://api.github.com/users/Dorak5/repos","events_url":"https://api.github.com/users/Dorak5/events{/privacy}","received_events_url":"https://api.github.com/users/Dorak5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zolvarga","id":13277830,"avatar_url":"https://avatars2.githubusercontent.com/u/13277830?v=4","gravatar_id":"","url":"https://api.github.com/users/zolvarga","html_url":"https://github.com/zolvarga","followers_url":"https://api.github.com/users/zolvarga/followers","following_url":"https://api.github.com/users/zolvarga/following{/other_user}","gists_url":"https://api.github.com/users/zolvarga/gists{/gist_id}","starred_url":"https://api.github.com/users/zolvarga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolvarga/subscriptions","organizations_url":"https://api.github.com/users/zolvarga/orgs","repos_url":"https://api.github.com/users/zolvarga/repos","events_url":"https://api.github.com/users/zolvarga/events{/privacy}","received_events_url":"https://api.github.com/users/zolvarga/received_events","type":"User","site_admin":false},"assignees":[{"login":"zolvarga","id":13277830,"avatar_url":"https://avatars2.githubusercontent.com/u/13277830?v=4","gravatar_id":"","url":"https://api.github.com/users/zolvarga","html_url":"https://github.com/zolvarga","followers_url":"https://api.github.com/users/zolvarga/followers","following_url":"https://api.github.com/users/zolvarga/following{/other_user}","gists_url":"https://api.github.com/users/zolvarga/gists{/gist_id}","starred_url":"https://api.github.com/users/zolvarga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolvarga/subscriptions","organizations_url":"https://api.github.com/users/zolvarga/orgs","repos_url":"https://api.github.com/users/zolvarga/repos","events_url":"https://api.github.com/users/zolvarga/events{/privacy}","received_events_url":"https://api.github.com/users/zolvarga/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-19T18:36:40Z","updated_at":"2018-02-21T13:36:49Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nHi there! thank you for discovering and submitting an issue!\r\n\r\nPlease first tell us a little bit about the environment you're running:\r\nThe commands in the comments can be run directly in a command prompt.\r\n-->\r\n\r\n\r\n- **OS and version used:** <VERSION>macOS High Sierra <!-- Windows 10, Ubuntu 15.04... -->\r\n\r\n- **Python runtime used:** <VERSION>3.6 <!-- Please include runtime and version -->\r\n\r\n- **SDK version used:** <VERSION>release_2018_01_31 <!-- Please include the SDK version -->\r\n\r\n\r\n# Description of the issue:\r\n<!-- please be as detailed as possible: which feature has a problem, how often does it fail,  -->\r\nEvery time I run the \"./Build.sh --python-version 3.6\" I get the following error message:\r\n\r\n[ 51%] Built target iothub_client_amqp_ws_transport\r\nmake[1]: *** [python_service_client/tests/CMakeFiles/iothub_service_client_mock.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nTest project /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac\r\nNo tests were found!!!\r\n~/projects/azure-iot-sdk-python\r\ncopy iothub_client library to samples folder\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory\r\ncopy iothub_client_mock library to tests folder\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/test/iothub_client_mock.dylib: No such file or directory\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory\r\ncopy iothub_service_client library to samples folder\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory\r\ncopy iothub_service_client_mock library to tests folder\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/tests/iothub_service_client_mock.dylib: No such file or directory\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory\r\ncopy provisioning_device_client library to samples folder\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/provisioning_device_client_python/src/provisioning_device_client.dylib: No such file or directory\r\ncopy provisioning_device_client_mock library to tests folder\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/provisioning_device_client_python/tests/provisioning_device_client_mock.dylib: No such file or directory\r\ncp: /Users/<username>/projects/azure-iot-sdk-python/c/cmake/iotsdk_mac/provisioning_device_client_python/src/provisioning_device_client.dylib: No such file or directory\r\npython3.6 iothub_client_ut.py\r\nTraceback (most recent call last):\r\n  File \"iothub_client_ut.py\", line 9, in <module>\r\n    import iothub_client_mock\r\nModuleNotFoundError: No module named 'iothub_client_mock'\r\n\r\nI've seen similar issues where a user didn't clone using --recursive or didn't use git submodule update --init --recursive.  I've done both and neither work.\r\n\r\nThe sdk does build for python 2.7.\r\n\r\n# Code sample exhibiting the issue:\r\n<!-- Please remove any connection string information! -->\r\n\r\n# Console log of the issue:\r\n<!-- Consider setting the DEBUG environment variable to '*'. This will produce a much more verbose output that will help debugging -->\r\n<!-- Don't forget to remove any connection string information! -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-iot-sdk-python/issues/comments/367327702","html_url":"https://github.com/Azure/azure-iot-sdk-python/issues/120#issuecomment-367327702","issue_url":"https://api.github.com/repos/Azure/azure-iot-sdk-python/issues/120","id":367327702,"user":{"login":"Dorak5","id":10451504,"avatar_url":"https://avatars3.githubusercontent.com/u/10451504?v=4","gravatar_id":"","url":"https://api.github.com/users/Dorak5","html_url":"https://github.com/Dorak5","followers_url":"https://api.github.com/users/Dorak5/followers","following_url":"https://api.github.com/users/Dorak5/following{/other_user}","gists_url":"https://api.github.com/users/Dorak5/gists{/gist_id}","starred_url":"https://api.github.com/users/Dorak5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dorak5/subscriptions","organizations_url":"https://api.github.com/users/Dorak5/orgs","repos_url":"https://api.github.com/users/Dorak5/repos","events_url":"https://api.github.com/users/Dorak5/events{/privacy}","received_events_url":"https://api.github.com/users/Dorak5/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T13:36:49Z","updated_at":"2018-02-21T13:36:49Z","author_association":"NONE","body":"Hi @zolvarga \r\n\r\nI cloned the azure-iot-sdk-python repo again using the command:\r\ngit clone --recursive https://github.com/Azure/azure-iot-sdk-python.git\r\n\r\nWhile this was running I can see where its retrieving the submodules for c.  Once the clone was complete, I ran the command:\r\ngit submodule update --init --recursive\r\n\r\nHowever, I didn't see this command load any additional submodules.  I then ran the following commands:\r\nsh ./setup.sh --python-version 3.6\r\nsh ./build.sh --build-python 3.6\r\n\r\nUnfortunately, I still get the same error.\r\n\r\nHope this is helpful,\r\nMike D."}}
{"actor":{"display_login":"Dorak5"}}