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

Python 2.7: Glusto.run ascii codec error #36

Open
loadtheaccumulator opened this issue Jul 19, 2019 · 3 comments
Open

Python 2.7: Glusto.run ascii codec error #36

loadtheaccumulator opened this issue Jul 19, 2019 · 3 comments
Assignees
Labels

Comments

@loadtheaccumulator
Copy link
Owner

User getting...
'ascii' codec can't decode byte 0xe2 in position 71800: ordinal not in range(128)
... error when running Glusto.run() against a remote ansible-playbook command.

@loadtheaccumulator
Copy link
Owner Author

loadtheaccumulator commented Jul 19, 2019

Stacktrace points to logging code and not the underlying SSH routines...

        if stdout:
            cls.log.log(level, cls.colorfy(cls.COLOR_STDOUT,
                                           "STDOUT (%s)...\n%s" %
>                                          (identifier, stdout)))
E           UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 71800: ordinal not in range(128)

@loadtheaccumulator
Copy link
Owner Author

Updating Python27 master branch with tox updates before applying this patch.

@loadtheaccumulator loadtheaccumulator self-assigned this Jul 19, 2019
@loadtheaccumulator
Copy link
Owner Author

Having to force similar errors to approximate original issue.
Test branch for downstream testing is unicode_fix1

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

1 participant