{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/luigi/issues/1360","labels_url":"https://api.github.com/repos/spotify/luigi/issues/1360/labels{/name}","comments_url":"https://api.github.com/repos/spotify/luigi/issues/1360/comments","events_url":"https://api.github.com/repos/spotify/luigi/issues/1360/events","html_url":"https://github.com/spotify/luigi/issues/1360","id":113958906,"number":1360,"title":"PR  #1137 yields SIGUSR1 AttributeError on Windows","user":{"login":"danielsack","id":4267369,"avatar_url":"https://avatars.githubusercontent.com/u/4267369?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsack","html_url":"https://github.com/danielsack","followers_url":"https://api.github.com/users/danielsack/followers","following_url":"https://api.github.com/users/danielsack/following{/other_user}","gists_url":"https://api.github.com/users/danielsack/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsack/subscriptions","organizations_url":"https://api.github.com/users/danielsack/orgs","repos_url":"https://api.github.com/users/danielsack/repos","events_url":"https://api.github.com/users/danielsack/events{/privacy}","received_events_url":"https://api.github.com/users/danielsack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-29T01:15:48Z","updated_at":"2015-10-29T01:24:30Z","closed_at":null,"body":"PR #1137 put in place `signal.SIGUSR1` which breaks luigi on Windows machines. Replacing all instances of `SIGUSR1` with `SIGTERM` appears to fix the issue.\r\n\r\nSpecifically, the error generated:\r\n```\r\n(env) PS C:\\Users\\...> python .\\hello_world.py\r\npython : 'ps' is not recognized as an internal or external command,\r\nAt line:1 char:1\r\n+ python .\\hello_world.py\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: ('ps' is not rec...ternal command,:String) [], RemoteException\r\n    + FullyQualifiedErrorId : NativeCommandError\r\n \r\noperable program or batch file.\r\nTraceback (most recent call last):\r\n  File \".\\hello_world.py\", line 12, in <module>\r\n    luigi.run(['examples.HelloWorldTask', '--workers', '1', '--local-scheduler'])\r\n  File \"C:\\Users\\...\\env\\lib\\site-packages\\luigi\\interface.py\", line 207, in run\r\n    return _run(*args, **kwargs)['success']\r\n  File \"C:\\Users\\...\\env\\lib\\site-packages\\luigi\\interface.py\", line 235, in _run\r\n    return _schedule_and_run([cp.get_task_obj()], worker_scheduler_factory)\r\n  File \"C:\\Users\\...\\env\\lib\\site-packages\\luigi\\interface.py\", line 185, in _schedule_and_run\r\n    scheduler=sch, worker_processes=env_params.workers, assistant=env_params.assistant)\r\n  File \"C:\\Users\\...\\env\\lib\\site-packages\\luigi\\interface.py\", line 138, in create_worker\r\n    scheduler=scheduler, worker_processes=worker_processes, assistant=assistant)\r\n  File \"C:\\Users\\...\\env\\lib\\site-packages\\luigi\\worker.py\", line 370, in __init__\r\n    signal.signal(signal.SIGUSR1, self.handle_interrupt)\r\nAttributeError: 'module' object has no attribute 'SIGUSR1'\r\n```"},"comment":{"url":"https://api.github.com/repos/spotify/luigi/issues/comments/152046958","html_url":"https://github.com/spotify/luigi/issues/1360#issuecomment-152046958","issue_url":"https://api.github.com/repos/spotify/luigi/issues/1360","id":152046958,"user":{"login":"erikbern","id":1027979,"avatar_url":"https://avatars.githubusercontent.com/u/1027979?v=3","gravatar_id":"","url":"https://api.github.com/users/erikbern","html_url":"https://github.com/erikbern","followers_url":"https://api.github.com/users/erikbern/followers","following_url":"https://api.github.com/users/erikbern/following{/other_user}","gists_url":"https://api.github.com/users/erikbern/gists{/gist_id}","starred_url":"https://api.github.com/users/erikbern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikbern/subscriptions","organizations_url":"https://api.github.com/users/erikbern/orgs","repos_url":"https://api.github.com/users/erikbern/repos","events_url":"https://api.github.com/users/erikbern/events{/privacy}","received_events_url":"https://api.github.com/users/erikbern/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T01:24:30Z","updated_at":"2015-10-29T01:24:30Z","body":"@daveFNbuck you added the SIGUSR1 signal in 3800a986 – any issues changing it to SIGTERM?"}}