{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1647","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1647/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1647/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1647/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1647","id":113859517,"number":1647,"title":"Onefile, windowed EXE fail to start","user":{"login":"AcidWeb","id":3713734,"avatar_url":"https://avatars.githubusercontent.com/u/3713734?v=3","gravatar_id":"","url":"https://api.github.com/users/AcidWeb","html_url":"https://github.com/AcidWeb","followers_url":"https://api.github.com/users/AcidWeb/followers","following_url":"https://api.github.com/users/AcidWeb/following{/other_user}","gists_url":"https://api.github.com/users/AcidWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/AcidWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AcidWeb/subscriptions","organizations_url":"https://api.github.com/users/AcidWeb/orgs","repos_url":"https://api.github.com/users/AcidWeb/repos","events_url":"https://api.github.com/users/AcidWeb/events{/privacy}","received_events_url":"https://api.github.com/users/AcidWeb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T16:18:43Z","updated_at":"2015-10-28T19:31:12Z","closed_at":null,"body":"**PyInstaller:** 3.1.dev0-8549670\r\n**Python:** 3.4.3 64bit + PyQT5 5.5.1\r\n**Platform:** Windows-10.0.10240\r\n\r\nWhen application is bundled with ``--onefile --windowed`` options it fail to start with error:\r\n``<script name> returned -1``\r\n\r\nWhen debug is on error appear after:\r\n``LOADER: Running <script name>.py``\r\n\r\n``--onedir`` output and ``--onefile --console`` work correctly.\r\n\r\nCan't replicate exactly what library combination cause this problem. Sometimes one application work after freezing but after another build with the same options - it start to crash. It look like some part of PyQT5 is culprit.\r\n\r\nThere is any way to display entire traceback when ``--onefile --windowed`` is enabled?\r\n\r\nProblem is not caused by UPX compression.\r\nLinux and OS X is not affected. "},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/151965228","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1647#issuecomment-151965228","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1647","id":151965228,"user":{"login":"AcidWeb","id":3713734,"avatar_url":"https://avatars.githubusercontent.com/u/3713734?v=3","gravatar_id":"","url":"https://api.github.com/users/AcidWeb","html_url":"https://github.com/AcidWeb","followers_url":"https://api.github.com/users/AcidWeb/followers","following_url":"https://api.github.com/users/AcidWeb/following{/other_user}","gists_url":"https://api.github.com/users/AcidWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/AcidWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AcidWeb/subscriptions","organizations_url":"https://api.github.com/users/AcidWeb/orgs","repos_url":"https://api.github.com/users/AcidWeb/repos","events_url":"https://api.github.com/users/AcidWeb/events{/privacy}","received_events_url":"https://api.github.com/users/AcidWeb/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T19:31:12Z","updated_at":"2015-10-28T19:31:12Z","body":"Crashes are caused by any usage of ``psutil.Popen``."}}