2015-07-14 1 views
2

J'essaie d'installer Plumi 4.5.1 qui est basé sur Plone.ImportError: Point d'entrée ('zc.buildout', 'default') introuvable

système cible est un 3.16.0-4-amd64 # 1 SMP Debian 3.16.7-ckt11-1 (24/05/2015) x86_64 (Debian GNU/Linux 8)

que je suis ce Guide:

https://mgogoulos.trinket.io/plumi-4-5#/installation/installation

et après avoir fait toutes les étapes préalables avec succès, je reçois cette erreur lors de l'exécution buildout:

[..]

We have the distribution that satisfies 'py==1.3.4'. 
Getting required 'pyasn1' 
    required by collective.transcode.daemon 0.12. 
We have the best distribution that satisfies 'pyasn1'. 
Picked: pyasn1 = 0.1.8 
Getting required 'Twisted' 
    required by collective.transcode.daemon 0.12. 
We have the best distribution that satisfies 'Twisted'. 
Picked: Twisted = 15.2.1 
Getting required 'pycrypto==2.4.1' 
We have the distribution that satisfies 'pycrypto==2.4.1'. 
Installing 'plone.recipe.varnish'. 
We have the best distribution that satisfies 'plone.recipe.varnish'. 
Picked: plone.recipe.varnish = 2.0a1 
Getting required 'jinja2>=2.7.3' 
    required by plone.recipe.varnish 2.0a1. 
We have the best distribution that satisfies 'jinja2>=2.7.3'. 
Picked: Jinja2 = 2.7.3 
Getting required 'markupsafe' 
    required by Jinja2 2.7.3. 
We have the best distribution that satisfies 'markupsafe'. 
Picked: MarkupSafe = 0.23 
While: 
    Installing. 
    Getting section cache. 
    Initializing section cache. 
    Loading zc.buildout recipe entry plone.recipe.varnish: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 "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main 
    getattr(buildout, command)(args) 
    File "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 439, in install 
    [self[part]['recipe'] for part in install_parts] 
    File "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 987, in __getitem__ 
    options._initialize() 
    File "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1071, in _initialize 
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout) 
    File "/home/plumi/PLUMI/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1032, in _install_and_load 
    req.project_name, group, entry) 
    File "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.27-py2.7.egg/pkg_resources.py", line 337, in load_entry_point 
    return get_distribution(dist).load_entry_point(group, name) 
    File "/home/plumi/PLUMI/plumi.app/eggs/distribute-0.6.27-py2.7.egg/pkg_resources.py", line 2306, in load_entry_point 
    raise ImportError("Entry point %r not found" % ((group,name),)) 
ImportError: Entry point ('zc.buildout', 'default') not found 
********************************************* 
Overwriting versions.cfg 
********************************************* 

Y at-il quelque chose que je peux faire ou vérifier?

Je n'ai rien touché dans la configuration du buildout donc tout est "par défaut".

Répondre

2

Je résolu ce problème en ajoutant ce qui suit:

zc.buildout = 1.7.1 
distribute = 0.6.35 

Dans la section:

[versions] 

du fichier fichier buildout.cfg du dossier de déploiement Plumi/Plone.