-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jan 28, 2009, at 2:25 PM, Patrick Ben Koetter wrote:
- Barry Warsaw <barry@list.org>:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks to help from the distutils sig, I believe I've solved the buildout problems that were discussed here a while back. By moving
the mailman source tree into an 'src' subdirectory, buildout now works regardless of whether you're sharing eggs via ~/.buildout/ default.cfg or not.Please give the current 3.0 bzr tree a try. If you want me to cut
a new release with the fixes I can do that too.Downloaded branch via bzr, built and ran test.
I am not sure what I should look for. Is that what you expect?
root@mailman:mailman# bin/test Running mailman.testing.layers.SMTPLayer tests: Set up mailman.testing.layers.ConfigLayer in 0.942 seconds. Set up mailman.testing.layers.SMTPLayer in 0.003 seconds. Ran 65 tests with 0 failures and 0 errors in 9.587 seconds. Running zope.testing.testrunner.layer.UnitTests tests: Tear down mailman.testing.layers.SMTPLayer in 0.002 seconds. Tear down mailman.testing.layers.ConfigLayer in 0.011 seconds. Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Error in test test_passwords
(mailman.tests.test_passwords.TestPBKDF2Passwords) Traceback (most recent call last): File "/usr/local/lib/python2.6/unittest.py", line 279, in run testMethod() File "/root/mailman/src/mailman/tests/test_passwords.py", line 51,
in test_passwords secret = passwords.make_secret(self.pw8a, self.scheme) File "/root/mailman/src/mailman/passwords.py", line 229, in
make_secret secret = scheme_class.make_secret(password) File "/root/mailman/src/mailman/passwords.py", line 166, in
make_secret digest = PBKDF2PasswordScheme._pbkdf2(password, salt, ITERATIONS) File "/root/mailman/src/mailman/passwords.py", line 149, in _pbkdf2 T = U = array(b'l', prf.digest()) ValueError: string length not a multiple of item sizeError in test test_passwords_with_funky_chars
(mailman.tests.test_passwords.TestPBKDF2Passwords) Traceback (most recent call last): File "/usr/local/lib/python2.6/unittest.py", line 279, in run testMethod() File "/root/mailman/src/mailman/tests/test_passwords.py", line 58,
in test_passwords_with_funky_chars secret = passwords.make_secret(self.pw8b, self.scheme) File "/root/mailman/src/mailman/passwords.py", line 229, in
make_secret secret = scheme_class.make_secret(password) File "/root/mailman/src/mailman/passwords.py", line 166, in
make_secret digest = PBKDF2PasswordScheme._pbkdf2(password, salt, ITERATIONS) File "/root/mailman/src/mailman/passwords.py", line 149, in _pbkdf2 T = U = array(b'l', prf.digest()) ValueError: string length not a multiple of item sizeError in test test_unicode_passwords_with_funky_chars
(mailman.tests.test_passwords.TestPBKDF2Passwords) Traceback (most recent call last): File "/usr/local/lib/python2.6/unittest.py", line 279, in run testMethod() File "/root/mailman/src/mailman/tests/test_passwords.py", line 65,
in test_unicode_passwords_with_funky_chars secret = passwords.make_secret(self.pwub, self.scheme) File "/root/mailman/src/mailman/passwords.py", line 229, in
make_secret secret = scheme_class.make_secret(password) File "/root/mailman/src/mailman/passwords.py", line 166, in
make_secret digest = PBKDF2PasswordScheme._pbkdf2(password, salt, ITERATIONS) File "/root/mailman/src/mailman/passwords.py", line 149, in _pbkdf2 T = U = array(b'l', prf.digest()) ValueError: string length not a multiple of item sizeRan 23 tests with 0 failures and 3 errors in 0.367 seconds. Tearing down left over layers: Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Total: 88 tests, 0 failures, 3 errors in 11.057 seconds.
Nope. I expect no failures! Can you tell me something about the
system you're running these tests on?
Barry
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAkmAssIACgkQ2YZpQepbvXHmKACgtCs6GO5a/kmfeR4E0HHQSKny KA4AoLukla53h4YsnZITTEjLGoiotqbX =LjSY -----END PGP SIGNATURE-----