Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
文件不包含节标题。安装Plone 4.3_Plone_Buildout - Fatal编程技术网

文件不包含节标题。安装Plone 4.3

文件不包含节标题。安装Plone 4.3,plone,buildout,Plone,Buildout,我在互联网上寻找答案,但没找到 我使用的是Debian wheezy x86,使用的是已经安装的python2.7m zope2,我只是想通过buildout.cfg文件下载plone 4.3,但这是我的回溯: An internal error occurred due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/tmp/tmpvPVuPQ

我在互联网上寻找答案,但没找到

我使用的是Debian wheezy x86,使用的是已经安装的python2.7m zope2,我只是想通过buildout.cfg文件下载plone 4.3,但这是我的回溯:

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/tmp/tmpvPVuPQ/zc.buildout-2.2.1-py2.7.egg/zc/buildout/buildout.py", line 1941, in main
user_defaults, command, args)
File "/tmp/tmpvPVuPQ/zc.buildout-2.2.1-py2.7.egg/zc/buildout/buildout.py", line 221, in __init__
data['buildout'].copy(), override, set()))
File "/tmp/tmpvPVuPQ/zc.buildout-2.2.1-py2.7.egg/zc/buildout/buildout.py", line 1578, in _open
downloaded)
File "/tmp/tmpvPVuPQ/zc.buildout-2.2.1-py2.7.egg/zc/buildout/buildout.py", line 1558, in _open
result = zc.buildout.configparser.parse(fp, filename, _default_globals)
File "/tmp/tmpvPVuPQ/zc.buildout-2.2.1-py2.7.egg/zc/buildout/configparser.py", line 207, in parse
raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: http://dist.plone.org/release/4.3.1/, line: 1
'<html>\r\n'
有什么想法吗

提前谢谢

您必须使用http://dist.plone.org/release/4.3.1/versions.cfg

您错过了url末尾的/versions.cfg


http://dist.plone.org/release/4.3.1returns 只有一个目录列表,而不是cfg,您可以从中扩展构建配置

我也犯了同样的错误,但我使用的是Plone 4.2,这是由于下载了.zope.org网站而导致的

我解决了下载versions.cfg的问题

check URL on buildout.cfg

extends =
#     http://dist.plone.org/release/4.2/versions.cfg
     myLocalVersionsFile.cfg
并更改它的扩展部分

extends = http://dist.plone.org/versions/zopetoolkit-1-0-7-zopeapp-versions.cfg
          http://dist.plone.org/versions/zope-2-13-15-versions.cfg

#          http://download.zope.org/zopetoolkit/index/1.0.7/zopeapp-versions.cfg
#          http://download.zope.org/Zope2/index/2.13.15/versions.cfg

希望这个帮助

Awesome,在我读过的文档中没有指定,duh。。。谢谢你从哪里得到的信息?哪个文件?这应该是固定的!是的,我想是的,看这里:
check URL on buildout.cfg

extends =
#     http://dist.plone.org/release/4.2/versions.cfg
     myLocalVersionsFile.cfg
extends = http://dist.plone.org/versions/zopetoolkit-1-0-7-zopeapp-versions.cfg
          http://dist.plone.org/versions/zope-2-13-15-versions.cfg

#          http://download.zope.org/zopetoolkit/index/1.0.7/zopeapp-versions.cfg
#          http://download.zope.org/Zope2/index/2.13.15/versions.cfg