{"action":"created","issue":{"url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/663","repository_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings","labels_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/663/comments","events_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/663/events","html_url":"https://github.com/ZoomerAnalytics/xlwings/issues/663","id":223842136,"number":663,"title":"xlwings compiled with py2exe Error 126","user":{"login":"norrrbit","id":2923073,"avatar_url":"https://avatars2.githubusercontent.com/u/2923073?v=3","gravatar_id":"","url":"https://api.github.com/users/norrrbit","html_url":"https://github.com/norrrbit","followers_url":"https://api.github.com/users/norrrbit/followers","following_url":"https://api.github.com/users/norrrbit/following{/other_user}","gists_url":"https://api.github.com/users/norrrbit/gists{/gist_id}","starred_url":"https://api.github.com/users/norrrbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norrrbit/subscriptions","organizations_url":"https://api.github.com/users/norrrbit/orgs","repos_url":"https://api.github.com/users/norrrbit/repos","events_url":"https://api.github.com/users/norrrbit/events{/privacy}","received_events_url":"https://api.github.com/users/norrrbit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-24T14:38:50Z","updated_at":"2017-04-27T10:57:01Z","closed_at":"2017-04-27T10:57:01Z","body":"Got this strange behaviour: after compiling my code with py2exe. When I run, it gives following error:\r\n\r\n```\r\nTraceback\r\n\r\n (most recent call last):\r\n  File \"WinMain.pyw\", line 321, in w525\r\n    wb=x.Book()\r\n  File \"xlwings\\main.pyc\", line 488, in __init__\r\n  File \"xlwings\\main.pyc\", line 358, in books\r\n  File \"xlwings\\_xlwindows.pyc\", line 374, in books\r\n  File \"xlwings\\_xlwindows.pyc\", line 302, in xl\r\n  File \"xlwings\\_xlwindows.pyc\", line 219, in get_xl_app_from_hwnd\r\n  File \"xlwings\\_xlwindows.pyc\", line 194, in comtypes_to_pywin\r\n  File \"ctypes\\__init__.pyc\", line 362, in __init__\r\nWindowsError: [Error 126]\r\n\r\n```\r\n\r\n\r\nBut this happens only when **Excel is already running**!\r\n\r\nEverything is OK when wichever:\r\na. Excel is not running yet\r\nb. I run my code from python interpreter directly\r\nc. I use older xlwings (don't remember version :-( )\r\n\r\nUsing xlwings 0.10.4, python 2.7.13 (or 2.7.6) 32-bit\r\n"},"comment":{"url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/comments/297681665","html_url":"https://github.com/ZoomerAnalytics/xlwings/issues/663#issuecomment-297681665","issue_url":"https://api.github.com/repos/ZoomerAnalytics/xlwings/issues/663","id":297681665,"user":{"login":"norrrbit","id":2923073,"avatar_url":"https://avatars2.githubusercontent.com/u/2923073?v=3","gravatar_id":"","url":"https://api.github.com/users/norrrbit","html_url":"https://github.com/norrrbit","followers_url":"https://api.github.com/users/norrrbit/followers","following_url":"https://api.github.com/users/norrrbit/following{/other_user}","gists_url":"https://api.github.com/users/norrrbit/gists{/gist_id}","starred_url":"https://api.github.com/users/norrrbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norrrbit/subscriptions","organizations_url":"https://api.github.com/users/norrrbit/orgs","repos_url":"https://api.github.com/users/norrrbit/repos","events_url":"https://api.github.com/users/norrrbit/events{/privacy}","received_events_url":"https://api.github.com/users/norrrbit/received_events","type":"User","site_admin":false},"created_at":"2017-04-27T10:57:01Z","updated_at":"2017-04-27T10:57:01Z","body":"OK. Thanks for xlwings anyway!"}}
{"actor":{"display_login":"norrrbit"}}