{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/17227","labels_url":"https://api.github.com/repos/saltstack/salt/issues/17227/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/17227/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/17227/events","html_url":"https://github.com/saltstack/salt/issues/17227","id":47962120,"number":17227,"title":"During summary report UnicodeEncodeError: 'latin-1' codec can't encode","user":{"login":"GregMeno","id":290210,"avatar_url":"https://avatars.githubusercontent.com/u/290210?v=3","gravatar_id":"","url":"https://api.github.com/users/GregMeno","html_url":"https://github.com/GregMeno","followers_url":"https://api.github.com/users/GregMeno/followers","following_url":"https://api.github.com/users/GregMeno/following{/other_user}","gists_url":"https://api.github.com/users/GregMeno/gists{/gist_id}","starred_url":"https://api.github.com/users/GregMeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregMeno/subscriptions","organizations_url":"https://api.github.com/users/GregMeno/orgs","repos_url":"https://api.github.com/users/GregMeno/repos","events_url":"https://api.github.com/users/GregMeno/events{/privacy}","received_events_url":"https://api.github.com/users/GregMeno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Medium%20Severity","name":"Medium Severity","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"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":2368,"closed_issues":2160,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-16T22:22:32Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2014-11-06T13:33:09Z","updated_at":"2015-06-16T22:25:18Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n```\r\nsudo salt-call cmd.run 'echo \"Je peux manger du verre, ça ne me fait pas mal.\"'\r\n```\r\n\r\nor\r\n\r\n```\r\nsudo salt-call cmd.run 'echo \"私はガラスを食べられます。それは私を傷つけません。\"'\r\n\r\n[ERROR   ] An un-handled exception was caught by salt's global exception handler:\r\nUnicodeEncodeError: 'latin-1' codec can't encode characters in position 26798-26800: ordinal not in range(256)\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-call\", line 11, in <module>\r\n    salt_call()\r\n  File \"/usr/lib/pymodules/python2.7/salt/scripts.py\", line 82, in salt_call\r\n    client.run()\r\n  File \"/usr/lib/pymodules/python2.7/salt/cli/__init__.py\", line 319, in run\r\n    caller.run()\r\n  File \"/usr/lib/pymodules/python2.7/salt/cli/caller.py\", line 148, in run\r\n    self.opts)\r\n  File \"/usr/lib/pymodules/python2.7/salt/output/__init__.py\", line 49, in display_output\r\n    print(display_data)\r\nUnicodeEncodeError: 'latin-1' codec can't encode characters in position 26798-26800: ordinal not in range(256)\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-call\", line 11, in <module>\r\n    salt_call()\r\n  File \"/usr/lib/pymodules/python2.7/salt/scripts.py\", line 82, in salt_call\r\n    client.run()\r\n  File \"/usr/lib/pymodules/python2.7/salt/cli/__init__.py\", line 319, in run\r\n    caller.run()\r\n  File \"/usr/lib/pymodules/python2.7/salt/cli/caller.py\", line 148, in run\r\n    self.opts)\r\n  File \"/usr/lib/pymodules/python2.7/salt/output/__init__.py\", line 49, in display_output\r\n    print(display_data)\r\nUnicodeEncodeError: 'latin-1' codec can't encode characters in position 26798-26800: ordinal not in range(256)\r\nvagrant@precise64:~$ locale\r\nLANG=en_US.UTF-8\r\nLANGUAGE=\r\nLC_CTYPE=\"en_US\"\r\nLC_NUMERIC=\"en_US\"\r\nLC_TIME=\"en_US\"\r\nLC_COLLATE=\"en_US\"\r\nLC_MONETARY=\"en_US\"\r\nLC_MESSAGES=\"en_US\"\r\nLC_PAPER=\"en_US\"\r\nLC_NAME=\"en_US\"\r\nLC_ADDRESS=\"en_US\"\r\nLC_TELEPHONE=\"en_US\"\r\nLC_MEASUREMENT=\"en_US\"\r\nLC_IDENTIFICATION=\"en_US\"\r\nLC_ALL=en_US\r\n\r\nvagrant@precise64:~$ salt-call --version\r\nsalt-call 2014.1.13 (Hydrogen)\r\n```\r\nI downgraded to 2014.1.10 and it works fine. Seems like states that print unicode are causing a problem when salt tries to report the final state summary"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/112587887","html_url":"https://github.com/saltstack/salt/issues/17227#issuecomment-112587887","issue_url":"https://api.github.com/repos/saltstack/salt/issues/17227","id":112587887,"user":{"login":"ssgward","id":8439595,"avatar_url":"https://avatars.githubusercontent.com/u/8439595?v=3","gravatar_id":"","url":"https://api.github.com/users/ssgward","html_url":"https://github.com/ssgward","followers_url":"https://api.github.com/users/ssgward/followers","following_url":"https://api.github.com/users/ssgward/following{/other_user}","gists_url":"https://api.github.com/users/ssgward/gists{/gist_id}","starred_url":"https://api.github.com/users/ssgward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssgward/subscriptions","organizations_url":"https://api.github.com/users/ssgward/orgs","repos_url":"https://api.github.com/users/ssgward/repos","events_url":"https://api.github.com/users/ssgward/events{/privacy}","received_events_url":"https://api.github.com/users/ssgward/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T22:25:18Z","updated_at":"2015-06-16T22:25:18Z","body":"@GregMeno - Can this issue be closed or is there still an issue within salt?"}}