Page MenuHomeVyOS Platform

Using a unicode character in the description field causes UnicodeDecodeError in
Open, NormalPublic


Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 273, in <module>
    c = get_config()
  File "/usr/libexec/vyos/conf_mode/", line 167, in get_config
    conf = Config()
  File "/usr/lib/python3/dist-packages/vyos/", line 84, in __init__
    self._config_source = ConfigSourceSession(session_env)
  File "/usr/lib/python3/dist-packages/vyos/", line 132, in __init__
    session_config_text = self._run([self._cli_shell_api, '--show-working-only', '--show-show-defaults', '--show-ignore-edit', 'showConfig'])
  File "/usr/lib/python3/dist-packages/vyos/", line 164, in _run
    return out.decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 82502: ordinal not in range(128)

Example character that causes this error: š


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)