forked from MarketSquare/DbBot
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Encoding issue due to binary characters in log.
File "/nfs/home/$USER/.local/lib/python2.7/site-packages/dbbot/reader/robot_results_parser.py", line 228, in _string_hash
return sha1(string.encode()).hexdigest() if string else None
UnicodeEncodeError: 'ascii' codec can't encode characters in position 711-712: ordinal not in range(128)
Solved using
return sha1(string.encode('utf-8')).hexdigest() if string else None
at line 227 of robot_results_parser.py
Metadata
Metadata
Assignees
Labels
No labels