我正在努力学习如何为Plone 5开发插件.为了做到这一点,我坚持Plone 5训练(https://training.plone.org).
我按照训练的建议安装了一个带有plone的Vagrant/Virtualbox机器,但是当我尝试运行buildout时,我总是得到这个错误
vagrant@training:/vagrant/plonetheme.tango$ ./bin/buildout
Develop: '/vagrant/plonetheme.tango/.'
Updating _mr.developer.
Installing instance.
/home/vagrant/buildout-cache/eggs/setuptools-20.7.0-py2.7.egg/pkg_resources/__init__.py:187: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
stacklevel=1, …Run Code Online (Sandbox Code Playgroud) 最近我一直试图通过我的buildout.cfg的egg部分添加有用的插件来自定义我的Plone,运行buildout并重新启动zeocluster plonectl restart.我以这种方式成功安装了几个插件.但有些人阻止了Plone的工作.例如尝试添加plone.app.ldap:buildout工作正常,并且服务器的重新启动最初工作,但是当在浏览器中访问Plone时它没有加载并plonectl status告诉我我的两个客户端已经失去了与zeoserver的连接.事件日志讲述了同样的故事,但除此之外我没有看到哪个错误导致了问题.当我删除插件时,一切正常.
我处理插件的方式是否正确?我错过了什么?哪里可以找到崩溃我的zeocluster的其他信息?