{"action":"created","issue":{"url":"https://api.github.com/repos/pleiszenburg/zugbruecke/issues/16","repository_url":"https://api.github.com/repos/pleiszenburg/zugbruecke","labels_url":"https://api.github.com/repos/pleiszenburg/zugbruecke/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pleiszenburg/zugbruecke/issues/16/comments","events_url":"https://api.github.com/repos/pleiszenburg/zugbruecke/issues/16/events","html_url":"https://github.com/pleiszenburg/zugbruecke/issues/16","id":244662368,"number":16,"title":"Behavior on MacOS is untested","user":{"login":"s-m-e","id":16851110,"avatar_url":"https://avatars0.githubusercontent.com/u/16851110?v=4","gravatar_id":"","url":"https://api.github.com/users/s-m-e","html_url":"https://github.com/s-m-e","followers_url":"https://api.github.com/users/s-m-e/followers","following_url":"https://api.github.com/users/s-m-e/following{/other_user}","gists_url":"https://api.github.com/users/s-m-e/gists{/gist_id}","starred_url":"https://api.github.com/users/s-m-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-m-e/subscriptions","organizations_url":"https://api.github.com/users/s-m-e/orgs","repos_url":"https://api.github.com/users/s-m-e/repos","events_url":"https://api.github.com/users/s-m-e/events{/privacy}","received_events_url":"https://api.github.com/users/s-m-e/received_events","type":"User","site_admin":false},"labels":[{"id":591504028,"url":"https://api.github.com/repos/pleiszenburg/zugbruecke/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true},{"id":652076711,"url":"https://api.github.com/repos/pleiszenburg/zugbruecke/labels/platform%20specific","name":"platform specific","color":"f9d0c4","default":false},{"id":652077030,"url":"https://api.github.com/repos/pleiszenburg/zugbruecke/labels/platform_macos","name":"platform_macos","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-07-21T13:02:48Z","updated_at":"2018-03-05T10:32:55Z","closed_at":null,"author_association":"OWNER","body":"Testers needed."},"comment":{"url":"https://api.github.com/repos/pleiszenburg/zugbruecke/issues/comments/370377143","html_url":"https://github.com/pleiszenburg/zugbruecke/issues/16#issuecomment-370377143","issue_url":"https://api.github.com/repos/pleiszenburg/zugbruecke/issues/16","id":370377143,"user":{"login":"jtlz2","id":3842318,"avatar_url":"https://avatars2.githubusercontent.com/u/3842318?v=4","gravatar_id":"","url":"https://api.github.com/users/jtlz2","html_url":"https://github.com/jtlz2","followers_url":"https://api.github.com/users/jtlz2/followers","following_url":"https://api.github.com/users/jtlz2/following{/other_user}","gists_url":"https://api.github.com/users/jtlz2/gists{/gist_id}","starred_url":"https://api.github.com/users/jtlz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtlz2/subscriptions","organizations_url":"https://api.github.com/users/jtlz2/orgs","repos_url":"https://api.github.com/users/jtlz2/repos","events_url":"https://api.github.com/users/jtlz2/events{/privacy}","received_events_url":"https://api.github.com/users/jtlz2/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T10:32:55Z","updated_at":"2018-03-05T10:32:55Z","author_association":"NONE","body":"@s-m-e Excellent - nice interface BTW.\r\n\r\nI think the problem was actually my over-cautious `sudo python3` rather than just `python3`:\r\n\r\n```\r\n$ python3\r\nPython 3.6.4 (default, Jan  6 2018, 11:51:59) \r\n[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import zugbruecke as ctypes\r\n(1520245696.80/d141a8ca) UNIX o: [session-client] STARTING (STAGE 1) ...\r\n(1520245696.80/d141a8ca) UNIX o: [session-client] Configured Wine-Python version is 3.5.3 for win32.\r\n(1520245696.80/d141a8ca) UNIX o: [session-client] Log socket port: 55025.\r\n(1520245696.80/d141a8ca) UNIX o: [session-client] STARTED (STAGE 1).\r\n>>> msvcrt = ctypes.cdll.LoadLibrary('C:\\\\windows\\\\system32\\\\msvcrt.dll')\r\n(1520245705.34/d141a8ca) UNIX o: [session-client] STARTING (STAGE 2) ...\r\n(1520245705.34/d141a8ca) UNIX o: [interpreter] STARTING ...\r\n(1520245705.34/d141a8ca) UNIX o: [interpreter] Command: wine /Users/jtlz2/.zugbruecke/win32-python3.5.3/python.exe /usr/local/lib/python3.6/site-packages/zugbruecke/_server_.py --id d141a8ca --port_socket_ctypes 55033 --port_socket_log_main 55025 --log_level 100 --logwrite 0\r\n(1520245705.35/d141a8ca) UNIX o: [interpreter] Started with PID 81611.\r\n(1520245705.35/d141a8ca) UNIX o: [interpreter] Logging threads started.\r\n(1520245705.35/d141a8ca) UNIX o: [interpreter] STARTED.\r\n(1520245705.35/d141a8ca) UNIX o: [session-client] ctypes client connecting ...\r\n(1520245707.90/d141a8ca) UNIX e: [P] 0009:fixme:msvcrt:_configure_wide_argv (1) stub\r\n(1520245707.90/d141a8ca) UNIX e: [P] 0009:fixme:msvcrt:_initialize_wide_environment stub\r\n(1520245708.51/d141a8ca) UNIX e: [P] 0009:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform\r\n(1520245708.52/d141a8ca) WINE o: [session-server] STARTING ...\r\n(1520245708.52/d141a8ca) WINE o: [mp-server] STARTING ...\r\n(1520245708.52/d141a8ca) WINE o: [mp-server] Log attached.\r\n(1520245708.52/d141a8ca) WINE o: [mp-server] STARTED.\r\n(1520245708.52/d141a8ca) WINE o: [session-server] ctypes server is listening on port 55033.\r\n(1520245708.52/d141a8ca) WINE o: [session-server] STARTED.\r\n(1520245708.52/d141a8ca) WINE o: [session-server] Serve forever ...\r\n(1520245708.55/d141a8ca) UNIX o: [session-client] ... connected (after 3.20 seconds & 28 attempts).\r\n(1520245708.55/d141a8ca) UNIX o: [session-client] STARTED (STAGE 2).\r\n(1520245708.55/d141a8ca) UNIX o: [session-client] Trying to access DLL \"C:\\windows\\system32\\msvcrt.dll\" of type \"cdll\" ...\r\n(1520245708.55/d141a8ca) WINE o: [session-server] Attaching to DLL file \"C:\\windows\\system32\\msvcrt.dll\" with calling convention \"cdll\" ...\r\n(1520245708.55/d141a8ca) WINE o: [session-server] ... done.\r\n(1520245708.55/d141a8ca) UNIX o: [session-client] ... touched and added to list.\r\n>>> \r\n```\r\n\r\nFor your second test, wine-python is calling python2:\r\n\r\n```\r\n$ wine-python\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/__init__.py\", line 131, in <module>\r\n    from ._wrapper_ import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/_wrapper_.py\", line 57, in <module>\r\n    from .core.session_client import session_client_class\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/session_client.py\", line 50, in <module>\r\n    from .wineenv import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/wineenv.py\", line 38, in <module>\r\n    import urllib.request\r\nImportError: No module named request\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/__init__.py\", line 131, in <module>\r\n    from ._wrapper_ import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/_wrapper_.py\", line 57, in <module>\r\n    from .core.session_client import session_client_class\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/session_client.py\", line 50, in <module>\r\n    from .wineenv import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/wineenv.py\", line 38, in <module>\r\n    import urllib.request\r\nImportError: No module named request\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/__init__.py\", line 131, in <module>\r\n    from ._wrapper_ import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/_wrapper_.py\", line 57, in <module>\r\n    from .core.session_client import session_client_class\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/session_client.py\", line 50, in <module>\r\n    from .wineenv import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/wineenv.py\", line 38, in <module>\r\n    import urllib.request\r\nImportError: No module named request\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/__init__.py\", line 131, in <module>\r\n    from ._wrapper_ import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/_wrapper_.py\", line 57, in <module>\r\n    from .core.session_client import session_client_class\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/session_client.py\", line 50, in <module>\r\n    from .wineenv import (\r\n  File \"/anaconda2/lib/python2.7/site-packages/zugbruecke/core/wineenv.py\", line 38, in <module>\r\n    import urllib.request\r\nImportError: No module named request\r\nwine: WINEARCH set to invalid value '', it must be either win32 or win64.\r\n```\r\n\r\nWhat's the best way to fix this? (I am loathe to abandon python2 for good :\\ )"}}
{"actor":{"display_login":"jtlz2"}}