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
The line: log.info("## {name} - {date}".format(name=event_name, date=event_date))
in otx_misp\init.py, line 230, causes ascii encoding errors for utf pulse names.
changing to: log.info("## {name} - {date}".format(name=event_name.encode('ascii', 'backslashreplace'), date=event_date))
or something similar will fix it
Versions
otx-misp: 1.4.2
PyMISP: 2.4.82
MISP: n/a
Python (Python 2 will not be supported): n/a
Operating system: n/a
Traceback or error
Cannot import pulse Hussarini ΓÇô Targeted Cyber Attack in the Philippines: 'ascii' codec can't encode character u'\u2013' in position 10: ordinal not in range(128)
ERROR [__init__.py:216 - create_events() ] Cannot import pulse Hussarini ΓÇô Targeted Cyber Attack in the Philippines: ' ascii' codec can't encode character u'\u2013' in position 10: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
Description
The line:
log.info("## {name} - {date}".format(name=event_name, date=event_date))
in otx_misp\init.py, line 230, causes ascii encoding errors for utf pulse names.
changing to:
log.info("## {name} - {date}".format(name=event_name.encode('ascii', 'backslashreplace'), date=event_date))
or something similar will fix it
Versions
Traceback or error
The text was updated successfully, but these errors were encountered: