Skip to content

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

@davbeny

Description

@davbeny

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions