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

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 11: ordinal not in range(128) #1

Open
davbeny opened this issue Sep 16, 2019 · 0 comments

Comments

@davbeny
Copy link

davbeny commented Sep 16, 2019

Hello,

Nice project! However I'm having issues on ubuntu 16.04.

When I execute the python script, I have this type of output:
ubuntu@ubuntu:~/Desktop/ZTP-master$ python ztp_configs.py
<open file 'ex3400_test.conf', mode 'w' at 0xb760e910>
Traceback (most recent call last):
File "ztp_configs.py", line 78, in
dhcpdconf.write(template2.render(data))
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "", line 14, in top-level template code
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 11: ordinal not in range(128)

Can you help?

Thank you

David

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

No branches or pull requests

1 participant