Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode decode error #15644

Closed
tse-tamir opened this issue Apr 28, 2016 · 4 comments
Closed

Unicode decode error #15644

tse-tamir opened this issue Apr 28, 2016 · 4 comments
Labels
bug This issue/PR relates to a bug.

Comments

@tse-tamir
Copy link

tse-tamir commented Apr 28, 2016

I got the following error when I execute ansible command from terminal. Can you please help me to solve this problem?

version: ansible 2.0.2.0

untitled

ISSUE TYPE
  • Bug Report
  • Feature Idea
  • Documentation Report
ANSIBLE VERSION
<!--- Paste verbatim output from “ansible --version” between quotes -->
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
<!--- Paste example playbooks or commands between quotes -->
EXPECTED RESULTS
ACTUAL RESULTS
<!--- Paste verbatim command output between quotes -->
@nitzmahone nitzmahone added bug_report needs_info This issue requires further information. Please answer any outstanding questions. labels Apr 28, 2016
@nitzmahone
Copy link
Member

@tse-tamir it looks like you might be running the playbook from a directory with non-ASCII characters (homedir with accented chars in username?). Just to help us narrow down the issue, can you try copying your playbooks to /tmp or another dir whose path is just straight ASCII, and see if you have the same behavior?

@tse-tamir
Copy link
Author

Thanks! It works!

@jimi-c jimi-c removed the needs_info This issue requires further information. Please answer any outstanding questions. label Apr 29, 2016
@nitzmahone
Copy link
Member

@tse-tamir Great! We'd like to figure out the root cause of the issue though so that we might be able to reproduce the issue and fix it- can you share your OS version, your username, and what OS language you're configured for?

Thanks!

@abadger
Copy link
Contributor

abadger commented Apr 30, 2016

Simple reproducer:

$ mkdir café
$ cd café
$ echo > 15644.yml  << EOF
---
- hosts: localhost
  tasks:
  - ping:
EOF
$ LC_ALL=C ansible-playbook 15644.yml

Now fixed with commit b8a988e in both devel and stable-2.1

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 7, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants