You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: