{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/36733","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/36733/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/36733/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/36733/events","html_url":"https://github.com/saltstack/salt/issues/36733","id":180443978,"number":36733,"title":"Windows Client: system enviroment variable PYTHONPATH causes importing wrong module","user":{"login":"thuhak","id":3191598,"avatar_url":"https://avatars.githubusercontent.com/u/3191598?v=3","gravatar_id":"","url":"https://api.github.com/users/thuhak","html_url":"https://github.com/thuhak","followers_url":"https://api.github.com/users/thuhak/followers","following_url":"https://api.github.com/users/thuhak/following{/other_user}","gists_url":"https://api.github.com/users/thuhak/gists{/gist_id}","starred_url":"https://api.github.com/users/thuhak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thuhak/subscriptions","organizations_url":"https://api.github.com/users/thuhak/orgs","repos_url":"https://api.github.com/users/thuhak/repos","events_url":"https://api.github.com/users/thuhak/events{/privacy}","received_events_url":"https://api.github.com/users/thuhak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Question","name":"Question","color":"942192"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3199,"closed_issues":4056,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-10-03T19:26:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-10-01T07:37:34Z","updated_at":"2016-10-03T20:15:58Z","closed_at":null,"body":"We have an another python application which using  PYTHONPATH as system environment variable.\r\nin this case,i have to fix nssm envrionment setting,and other .bat scripts.\r\nCan that be improved?\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/251213915","html_url":"https://github.com/saltstack/salt/issues/36733#issuecomment-251213915","issue_url":"https://api.github.com/repos/saltstack/salt/issues/36733","id":251213915,"user":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T20:15:58Z","updated_at":"2016-10-03T20:15:58Z","body":"@Ch3LL We could add PYTHONPATH to the AppEnvironment for the service as well as edit the .bat files to set the value... @thuhak What edit's have you made? Are you setting `PYTHONPATH=C:\\salt\\bin`?"}}
{"actor":{"display_login":"twangboy"}}