mlsecproject / combine

Tool to gather Threat Intelligence indicators from publicly available sources
https://www.mlsecproject.org/
GNU General Public License v3.0
652 stars 179 forks source link

UnicodeDecodeError in winnower #104

Closed krmaxwell closed 9 years ago

krmaxwell commented 9 years ago

Traceback (most recent call last): File "winnower.py", line 184, in winnow('crop.json', 'crop.json', 'enriched.json') File "winnower.py", line 180, in winnow json.dump(enriched, f, indent=2) File "/usr/lib/python2.7/json/init.py", line 189, in dump for chunk in iterable: File "/usr/lib/python2.7/json/encoder.py", line 431, in _iterencode for chunk in _iterencode_list(o, _current_indent_level): File "/usr/lib/python2.7/json/encoder.py", line 332, in _iterencode_list for chunk in chunks: File "/usr/lib/python2.7/json/encoder.py", line 313, in _iterencode_list yield buf + _encoder(value) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 27: unexpected end of data

kirk-unicode

alexcpsec commented 9 years ago

Should we move this to Python 3 and get it over with?

krmaxwell commented 9 years ago

It's worth considering, although that certainly warrants more investigation and planning.

alexcpsec commented 9 years ago

This is a duplicate of #55 . I am closing the other one.

krmaxwell commented 9 years ago

oops, I thought that one was from another project, I even used the same reaction graphic!

alexcpsec commented 9 years ago

The projects may change, but the Unicode rage remains the same.

krmaxwell commented 9 years ago

rat-in-a-cage

alexcpsec commented 9 years ago

Fixed by #103