certtools / intelmq-manager

IntelMQ Manager is a graphical interface to manage configurations for IntelMQ framework.
https://docs.intelmq.org/latest/user/manager/
102 stars 56 forks source link

Build fails on encoding in dynvar.mako #266

Closed ghost closed 3 years ago

ghost commented 3 years ago

Mako, called by setup.py fails on intelmq_manager/templates/dynvar.mako as it seems to be unable handling unicode and assumes ASCII:

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

Full log: https://github.com/certtools/intelmq-manager/runs/3255231184?check_suite_focus=true#step:3:1494

We can either set LANG or maybe it's possible to instruct mako using unicode. The latter would be my favourite approach.

A quick fix would be to replace ö by oe.

ghost commented 3 years ago

fixed by #270