ZTP icon indicating copy to clipboard operation
ZTP copied to clipboard

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

Open davbeny opened this issue 5 years ago • 0 comments

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 "

Can you help?

Thank you

David

davbeny avatar Sep 16 '19 12:09 davbeny