The crash is from backends\common\utils.py
Simulating from python command line: >>> import md5 >>> hash = md5.new() >>> passwd = u'\xe9' >>> print passwd é >>> print passwd[0] é >>> hash.update(passwd) Traceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 0: ordinal not in range(128)
But this works: >>> passwd="één" >>> hash.update(passwd) >>> print passwd één >>> print passwd[0]
>>> print passwd[1] � >>> print passwd[2]
>>> print passwd[3] � >>> print passwd[4] n
The crash is from backends\ common\ utils.py
Simulating from python command line:
>>> import md5
>>> hash = md5.new()
>>> passwd = u'\xe9'
>>> print passwd
é
>>> print passwd[0]
é
>>> hash.update(passwd)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 0: ordinal not in range(128)
But this works:
>>> passwd="één"
>>> hash.update(passwd)
>>> print passwd
één
>>> print passwd[0]
>>> print passwd[1]
�
>>> print passwd[2]
>>> print passwd[3]
�
>>> print passwd[4]
n