[Bug 975668] [NEW] mailman.client conflicts with mailman installation

Richard Wackerbarth richard at nfsnet.org
Sat Apr 7 04:09:55 CEST 2012


Public bug reported:

If mailman.client is loaded as a separate module (as instructed), then
mailman cannot exist in the same environment because there are two
"mailman" modules to search.

I found this when I tried to generate sphinx documentation for mailman
after I had installed protorious.

To reproduce:

mkvirtualenv BUG
bzr branch lp:mailman.client
cd mailman.client/
python setup.py develop
easy_install sphinx
cd ..
bzr branch lp:mailman
cd mailman
python bootstrap.py
bin/buildout
python setup.py build_sphinx


Results in:

Running Sphinx v1.1.3
Traceback (most recent call last):
  File "setup.py", line 112, in <module>
    'zope.testing<4',
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Volumes/UserSpace/rkw/.virtualenvs/BUG/lib/python2.7/site-packages/Sphinx-1.1.3-py2.7.egg/sphinx/setup_command.py", line 140, in run
    freshenv=self.fresh_env)
  File "/Volumes/UserSpace/rkw/.virtualenvs/BUG/lib/python2.7/site-packages/Sphinx-1.1.3-py2.7.egg/sphinx/application.py", line 102, in __init__
    confoverrides or {}, self.tags)
  File "/Volumes/UserSpace/rkw/.virtualenvs/BUG/lib/python2.7/site-packages/Sphinx-1.1.3-py2.7.egg/sphinx/config.py", line 216, in __init__
    exec code in config
  File "/Volumes/UserSpace/rkw/.virtualenvs/BUG/mailman/conf.py", line 54, in <module>
    from mailman.version import VERSION
ImportError: No module named version

** Affects: mailman
     Importance: Undecided
         Status: New


** Tags: mailman3

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/975668

Title:
  mailman.client conflicts with mailman installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/975668/+subscriptions


More information about the Mailman-coders mailing list