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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: