[Setup] Buildout error: No module named download

Larry Pitcher unclelarry at inlandnet.com
Fri Sep 4 20:11:51 UTC 2009


Mirto Silvio Busico wrote:
> Hi all,
> today I have problems with plone 3.3 buildout modified for xdv.
> 
> The error is:
>  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.recipe.cmmi-1.3-py2.4.egg/zc/recipe/cmmi/__init__.py", 
> line 27, in ?
>    import zc.buildout.download
> ImportError: No module named download
> 
> Any hint?
> 
> Thanks
>    Mirto
> 
> 
> P.S. The complete log:
> 
> mirto at msb02:/usr/local/plotest/zinstance$ sudo bin/buildout -v
> Installing 'z3c.recipe.staticlxml'.                          Picked: 
> z3c.recipe.staticlxml = 0.7.1                        Getting required 
> 'zc.recipe.cmmi'                             required by 
> z3c.recipe.staticlxml 0.7.1.                   Picked: zc.recipe.cmmi = 
> 1.3                                 Getting required 
> 'zc.recipe.egg==1.2.2'                      We have the distribution 
> that satisfies 'zc.recipe.egg==1.2.2'.
> While:                                                        
>  Installing.                                                  Getting 
> section lxml.                                        Initializing 
> section lxml.                                   Loading zc.buildout 
> recipe entry z3c.recipe.staticlxml:default.
> 
> An internal error occured due to a bug in either zc.buildout or in a
> recipe being used:                                                 
> Traceback (most recent call last):                                  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.buildout-1.2.1-py2.4.egg/zc/buildout/buildout.py", 
> line 1509, in 
> main                                                                                                     
> 
>    getattr(buildout, command)(args)
>  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.buildout-1.2.1-py2.4.egg/zc/buildout/buildout.py", 
> line 357, in install
>    [self[part]['recipe'] for part in install_parts]
>  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.buildout-1.2.1-py2.4.egg/zc/buildout/buildout.py", 
> line 888, in __getitem__
>    options._initialize()
>  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.buildout-1.2.1-py2.4.egg/zc/buildout/buildout.py", 
> line 969, in _initialize
>    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
>  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.buildout-1.2.1-py2.4.egg/zc/buildout/buildout.py", 
> line 932, in _install_and_load
>    return pkg_resources.load_entry_point(
>  File 
> "/usr/local/plotest/buildout-cache/eggs/setuptools-0.6c9-py2.4.egg/pkg_resources.py", 
> line 277, in load_entry_point
>    return get_distribution(dist).load_entry_point(group, name)
>  File 
> "/usr/local/plotest/buildout-cache/eggs/setuptools-0.6c9-py2.4.egg/pkg_resources.py", 
> line 2180, in load_entry_point
>    return ep.load()
>  File 
> "/usr/local/plotest/buildout-cache/eggs/setuptools-0.6c9-py2.4.egg/pkg_resources.py", 
> line 1913, in load
>    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>  File 
> "/usr/local/plotest/buildout-cache/eggs/z3c.recipe.staticlxml-0.7.1-py2.4.egg/z3c/recipe/staticlxml/__init__.py", 
> line 16, in ?
>    import zc.recipe.cmmi
>  File 
> "/usr/local/plotest/buildout-cache/eggs/zc.recipe.cmmi-1.3-py2.4.egg/zc/recipe/cmmi/__init__.py", 
> line 27, in ?
>    import zc.buildout.download
> ImportError: No module named download
> mirto at msb02:/usr/local/plotest/zinstance
> 
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup

Mirto,

I had the same error. I pinned my cmmi recipe to the previous version 
and that fixed it for now.

HTH,

-- 
Larry Pitcher
Catapult Solutions

Web:    www.catapultsolutions.net
Email:  larry.pitcher at gmail.com
Skype:  larry.pitcher
Phone:  509.849.2660



More information about the Setup mailing list