fails if buildout already installed in Python environment

Bug #869342 reported by Stephen A. Goss
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Mailman

Bug Description

If zc.buildout is already installed (say it was pip installed) in Python environment, the script fails without reasonable explanation:

    $ python
    Traceback (most recent call last):
      File "", line 255, in <module>
        import zc.buildout.buildout
    ImportError: No module named zc.buildout.buildout

This is confusing because you can see that zc.buildout.buildout is available.

    $ python
    Python 2.6.5 (r265:79063, Jun 25 2011, 08:36:25)
    [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import zc.buildout.buildout

It turns out that if zc.buildout is already available, does not need to be run, but that is less than obvious to someone who is not intimately familiar with buildout.

Tags: mailman3
tags: added: mailman3
Barry Warsaw (barry)
Changed in mailman:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Barry Warsaw (barry) wrote :

We're not using zc.buildout any more.

Changed in mailman:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers