{"action":"created","issue":{"url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/126","repository_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem","labels_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/126/comments","events_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/126/events","html_url":"https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/126","id":149357404,"number":126,"title":"cross-compilation using windows-x86: WindowsError in random.py","user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-19T06:04:46Z","updated_at":"2016-12-24T10:52:49Z","closed_at":null,"body":"```\ndocker run -ti -v $SRC:/usr/pysrc:ro thewtex/cross-compiler-windows-x86 bash -c '\\\ncp /usr/pysrc/Python-2.7.11.tgz /usr/; \\\ncd /usr; tar -xzvf Python-2.7.11.tgz; \\\ncd Python-2.7.11; \\\npatch -p0 -i /usr/pysrc/cmake/patches-win32/01-dynload_win.patch; \\\npatch -p0 -i /usr/pysrc/cmake/patches-win32/02-signalmodule.patch; \\\npatch -p0 -i /usr/pysrc/cmake/patches-win32/03-mingw32.patch; \\\npatch -p0 -i /usr/pysrc/cmake/patches-win32/04-uninitialised-flags.patch; \\\nmkdir /usr/build; cd /usr/build; \\\ncmake -DBUILD_STATIC=0 -DBUILD_SHARED=1 -DENABLE_CTYPES=0 -DENABLE_SOCKET=0 -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE ../pysrc; \\\nmake -j4; \\\nctest -R; \\\nbash'\n```\n\n```\n1: Test command: /usr/bin/wine \"/usr/build/bin/python.exe\" \"-Wd\" \"-3\" \"-E\" \"-tt\" \"/usr/build/Lib/test/regrtest.py\" \"-l\" \"-v\" \"test_abc\"\n1: Test timeout computed to be: 1500\n1: Traceback (most recent call last):\n1:   File \"/usr/build/Lib/test/regrtest.py\", line 160, in <module>\n1:     import random\n1:   File \"Z:\\usr\\build\\Lib\\random.py\", line 885, in <module>\n1:     _inst = Random()\n1:   File \"Z:\\usr\\build\\Lib\\random.py\", line 97, in __init__\n1:     self.seed(x)\n1:   File \"Z:\\usr\\build\\Lib\\random.py\", line 113, in seed\n1:     a = long(_hexlify(_urandom(2500)), 16)\n1: WindowsError: [Error -2146893801] Windows Error 0x80090017\n1/1 Test #1: test_abc .........................***Failed    3.23 sec\n```\n"},"comment":{"url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/comments/269079465","html_url":"https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/126#issuecomment-269079465","issue_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/126","id":269079465,"user":{"login":"RdeWilde","id":184016,"avatar_url":"https://avatars.githubusercontent.com/u/184016?v=3","gravatar_id":"","url":"https://api.github.com/users/RdeWilde","html_url":"https://github.com/RdeWilde","followers_url":"https://api.github.com/users/RdeWilde/followers","following_url":"https://api.github.com/users/RdeWilde/following{/other_user}","gists_url":"https://api.github.com/users/RdeWilde/gists{/gist_id}","starred_url":"https://api.github.com/users/RdeWilde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RdeWilde/subscriptions","organizations_url":"https://api.github.com/users/RdeWilde/orgs","repos_url":"https://api.github.com/users/RdeWilde/repos","events_url":"https://api.github.com/users/RdeWilde/events{/privacy}","received_events_url":"https://api.github.com/users/RdeWilde/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T10:52:49Z","updated_at":"2016-12-24T10:52:49Z","body":"```\r\nTraceback (most recent call last):\r\nFile \"c:/Python27/Scripts/pywin32_postinstall.py\", line 9, in <module>\r\nimport tempfile\r\nFile \"C:\\Python27\\lib\\tempfile.py\", line 35, in <module>\r\nfrom random import Random as _Random\r\nFile \"C:\\Python27\\lib\\random.py\", line 885, in <module>\r\n_inst = Random()\r\nFile \"C:\\Python27\\lib\\random.py\", line 97, in __init__\r\nself.seed(x)\r\nFile \"C:\\Python27\\lib\\random.py\", line 113, in seed\r\na = long(_hexlify(_urandom(2500)), 16)\r\nWindowsError: [Error -2146893801] Windows Error 0x80090017\r\nfixme:msvcrt:__clean_type_info_names_internal (0x100ac698) stub\r\nfixme:msvcrt:__clean_type_info_names_internal (0x1e24d588) stub \r\n```\r\nShould I just update?"}}
{"actor":{"display_login":"RdeWilde"}}