[Mailman-Developers] buildout problems solved

Patrick Ben Koetter p at state-of-mind.de
Wed Jan 28 20:25:22 CET 2009


* Barry Warsaw <barry at 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 at 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 size



Error 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 size



Error 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 size

  Ran 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.



p at rick


-- 
state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick Koetter            Tel: 089 45227227
Echinger Strasse 3         Fax: 089 45227226
85386 Eching               Web: http://www.state-of-mind.de

Amtsgericht München        Partnerschaftsregister PR 563
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20090128/2d608cfc/attachment.pgp>


More information about the Mailman-Developers mailing list