What steps will reproduce the problem?
1. Go to
http://commondatastorage.googleapis.com/naclports/builds/pepper_40/trunk-154-gea
cd680/publish/python/glibc/index.html
2. Enter "import hashlib"
What is the expected output?
None (module should load silently).
What do you see instead?
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/lib/python2.7/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Note that the module still loads (despite the exceptions above).
What version of the product are you using? On what operating system?
naclports trunk-154-geacd680, Pepper 40, Chrome 39 (64-bit)
Please provide any additional information below.
This issue does *not* occur on either the newlib or pnacl implementation
(http://commondatastorage.googleapis.com/naclports/builds/pepper_40/trunk-154-ge
acd680/publish/python/newlib/index.html and
http://commondatastorage.googleapis.com/naclports/builds/pepper_40/trunk-154-gea
cd680/publish/python/pnacl/index.html).
Original issue reported on code.google.com by petrcer...@chromium.org on 18 Dec 2014 at 5:51
Original issue reported on code.google.com by
petrcer...@chromium.org
on 18 Dec 2014 at 5:51