install step using buildout fails with os.path.walk error

Bug #1450469 reported by Billy Glynn
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GNU Mailman suite bundler
Undecided
Unassigned

Bug Description

(venv)[root@lists mailman-bundler-3.0.0]# buildout
Creating directory '/usr/local/src/mailman-bundler-3.0.0/bin'.
Creating directory '/usr/local/src/mailman-bundler-3.0.0/parts'.
Creating directory '/usr/local/src/mailman-bundler-3.0.0/eggs'.
Creating directory '/usr/local/src/mailman-bundler-3.0.0/develop-eggs'.
Develop: '/usr/local/src/mailman-bundler-3.0.0/.'
warning: no files found matching '*.in' under directory 'mailman_bundler'
warning: no files found matching '*.in' under directory 'deployment'
warning: no files found matching 'deployment/mailman-web.logrotate.conf'
Getting distribution for 'djangorecipe'.
Got djangorecipe 1.11.
Getting distribution for 'Django'.
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
Got Django 1.8.
Getting distribution for 'zc.recipe.egg>=2.0.0a3'.
Got zc.recipe.egg 2.0.1.
Getting distribution for 'collective.recipe.cmd'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got collective.recipe.cmd 0.10.
Getting distribution for 'z3c.recipe.filetemplate'.
Got z3c.recipe.filetemplate 2.2.0.
While:
  Installing.
  Getting section templates.
  Initializing section templates.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/usr/local/src/mailman-bundler-3.0.0/venv/lib/python3.4/site-packages/zc/buildout/buildout.py", line 1946, in main
    getattr(buildout, command)(args)
  File "/usr/local/src/mailman-bundler-3.0.0/venv/lib/python3.4/site-packages/zc/buildout/buildout.py", line 510, in install
    [self[part]['recipe'] for part in install_parts]
  File "/usr/local/src/mailman-bundler-3.0.0/venv/lib/python3.4/site-packages/zc/buildout/buildout.py", line 510, in <listcomp>
    [self[part]['recipe'] for part in install_parts]
  File "/usr/local/src/mailman-bundler-3.0.0/venv/lib/python3.4/site-packages/zc/buildout/buildout.py", line 1098, in __getitem__
    options._initialize()
  File "/usr/local/src/mailman-bundler-3.0.0/venv/lib/python3.4/site-packages/zc/buildout/buildout.py", line 1202, in _initialize
    self.initialize()
  File "/usr/local/src/mailman-bundler-3.0.0/venv/lib/python3.4/site-packages/zc/buildout/buildout.py", line 1211, in initialize
    self.recipe = recipe_class(buildout, name, self)
  File "/usr/local/src/mailman-bundler-3.0.0/eggs/z3c.recipe.filetemplate-2.2.0-py3.4.egg/z3c/recipe/filetemplate/__init__.py", line 145, in __init__
    os.path.walk(
AttributeError: 'module' object has no attribute 'walk'

Mark Sapiro (msapiro)
affects: mailman → mailman-bundler
Revision history for this message
Medha Ch (kmit-medhach) wrote :

I am facing the same issue. How do I solve it?

Revision history for this message
Mark Sapiro (msapiro) wrote :

This project has moved to <https://gitlab.com/mailman/mailman-bundler>. Please look there for the latest info and file an issue there if necessary.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers