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

German "umlaut" causes "Unable to determine file type for..." #1339

Closed
phihos opened this issue Feb 11, 2021 · 1 comment
Closed

German "umlaut" causes "Unable to determine file type for..." #1339

phihos opened this issue Feb 11, 2021 · 1 comment
Labels

Comments

@phihos
Copy link
Contributor

phihos commented Feb 11, 2021

Summary

When a filename contains a German umlaut like äöü ansible-lint crashes with

Unable to determine file type for "playbook-with-umlaut-\303\274.yml"

Note that the ü in this case get escaped to \303\274.

Issue Type
  • Bug Report
Ansible and Ansible Lint details
ansible --version

ansible 2.9.13
  config file = ...
  configured module search path = ['...']
  ansible python module location = ...
  executable location = ...
  python version = 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]


ansible-lint --version

ansible-lint 5.0.0
  • ansible installation method: pip
  • ansible-lint installation method: pip
OS / ENVIRONMENT

Ubuntu 20.04

STEPS TO REPRODUCE

Create a playbook playbook-with-umlaut-ü.yml. Run ansible-lint.

Desired Behaviour

ansible-lint should not crash.

Actual Behaviour

ansible-lint crashes with:

Unable to determine file type for "playbook-with-umlaut-\303\274.yml"

(PR is already prepared and will be opened within the next 5 mins)

@phihos phihos added the bug label Feb 11, 2021
phihos added a commit to phihos/ansible-lint that referenced this issue Feb 11, 2021
phihos added a commit to phihos/ansible-lint that referenced this issue Feb 11, 2021
phihos added a commit to phihos/ansible-lint that referenced this issue Feb 11, 2021
phihos added a commit to phihos/ansible-lint that referenced this issue Feb 11, 2021
@ssbarnea
Copy link
Member

Closed by #1340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants