← Back to team overview

launchpad-dev team mailing list archive

No module named mailman.monkeypatches.defaults

 

Both John and I have seen this recently:

mbp@lp-lucid% ./bin/test -t bugs-emailinterface
Test-module import failures:

Module: lp.services.mailman.tests.test_mailman

Traceback (most recent call last):
  File "/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
    module = original_import(name, globals, locals, fromlist, level)
  File "/home/mbp/launchpad/lp-branches/work/lib/lp/services/mailman/tests/test_mailman.py",
line 12, in <module>
    from Mailman.MailList import MailList
  File "/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
    module = original_import(name, globals, locals, fromlist, level)
  File "/home/mbp/launchpad/lp-branches/work/lib/mailman/Mailman/MailList.py",
line 44, in <module>
    from Mailman import mm_cfg
  File "/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
    module = original_import(name, globals, locals, fromlist, level)
  File "/home/mbp/launchpad/lp-branches/work/lib/mailman/Mailman/mm_cfg.py",
line 20, in <module>
    from canonical.launchpad.mailman.monkeypatches.defaults import *
  File "/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
    module = original_import(name, globals, locals, fromlist, level)
ImportError: No module named mailman.monkeypatches.defaults


Does anyone understand it?

-- 
Martin



Follow ups