{"action":"created","issue":{"url":"https://api.github.com/repos/Ultimaker/cura-build/issues/176","repository_url":"https://api.github.com/repos/Ultimaker/cura-build","labels_url":"https://api.github.com/repos/Ultimaker/cura-build/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/Ultimaker/cura-build/issues/176/comments","events_url":"https://api.github.com/repos/Ultimaker/cura-build/issues/176/events","html_url":"https://github.com/Ultimaker/cura-build/issues/176","id":308778399,"number":176,"title":"At 98% packaging step cx_Freezer looking in the wrong place","user":{"login":"kirilledelman","id":6539713,"avatar_url":"https://avatars1.githubusercontent.com/u/6539713?v=4","gravatar_id":"","url":"https://api.github.com/users/kirilledelman","html_url":"https://github.com/kirilledelman","followers_url":"https://api.github.com/users/kirilledelman/followers","following_url":"https://api.github.com/users/kirilledelman/following{/other_user}","gists_url":"https://api.github.com/users/kirilledelman/gists{/gist_id}","starred_url":"https://api.github.com/users/kirilledelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirilledelman/subscriptions","organizations_url":"https://api.github.com/users/kirilledelman/orgs","repos_url":"https://api.github.com/users/kirilledelman/repos","events_url":"https://api.github.com/users/kirilledelman/events{/privacy}","received_events_url":"https://api.github.com/users/kirilledelman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T00:16:38Z","updated_at":"2018-04-20T09:16:13Z","closed_at":null,"author_association":"NONE","body":"Hi I keep trying to compile Cura, maybe I'll be able to one day!\r\n\r\nSo close:\r\n```\r\n[ 90%] Completed 'cura-binary-data'\r\n[ 96%] Built target cura-binary-data\r\n[ 96%] Built target projects\r\n[ 98%] Packaging Projects...\r\nrunning bdist_mac\r\nrunning build\r\nrunning build_exe\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 80, in <module>\r\n    executables = executables\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/site-packages/cx_Freeze/dist.py\", line 349, in setup\r\n    distutils.core.setup(**attrs)\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/core.py\", line 148, in setup\r\n    dist.run_commands()\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/dist.py\", line 955, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/dist.py\", line 974, in run_command\r\n    cmd_obj.run()\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/site-packages/cx_Freeze/macdist.py\", line 232, in run\r\n    self.run_command('build')\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/cmd.py\", line 313, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/dist.py\", line 974, in run_command\r\n    cmd_obj.run()\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/command/build.py\", line 135, in run\r\n    self.run_command(cmd_name)\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/cmd.py\", line 313, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/distutils/dist.py\", line 974, in run_command\r\n    cmd_obj.run()\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/site-packages/cx_Freeze/dist.py\", line 218, in run\r\n    zipExcludePackages = self.zip_exclude_packages)\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/site-packages/cx_Freeze/freezer.py\", line 150, in __init__\r\n    self._VerifyConfiguration()\r\n  File \"/Users/kirilledelman/.pyenv/versions/3.6.4/lib/python3.6/site-packages/cx_Freeze/freezer.py\", line 470, in _VerifyConfiguration\r\n    sourceFileName)\r\ncx_Freeze.freezer.ConfigError: cannot find file/directory named /Users/kirilledelman/cura-build/build/inst/lib/python3.5/site-packages/UM/Qt/qml/UM\r\nmake[2]: *** [packaging] Error 1\r\nmake[1]: *** [CMakeFiles/packaging.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\nI noticed that `inst/lib/` actually contains `python3.6`, and this path is valid: `/Users/kirilledelman/cura-build/build/inst/lib/python3.6/site-packages/UM/Qt/qml/UM`, but for some reason looks like cx_Freeze is looking for python3.5\r\n\r\nAny clues?"},"comment":{"url":"https://api.github.com/repos/Ultimaker/cura-build/issues/comments/383037352","html_url":"https://github.com/Ultimaker/cura-build/issues/176#issuecomment-383037352","issue_url":"https://api.github.com/repos/Ultimaker/cura-build/issues/176","id":383037352,"user":{"login":"Ghostkeeper","id":2448634,"avatar_url":"https://avatars1.githubusercontent.com/u/2448634?v=4","gravatar_id":"","url":"https://api.github.com/users/Ghostkeeper","html_url":"https://github.com/Ghostkeeper","followers_url":"https://api.github.com/users/Ghostkeeper/followers","following_url":"https://api.github.com/users/Ghostkeeper/following{/other_user}","gists_url":"https://api.github.com/users/Ghostkeeper/gists{/gist_id}","starred_url":"https://api.github.com/users/Ghostkeeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ghostkeeper/subscriptions","organizations_url":"https://api.github.com/users/Ghostkeeper/orgs","repos_url":"https://api.github.com/users/Ghostkeeper/repos","events_url":"https://api.github.com/users/Ghostkeeper/events{/privacy}","received_events_url":"https://api.github.com/users/Ghostkeeper/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T09:16:13Z","updated_at":"2018-04-20T09:16:13Z","author_association":"OWNER","body":"Maybe you could try changing these lines to search for Python 3.6:\r\n\r\n* https://github.com/Ultimaker/cura-build/blob/3a0d7d4382c4b2e5e1c8b978c2fd8dbde9ffe6b2/projects/Uranium.cmake#L1\r\n* https://github.com/Ultimaker/cura-build/blob/6f1d1856a1275b2adad62a9b94dcf937a5551909/projects/libCharon.cmake#L1\r\n\r\nPythonInterp's CMake find package should find the newest version it can find though..."}}
{"actor":{"display_login":"Ghostkeeper"}}